Posted on 14 Jan 2021
This article is an introduction to the Amazon Web Services (AWS) platform.
AWS is the Cloud platform developed by Amazon and available at the following address. The platform was born in 2006 in Virginia (USA), it satisfies the Cloud definition and its five essentials characteristics, and it implements all the five service models of Cloud Computing (IaaS, CaaS, PaaS, FaaS, and SaaS).
There are a lot of myths about of AWS was born, however, if you want to read the full story you can read this blog post on Tech Crunch. Basically, the platform was launched internally in 2002. In 2003 the Amazon Infrastructure was one of the company’s core strengths and from here the idea to sell it to other companies to drive their businesses. One year later, in 2004, the company launched publicly the AWS SQS service. Two years after, in 2006, the platform was officially launched with SQS, Ec2, and S3 services. In 2007 the platform was launched in Europe too. A lot of companies like Dropbox, Netflix, Airbnb, and NASA started to create their SaaS business on the AWS platform. The rest is history.
Today Amazon has a Global Infrastructure of 24 Regions and other 5 Regions that will be available soon. Each Region has a name like us-east-1, eu-west-3, etc. In these regions, there are 77 Availability Zones (AZ) and 216 Points of Presence (205 Edge Locations and 11 Regional Caches). Edge locations are part of the AWS Content Delivery Network (CDN) necessary to bring content (eg video, music, etc.) close to the end-users. For more details, see this page.
Photo from AWS Cloud Practitioner Essentials (2nd Edition) course
In AWS a Region has two or more Availability Zones (AZ) (usually 3, min 2, max 6) that allow replicating services in such a way that they can be up and running even if a data center is down. AZs have high-speed and low latency network connections. In each AZ we can have one or more datacenter. All traffic between AZ’s is encrypted.
Photo from AWS Cloud Practitioner Essentials (2nd Edition) course
The following services have Global scope:
All the other services have Regional scope and they are not available in all the Regions. We will analyze these services in the next sections and articles.
When you need to choose a Region for a regional scope service you need to take into consideration 4 elements:
You can access AWS via three interface types:
In AWS, services are divided into two big categories:
Core Services includes:
Integrated Services are additional services very useful for application scale up and down, to easily manage databases in High Availability (HA), for monitoring, for DevOps activities, integration, and much more. They include the following services:
In this section, we will start to go more in-depth in the overview of the AWS Core Services. An overview of AWS Integrated Services will be part of the next article.
The word Compute in the AWS EC2 name refers to a virtual or physical computer that can be used as a server for multiple purposes: application server, web server, mail server, etc. Cloud means that this computer is available in the Cloud, so it is accessible via the Internet with an IP address. Finally, the word Elastic means that this computer can be replicated on multiple instances to scale the server horizontally up and down depending on the workload. For more details read the following article.
Photo from AWS Cloud Practitioner Essentials (2nd Edition) course
The AWS EBS service allows you to create network-attached volumes for your Ec2 instance. By default, the Ec2 instance has its own root filesystem but you can mount more volumes depending on your needs. The service allows you to choose the Block Storage type between Hard Disk Drive (HDD) or State-Solid Drive (SSD). For more details read the following article.
AWS S3 is the Amazon Object Storage service. This service is useful in scenarios where you write objects once and read them any time, from anywhere. An object has three elements:
You can use Object Storage in a lot of use cases like static web hosts, store application assets, and backup for disaster recovery.
You can upload your objects using the three interfaces available in Amazon AWS: management console, CLI, and SDK. Once the file is available you can download it using the same three interfaces or via HTTP/HTTPS using a URI.
In order to use the AWS S3 service with your account, you need to create one or more buckets where you will store the objects. A bucket is simply a logical separation of your objects. In order to store an object in the bucket, you need to associate a key.
For example, I can define the bucket my-bucket-name and store a file in it with key media/welcome.mp4 (that is the folder and filename).
Photo from AWS Cloud Practitioner Essentials (2nd Edition) course
The service itself takes care of replicate this information on other AZ to create redundancy and implement high availability.
Photo from AWS Cloud Practitioner Essentials (2nd Edition) course
AWS supports scalability for the system allowing to access this object from a large number of users using a URI that contains the bucket name, the object storage service domain, and the object key.
Photo from AWS Cloud Practitioner Essentials (2nd Edition) course
Amazon VPC allows you to create a virtual private network in AWS Cloud and associate it with your account. You can configure one or more VPC within your account. VPC allows you to use many of the same concepts and constructs available in the on-premises network, but it removes much of the complexity of setting up a network without sacrificing control, security, and usability.
A VPC can have one or more subnets where you can deploy services (eg. EC2, RDS, etc.) and resources deciding which one to isolate and which one to expose. A single subnet is available in a single AZ, but more subnets of the same VPC can belong to the same or different AZ.
You can deploy EC2 instances in a VPC with an IP address associated with them. They have the ability to access the Internet via an Internet Gateway (IGW). VPS uses routing tables to drive traffic among the subnets.
The following figure shows a VPC example.
Photo from AWS Cloud Practitioner Essentials (2nd Edition) course
In the us-west-2 (Oregon) region we define the Test-VPC network which provides an address space between 10.0.0.0 to 10.255.255.255. In AZ A, we define two subnets:
Resources in Public Subnet A1 are accessible via the Internet through the Test-IGW Internet Gateway. As said above in your account you can define multiple VPC and subnets in a VPC that can be on different Availability Zone too.
The goal of this article is just to provide an overview of the AWS platform with a brief description of its Core Services. In the next article, I will explain the basics of the Identity and Access Management component, and a hands-on lab to create your first account and do the initial setup using some best practices.