16
Rails in the Clouds Dusty Davidson

Omaha Rails User Group - Ec2

Embed Size (px)

DESCRIPTION

Dusty Davidson of BrightMix gives a talk to the Omaha Ruby on Rails User Group about the benefits of Amazon Web Services and cloud computing.

Citation preview

Page 1: Omaha Rails User Group - Ec2

Rails in the CloudsDusty Davidson

Page 2: Omaha Rails User Group - Ec2

Amazon Web Services

• Scalable

• Pay as you go

• Redundant

• Platform Agnostic

Page 3: Omaha Rails User Group - Ec2

S3 - Storage

• ~$0.15 per GB Storage / month

• 1TB = $150/month (redundant, BTW)

• ~$0.10 - $0.17 per GB Transferred

Page 4: Omaha Rails User Group - Ec2

EC2 - Servers

• Small Instance (1 core, 1.7gb memory)

• $0.10 / hour (~$72/month)

• Large ( 2 cores, 7.5gb memory)

• $0.40 / hour (~$280/month)

• Extra Large (4 cores, 15gb memory)

• $0.80 / hour (~$560/month)

Page 5: Omaha Rails User Group - Ec2

Other stuff

• SimpleDB

• Simple Queue Service

• CloudFront

• and more!

Page 6: Omaha Rails User Group - Ec2

Not the only players

Page 7: Omaha Rails User Group - Ec2

Real world examples

• NYTimes.com

• Archives from 1851-1922 (11M articles)

• 4TB of data on S3

• Using Hadoop across 100 machines, processed in under 24 hours

Page 8: Omaha Rails User Group - Ec2

Real world examples

• 25k to 250k users in 3 days

• Launching 40 instances / minute

• Between 50 and 4000 instances

Page 9: Omaha Rails User Group - Ec2
Page 10: Omaha Rails User Group - Ec2

Tools - Elastic Fox

Page 11: Omaha Rails User Group - Ec2

Tools - Right$cale

Page 12: Omaha Rails User Group - Ec2

Tools - Scalr!

Page 13: Omaha Rails User Group - Ec2

How do we use?

Page 14: Omaha Rails User Group - Ec2

EC2 on Rails

• Rails enabled EC2 Instance (Ubuntu)

• Automatic backup of MySQL to S3

• Capistrano tasks to manage / deploy

• So much more!

http://ec2onrails.rubyforge.org/

Page 15: Omaha Rails User Group - Ec2

Demo!

Page 16: Omaha Rails User Group - Ec2

Thanks! Questions?!