Introduction to AWS Cloud Computing: From Zero to Cloud
Understanding Amazon Web Services and its key services
Cloud computing is now a key technology in today’s society. It is used for a number of purposes, for example web portals, photo libraries and even Artificial Intelligence.
Whilst initially investigating Cloud Computing I wanted to know:
What is Cloud Computing?
Why would a business use AWS?
What are EC2, S3, IAM, VPC, Lambda and RDS?
How do these services integrate?
Within this article I will explain Cloud Computing and then introduce and describe some key cloud computing services, specifically those available via Amazon Web Services.
- What is Cloud Computing?
Cloud computing enables users to access servers, data, databases, networks and software via the internet.
Rather than buying and managing physical servers, companies can utlize cloud services, accessing them as and when they require.
Example
If you wanted to develop an online retail portal then, without cloud computing, you may have to:
- Buy physical servers.
- Establish a network.
- Manage hardware.
- Administer data.
- Manage servers.
However, you can take advantage of AWS. This means that you do not need to own any physical equipment and can utilize AWS in order to provision servers, manage data and administer a web application.
Simply, Cloud Computing involves accessing computer services and facilities via an internet connection – rather than managing them yourself.
- What is AWS?
Amazon Web Services (AWS) is a cloud computing solution, offered by Amazon.
It has numerous cloud-based services which can be utilized by people, start-ups and businesses to develop, deploy and administer cloud applications.
Popular AWS services include:
Amazon EC2 (virtual servers)
Amazon S3 (data storage)
AWS IAM (identity and access)
Amazon VPC (virtual network)
AWS Lambda (serverless)
Amazon RDS (relational database)
3. Explaining AWS Key Services
Below I explain and illustrate with examples, six key AWS services.
1. Amazon EC2 (Elastic Compute Cloud)
This service enables a user to utilze cloud virtual servers.
Should you wish to develop and then provide a Python based web-based application for people, you can provision an EC2 server, and then add Python and any relevant packages. Following this, you can deploy your web application.
Think of this service as a remotely accessed and managed cloud computer.
Typical applications for EC2 include:
- Web portals
- Application deployment
- Development and testing
- Back-end processes
*2. Amazon S3 (Simple Storage Service)
*
Amazon S3 is a data storage facility.
If you were to develop an online retail application, for example, then you may need to store data such as product images, as well as supporting documentation, film and backup data.
Such data can be placed into ‘buckets’ using Amazon S3.
Think of Amazon S3 as a secure, online data storage environment.
Common applications for Amazon S3 are:
- Image and video data storage
- Static web content
- Data back-up
- Analysis data storage
3. AWS IAM (Identity and Access)
AWS IAM is used to govern users, groups and roles, and regulate authorization levels within AWS.
For example, if you are part of a software development team, then differing team members may require different access privileges – one member may require access to EC2, whereas another may need access to S3.
AWS IAM can therefore be utilized to determine who is allowed to access particular AWS services, and what operations they can undertake.
Consider AWS IAM as the security system within an office which allows staff to only enter rooms for which they have authorization.
Common applications for AWS IAM are:
- User administration
- Authorization regulation
- Role creation
- Enhancing cloud security
- Amazon VPC (Virtual Private Cloud)
Amazon VPC enables the user to define a dedicated virtual network within AWS.
To illustrate, if you were to develop a web portal for a bank then you may wish to ensure that your database is kept confidential. However, you would still like to provide your website so that customers can access this.
Within AWS, you can establish both public and private sub-networks. Further, you can define routing tables and network security settings.
Consider Amazon VPC as your personal virtual network, hosted within the AWS cloud environment.
Common applications for Amazon VPC are:
Network segregation
Public and private sub-networks
Network flow regulation
Secure application design
- AWS Lambda (Serverless)
AWS Lambda is used to execute code, without the need to manage computer servers.
You simply add your code and define what should act as a trigger. At the point of a trigger event, AWS executes the relevant function.
For example, you could cause AWS Lambda to automatically alter the size of an image that a customer has uploaded to Amazon S3.
Think of AWS Lambda as a facility which enables code to be automatically executed in response to events.
Common applications for AWS Lambda are:
Event responsive applications
Data manipulation
Automation
Back-end API provision
- Amazon RDS (Relational Database)
Amazon RDS facilitates the use of relational databases. It offers a selection of database engines including: MySQL, PostgreSQL, MariaDB, Oracle and Microsoft SQL Server.
If you were to create an online retail portal then you may require data relating to customers, orders and products.
Amazon RDS can be used to both establish and administer relational databases, without requiring the user to manage the detailed database functionality.
Consider Amazon RDS as a cloud-hosted relational database administration facility.
Common applications for Amazon RDS are:
Application data storage
Customer data administration
Online retail
Business applications
- Integration of AWS services
As a basic example, consider an online retail application:
Customers access a web portal.
Applications are deployed on an EC2 server.
Product images are stored on Amazon S3.
Customer and order related data is contained within Amazon RDS.
Access permissions are governed by AWS IAM.
Network segregation is achieved by Amazon VPC.
AWS Lambda undertakes automated functions, such as image manipulation.
These services can therefore be integrated to produce robust and scalable cloud applications.
- Why use AWS?
Key benefits of using AWS are as follows:
Scalability – The ability to increase or reduce resources in line with demand.
Cost efficiency – Businesses pay for the amount of resources they consume (dependent upon the cost structure).
World-wide infrastructure – Applications can be deployed in various AWS ‘Regions’.
Security – Authorization, data encryption and network security can all be implemented.
Availability – Applications can be developed to utilize multi-availability zone and robust availability solutions.
Innovation – There are AWS services which can be employed for Artificial Intelligence, machine learning, analysis and application development.
- My learning path – Introduction to AWS
I am currently embarking on a learning path which includes:
Cloud computing
AWS
Linux
Git and GitHub
Docker and containers
CI/CD
Kubernetes
Terraform – Infrastructure as Code
Alongside this, I intend to discuss my experiences, ideas, issues and insights as I progress.
Whilst I aim to educate myself in these areas, I also wish to support fellow beginners, by clearly and practically explaining these topics.
- Future steps
Within my next blog post I intend to further investigate Amazon EC2. Topics to be covered are:
Creating an AWS account
Provisioning an EC2 server
EC2 server types
SSH server access
Deployment of basic web applications
Conclusion
Cloud Computing is an important area to understand, particularly for those interested in software development, Cloud Engineering and/or DevOps.
AWS provides strong, valuable cloud computing services and facilities which can facilitate application development, deployment and administration.
If you too are new to Cloud Computing then begin at a fundamental level. Undertake practical learning and record your experiences.
Let’s educate ourselves, create and progress together
Which AWS service are you most eager to learn about first? Please leave a comment below.
AWS #CloudComputing #AmazonWebServices #DevOps #CloudEngineering #100DaysOfCloud
原文:https://www.a8q9.cn/en/article/introduction-to-aws-cloud-computing-from-zero-to-cloud-fca9bb.html