Day of Cloud: Amazon EC2

26
© 2009 PSC Group, LLC Amazon Cloud Services Chris McAvoy Vice-President, Open Source PSC Group LLC

description

One of five presentations at Chicago's Day of Cloud mini-conference. Chris McAvoy (http://www.psclistens.com) demonstrates cloud computing with Amazon services.

Transcript of Day of Cloud: Amazon EC2

Page 1: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Amazon Cloud Services

Chris McAvoyVice-President, Open Source

PSC Group LLC

Page 2: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Agenda

✴ Services Overview

✴ Case Studies

✴ Techniques

✴ Questions

Page 3: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

We’ll talk about

✴ API & Python boto library

✴ S3 & CloudFront

✴ SimpleDB (briefly)

✴ Simple Queue Service (briefly)

✴ Elastic Compute Cloud

Page 4: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

We won’t talk about

✴ e-commerce / fulfillment API

✴ Elastic MapReduce

✴ Mechanical Turk

Page 5: Day of Cloud: Amazon EC2

Services

Page 6: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

S3

✴ Storage

✴ Wildly popular

✴ Both secure and public storage

✴ Lots of support (django pluggable storage)

Page 7: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

S3 Pricing

Page 8: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

CloudFront

✴ Content Distribution Network (CDN)

✴ Allows distribution of S3 hosted files

Page 9: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

SimpleDB

✴ No-SQL (but, a SQL like interface)

✴ Erlang

✴ Schema-less

Page 10: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Simple Queue Service (SQS)

✴ Hard to find examples of people using it

Page 11: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

EC2

✴ By far the most exciting Amazon cloud service

✴ Windows & Linux on-demand servers

✴ Support from IBM, Microsoft, Sun, Redhat, Oracle

✴ Virtual Private Cloud

Page 12: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Amazon Machine Image

✴ Not persistent!

✴ Windows / Linux

✴ Most flavors of Linux

✴ Use prebuilt images, or build your own

✴ Many images supported by large vendors

Page 13: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

EC2 PricingSmall

1.7 gb / 1cpu

$0.10 $72

Large7.5 gb / 4 cpu

$0.40 $288

X Large15gb / 8

cpu$0.80 $576

High CPU

1.7 gb / 5 cpu

$0.20 $144

High CPU X Large

7 gb / 20 cpu

$0.80 $576

Page 14: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Elastic IP

✴ Static IP

✴ Elastic sounds cloudier than static

Page 15: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Elastic Block Store

✴ Persistent disk

✴ Again, cloudy sounding

Page 16: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Elastic Load Balancer

✴ Load balancer

✴ You can’t associate elastic ip’s with the load balancer

Page 17: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

boto

✴ code.google.com/p/boto

✴ Python based library for accessing AWS services

✴ Well maintained, easy to use

Page 18: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Case Studies

Page 19: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Crains

Page 20: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Crains

Page 21: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Social Web Manager

Page 22: Day of Cloud: Amazon EC2

Techniques

Page 23: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Amazon Web Console

Page 24: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

RightScale

Page 25: Day of Cloud: Amazon EC2

Roll Your Own

Page 26: Day of Cloud: Amazon EC2

© 2009 PSC Group, LLC

Questions?✴ [email protected]

✴ http://www.psclistens.com

✴ http://weblog.lonelylion.com

✴ http://github.com/cmcavoy/Day-of-Cloud-AWS-Examples (http://bit.ly/rn4GP)

✴ @cmcavoy