Aws Ajax World 2008

33
Amazon Web Services Cloud Computing in Action Jeff Barr – [email protected]

Transcript of Aws Ajax World 2008

Page 1: Aws Ajax World 2008

Amazon Web ServicesCloud Computing in Action

Jeff Barr – [email protected]

Page 2: Aws Ajax World 2008

Who am I?

• Software development background• Programmable applications and sites• Microsoft Visual Basic and .Net Teams• Startup / venture consultant• 6 Years with Amazon:

– Developer– Evangelist– Blogger

Page 3: Aws Ajax World 2008

Our Offering

• AWS – Amazon Web Services• Third major line of business• Access to proven Amazon infrastructure• Highly scalable & reliable• Redundant & geographically dispersed• Economical• Metered, pay-as-you-go access

Page 4: Aws Ajax World 2008

Characterizing Cloud Computing

• Infrastructure on demand– Provision via API calls, not phone calls– Scale to meet actual demand– Effectively infinite capacity

• Reduced need for capital– Pay as you go– Operating expense, not capitalized cost– Business flexibility

• Abstracted view of resources– Reduced concern for “specs”– Storage, processing, messaging, bandwidth– Focus on business

Page 5: Aws Ajax World 2008

Justifying Cloud Computing• Developers

– Focus on application– Leverage powerful service repertoire– Less time on base technology & system issues

• Entrepreneurs– Reduce need for capital– Reduce need for diverse set of skills– No more “success disasters”

• Enterprises– Adapt to changing conditions with ease– Operate with cyclic or unpredictable loads– No investment in depreciating hardware

Page 6: Aws Ajax World 2008

Cloud ComputingComponents

Page 7: Aws Ajax World 2008

amazonaws.com

Page 8: Aws Ajax World 2008

amazonaws.com

• Web service APIs• Usage-based billing• Developer account system• Network security model• Cloud-level resource management• Clean conceptual models

Page 9: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Page 10: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

SQS

• Amazon Simple Queue Service• Scalable message queue• Distributed application component• Elastic capacity• $.01 for 10,000 messages

Page 11: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

Page 12: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

S3

• Amazon Simple Storage Service• Scalable object storage• Distributed, redundant• Access controls• 1B – 5 GB / object• URL-addressable• $.15 / GB / month

Page 13: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

IndexedStorage

Page 14: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

IndexedStorage

SDB

• Amazon SimpleDB• Indexed data storage• Distributed, redundant• Schemaless• Elastic capacity• No DBA required• $1.50 / GB / month

Page 15: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

IndexedStorage

ElasticComputing

Page 16: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

IndexedStorage

ElasticComputing

EC2

• Amazon Elastic Compute Cloud• Scalable processing power• Ephemeral instances• 5 instance sizes• Linux, OpenSolaris, or Windows• Root-level access• $0.10 - $0.80 / instance / hour

Page 17: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

IndexedStorage

ElasticComputing

BlockStorage

Page 18: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

IndexedStorage

ElasticComputing

BlockStorage

Elastic Block Storage

• 1 GB – 1 TB allocation• High-performance• Mount on EC2 instance• Format as filesystem• Snapshot backup to S3

Page 19: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

IndexedStorage

ElasticComputing

BlockStorage

IP Addresses

Page 20: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

IndexedStorage

ElasticComputing

BlockStorage

IP Addresses

Elastic IP Addresses

• Allocate as needed• Attach to EC2 instance• Remap dynamically

Page 21: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

IndexedStorage

ElasticComputing

BlockStorage

IP Addresses

Metering

Billing

Page 22: Aws Ajax World 2008

amazonaws.com

Message Queue

Message Queue

Message Queue

Object Storage

Object Storage

Object Storage

IndexedStorage

ElasticComputing

BlockStorage

IP Addresses

Metering

Billing

Metering & Billing

• Dynamic usage tracking• Monthly billing• Usage reports• Service Portal• DevPay

Page 23: Aws Ajax World 2008

AWSin Action

Page 24: Aws Ajax World 2008

2001 2002 2003 2004 2005 2006 2007

Bandwidth Consumed byAmazon Web Services

Bandwidth Consumed byAmazon’s Global Websites

2008

Page 25: Aws Ajax World 2008

Billions of Objects in Amazon S3Billions of S3 Objects

Page 26: Aws Ajax World 2008

“Prorated Super Computing Fun”The New York Times

• 1851-1922 Articles• TIFF -> PDF• Input: 11 Million Articles

(4TB of data)• What did they do?

– 100 EC2 Instances for 24 hours– All data on S3– Output: 1.5 TB of Data– Hadoop, iText, JetS3t

Page 27: Aws Ajax World 2008

Washington Post• Hillary Clinton’s public record• How to process 11,000 pages of data• Developer suggests EC2• 200 instance EC2 job running 12 hours later• 11 hours to OCR and index

“This has been a big internal success: the politics dept hadn'tthought that a 17k pdf could be made searchable, let alone in 12hours. So it's definitely changing the understanding of what'spossible and encouraged them to think big…”

Page 28: Aws Ajax World 2008

Animoto

• Dynamic Music Video Generator• Upload images• Upload music• Generate music video• Facebook Application

Page 29: Aws Ajax World 2008

50 Servers to 3500 Servers in 3 Days

Page 30: Aws Ajax World 2008

Getting Started With AWSCreate

Developer Account

Enter PaymentInformation

Sign Up for DesiredServices

Retrieve Private andPublic Keys

Build & DeployApplication

Monitor and ScaleApplication

Page 31: Aws Ajax World 2008

Important AWS Sites• AWS Home Page

aws.amazon.com

• AWS Blog:aws.typepad.com

• AWS Service Health Dashboard:status.aws.amazon.com

• AWS Forums:aws.amazon.com/forums

• AWS Zone:www.awszone.com

Page 32: Aws Ajax World 2008

Q&A

Page 33: Aws Ajax World 2008

Thank You!Jeff Barr – [email protected]