Scaling up soon became an issue.
AWS follows a Service Oriented Architecture(SOA) design.
Plus ≈ 40 Edge regions.
These edge locations are used by CloudFront (CDN) and Route53 (DNS) only.
Each region is composed of multiple isolated Data Centers called Availability Zones
Average distance between two AZs: ≈40km.
An EMI (Amazon Machine Image) is a snapchot of a system that is used as a base for VMs. It can be seen as an archive of an entire filesystem.
Category | Usage |
---|---|
t2 | General purpose |
m4 | General purpose |
m3 | General purpose |
c4 | Compute intensive |
c3 | Compute intensive |
x1 | Compute & memory intensive |
r3 | Memory intensive |
g2 | GPU |
i2 | I/O intensive |
d2 | Storage |
The cheapest category of instances.
Model | vCPU | Mem (GiB) | Storage |
---|---|---|---|
t2.nano | 1 | 0.5 | EBS only |
t2.micro | 1 | 1 | EBS only |
t2.small | 1 | 2 | EBS only |
t2.medium | 2 | 4 | EBS only |
t2.large | 2 | 8 | EBS only |
These are Burstable Performance Instances! (Good for unregular performance requirements.)
The new generation of general purpose instances.
Model | vCPU | Mem (GiB) | SSD Storage | Dedicated EBS Bandwidth (Mbps) |
---|---|---|---|---|
m4.large | 2 | 8 | EBS only | 450 |
m4.xlarge | 4 | 16 | EBS only | 750 |
m4.2xlarge | 8 | 32 | EBS only | 1,000 |
m4.4xlarge | 16 | 64 | EBS only | 2,000 |
m4.10xlarge | 40 | 160 | EBS only | 4,000 |
m4.16xlarge | 64 | 256 | EBS only | 10,000 |
The new generation of instances optimized for computation intensive.
Model | vCPU | Mem (GiB) | SSD Storage | Dedicated EBS Bandwidth (Mbps) |
---|---|---|---|---|
c4.large | 2 | 3.75 | EBS only | 500 |
c4.xlarge | 4 | 7.5 | EBS only | 750 |
c4.2xlarge | 8 | 15 | EBS only | 1,000 |
c4.4xlarge | 16 | 30 | EBS only | 2,000 |
c4.8xlarge | 36 | 36 | EBS only | 4,000 |
Instances optimized for memory-intensive applications.
Model | vCPU | Mem (GiB) | SSD Storage (GB) |
---|---|---|---|
r3.large | 2 | 15.25 | 1 x 32 |
r3.xlarge | 4 | 30.5 | 1 x 80 |
r3.2xlarge | 8 | 61 | 1 x 160 |
r3.4xlarge | 16 | 122 | 1 x 320 |
r3.8xlarge | 36 | 244 | 1 x 320 |
Instances optimized for graphics and general purpose GPU compute applications.
Model | GPUs | vCPU | Mem (GiB) | SSD Storage (GB) |
---|---|---|---|---|
g2.2xlarge | 1 | 8 | 15 | 1 x 60 |
g2.8xlarge | 4 | 32 | 60 | 1 x 120 |
Instances optimized for storage, with high I/O performance.
Model | vCPU | Mem (GiB) | SSD Storage (GB) |
---|---|---|---|
i2.xlarge | 4 | 30.5 | 1 x 800 |
i2.2xlarge | 8 | 61 | 2 x 800 |
i2.4xlarge | 16 | 122 | 4 x 800 |
i2.8xlarge | 32 | 244 | 8 x 800 |
Good for databases and clustered filesystems.
Dense-storage instance.
Model | vCPU | Mem (GiB) | Storage (GB) |
---|---|---|---|
d2.xlarge | 4 | 30.5 | 3 x 2000 HDD |
d2.2xlarge | 8 | 61 | 6 x 2000 HDD |
d2.4xlarge | 16 | 122 | 12 x 2000 HDD |
d2.8xlarge | 36 | 244 | 24 x 2000 HDD |
Good data warehouses, parallel filesystems, Hadoop MapReduce.
…that are actually billing options:
For all of them, license fees can be added!
The most common type of instances:
Pay upfront for a defined period and save up to 75%. Two modes:
The cheapest: save 50-90% renting unused instances for a low price. the price fluctuates according to the platform capacity and demand.
The customer fixes a bid. At any point in time:
Difficult to use: instances can disappear anytime due to price variations!
Well fitted for batch on Bag of Tasks (BoT) applications.
A software firewall for instances
Addressing: customers can rent public IPs from Amazon
Each instance has:
By default, the instance public IP address is dynamic (NAT).
Optionally, a static address (paid) can be assigned from customer Elastic IP pool.
Identity & Access Management
Elastic Bloc Storage
What | Identifier |
---|---|
Volume | vol-XXXX |
Snapshot | snap-XXXX |
Elastic Load Balancing
Balances incoming requests to a pool of EC2 instances
Simple Storage Service
An Infrequent Access offers lower cost for data that are accessed less frequently.
Billing:
Long-term storage, archival.
DNS-as-a-Service
Simple Queuing Service
A messaging queue for web applications & services to communicate reliably.
General principles
Notification service for applications and clients
Principles
. | SQS | SNS |
---|---|---|
Consumers | No subscription | Mandatory subscription/confirmation |
Multiplicity | 1-to-1 | 1-to-N (Broadcast) |
Com. model | Pull | Pull |
Amazon’s NoSql (key/value) database.
Hadoop is great (but hard to setup!) EMR is an integrated Hadoop-based MapReduce framework:
Simulates a private cloud with EC2 instances and VPN techniques.
The new buzzword in Cloud Computing
*once the EC instances and Docker daemons are deployed
AWS PaaS service.
Allows to deploy a complete stack…
…without having to maintain the underlying software.
Private git repo hosting.
Deploy development code on EC2 instances
Rolling release of development code.
Automated infrastructure deployment based on Chef.
A virtual desktop in EC2
Use the Total Cost Ownership Calculator to estimate whether it is worth migrating to the cloud.
Use the AWS Calculator to estimate the cost of various services.
Prefer reserved and spot instances when possible