Professional Documents
Culture Documents
Jeff Barr
Senior Web Services Evangelist
jbarr@amazon.com
Today
Introduction
Amazon Web Services overview
Amazon EC2
Amazon S3
Amazon SQS
Application Architecture
Questions
Who am I?
Developers (Innovate)
Issues Facing Developers
70% of Web Development Effort is “Muck”:
Data Centers
Bandwidth / Power / Cooling
Operations
Staffing
Slashdot/Digg/TechCrunch Effect
Rapid, unexpected customer demand/growth
Seasonal Spikes
More Seasonal Spikes
-- Scott Gulbransen
Intuit Spokesman
* http://news.com.com/2100-1038_3-6177341.html
Solution: Web-Scale Computing
10
The Commercial Side
Standard licensing terms
Commercially usable
Aggressive pricing
Monthly credit card billing
Self-serve model:
Sign up as developer
Choose services
Agree to service licenses
Enter payment info
Start coding
Web Services Billing
Infrastructure Services
Elastic Compute
Cloud
Compute
Store Message
Amazon Simple Storage Service
S3
Amazon Simple Storage Service
• Object-Based
Storage
• 1 B – 5 GB / object $.15 per
• Fast, Reliable, GB per
Scalable month
• Redundant,
Dispersed storage
$.01 for 1000
• 99.99% Availability to 10000
Goal requests
• Private or Public $.10 - $.18
• Per-object URLs & per GB data
ACLs transfer
Amazon S3 Concepts
Objects:
Opaque data to be stored (1 byte … 5 Gigabytes)
Authentication and access controls
Buckets:
Object container – any number of objects
100 buckets per account / buckets are “owned”
Keys:
Unique object identifier within bucket
Up to 1024 bytes long
Flat object storage model
Standards-Based Interfaces:
REST and SOAP
URL-Addressability – every object has a URL
S3 SOAP/Query API
Service:
ListAllMyBuckets
Buckets:
CreateBucket
DeleteBucket
ListBucket
GetBucketAccessControlPolicy
SetBucketAccessControlPolicy
GetBucketLoggingStatus
SetBucketLoggingStatus
Objects:
PutObject
PutObjectInline
GetObject
GetObjectExtended
DeleteObject
GetObjectAccessControlPolicy
SetObjectAccessControlPolicy
Amazon Simple Queue Service
SQS
Amazon Simple Queue Service
• Scalable Queuing
$.10 per
• Elastic Capacity
• Reliable, Simple, 1000
Secure messages
Inter-process messaging,
$.10 - $.18
data buffering, architecture per GB data
component transfer
Amazon SQS Concepts
Queues:
Named message container
Persistent
Messages:
Up to 256KB of data per message
Peek / Lock access model
Scalable:
Unlimited number of queues per account
Unlimited number of messages per queue
Amazon SQS At Work
SQS SOAP/Query API
Queues:
ListQueues
DeleteQueue
SetVisibilityTimeout
GetVisibilityTimeout
Messages:
SendMessage
ReceiveMessage
DeleteMessage
PeekMessage
Security:
AddGrant
ListGrants
RemoveGrant
Amazon Elastic Compute Cloud
EC2
Amazon Elastic Compute Cloud
• Virtual Compute
Cloud
• Elastic Capacity $.10 per
• 1.7 GHz x86
• 1.7 GB RAM
server
• 160 GB Disk hour
• 250 MB/Second
Network
• Network Security
Model $.10 - $.18
Time or Traffic-based Scaling, per GB data
Load testing, Simulation and transfer
Analysis, Rendering, Software as
Amazon EC2 Concepts
Instance:
Running copy of an AMI
Launch in less than 2 minutes
Start/stop programmatically
Startups
Cruxy – Media transcoding
GigaVox Media – Podcast Management
Science / Research:
Hadoop / MapReduce
mpiBLAST
GigaVox Media
Web-Scale Architecture
GigaVox Economics
jbarr@amazon.com Blog
http://aws.typepad.com
EC2
http://aws.amazon.com/ec2
S3
http://aws.amazon.com/s3
Resource Center
http://aws.amazon.com/resources
Forums
http://aws.amazon.com/forums