Aws Introduction
Aws Introduction
Keke Chen
Agenda
Approaching cloud computing via a real
example: Amazon Web Services (AWS)
You can get quick hands-on experience
Have an understanding of CC from the
user’s point of view
Amazon S3
bucket bucket
bucket
object object
Amazon S3
mculver-images media.mydomain.com
public.blueorigin.com
index.html img/pic1.jpg
Accessing objects
Bucket: keke-images, key: jpg1, object:
a jpg image
accessible with
https://keke-images.s3.amazonaws.com/jpg1
Fundamental operations:
CREATE a new volume (1GB-1TB)
COPY a volume from an existing EBS volume or S3 object.
MOUNT on one instance at a time.
SNAPSHOT current state to an S3 object.
EBS is approx. 3x more expensive by
volume and 10x more expensive by
IOPS than S3.
Use Glacier for Cold Data
Glacier is structured like S3: a vault is a container for an
arbitrary number of archives. Policies, accounting, and
access control are associated with vaults, while an archive is a
single object.
However:
All operations are asynchronous and notified via SMS.
Vault listings are updated once per day.
Archive downloads may take up to four hours.
Only 5% of total data can be accessed in a given month.
Pricing:
Storage: $0.01 per GB-month
Operations: $0.05 per 1000 requests
Data Transfer: Like S3, free within AWS.
S3 Policies can be set up to automatically move data into
Glacier.
Durability
Amazon claims about S3:
Amazon S3 is designed to sustain the concurrent loss of data in two facilities, e.g.
3+ copies across multiple available domains.
99.999999999% durability of objects over a given year.
Amazon claims about EBS:
Amazon EBS volume data is replicated across multiple servers in an Availability
Zone to prevent the loss of data from the failure of any single component.
Volumes <20GB modified data since last snapshot have an annual failure rate of
0.1% - 0.5%, resulting in complete loss of the volume.
Commodity hard disks have an AFR of about 4%.
Amazon claims about Glacier is the same as S3:
Amazon S3 is designed to sustain the concurrent loss of data in two facilities, e.g.
3+ copies across multiple available domains PLUS periodic internal integrity
checks.
99.999999999% durability of objects over a given year.