Day of Cloud: Amazon EC2

Post on 02-Dec-2014

4.814 views 1 download

Tags:

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

© 2009 PSC Group, LLC

Amazon Cloud Services

Chris McAvoyVice-President, Open Source

PSC Group LLC

© 2009 PSC Group, LLC

Agenda

✴ Services Overview

✴ Case Studies

✴ Techniques

✴ Questions

© 2009 PSC Group, LLC

We’ll talk about

✴ API & Python boto library

✴ S3 & CloudFront

✴ SimpleDB (briefly)

✴ Simple Queue Service (briefly)

✴ Elastic Compute Cloud

© 2009 PSC Group, LLC

We won’t talk about

✴ e-commerce / fulfillment API

✴ Elastic MapReduce

✴ Mechanical Turk

Services

© 2009 PSC Group, LLC

S3

✴ Storage

✴ Wildly popular

✴ Both secure and public storage

✴ Lots of support (django pluggable storage)

© 2009 PSC Group, LLC

S3 Pricing

© 2009 PSC Group, LLC

CloudFront

✴ Content Distribution Network (CDN)

✴ Allows distribution of S3 hosted files

© 2009 PSC Group, LLC

SimpleDB

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

✴ Erlang

✴ Schema-less

© 2009 PSC Group, LLC

Simple Queue Service (SQS)

✴ Hard to find examples of people using it

© 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

© 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

© 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

© 2009 PSC Group, LLC

Elastic IP

✴ Static IP

✴ Elastic sounds cloudier than static

© 2009 PSC Group, LLC

Elastic Block Store

✴ Persistent disk

✴ Again, cloudy sounding

© 2009 PSC Group, LLC

Elastic Load Balancer

✴ Load balancer

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

© 2009 PSC Group, LLC

boto

✴ code.google.com/p/boto

✴ Python based library for accessing AWS services

✴ Well maintained, easy to use

© 2009 PSC Group, LLC

Case Studies

© 2009 PSC Group, LLC

Crains

© 2009 PSC Group, LLC

Crains

© 2009 PSC Group, LLC

Social Web Manager

Techniques

© 2009 PSC Group, LLC

Amazon Web Console

© 2009 PSC Group, LLC

RightScale

Roll Your Own

© 2009 PSC Group, LLC

Questions?✴ cmcavoy@psclistens.com

✴ http://www.psclistens.com

✴ http://weblog.lonelylion.com

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

✴ @cmcavoy