19
Harnessing The Cloud Dan Quellhorst

Harnessing The Cloud

Embed Size (px)

DESCRIPTION

Presentation I gave on Jan 13th, 2009 at http://www.houstonrb.com/ on cloud computing.

Citation preview

Page 1: Harnessing The Cloud

Harnessing The CloudDan Quellhorst

Page 2: Harnessing The Cloud

The Cloud

Unlimited

Servers

Bandwidth

Storage

Pay for what you use

Page 3: Harnessing The Cloud

Amazon EC2 Servers

Small - 1.7GB RAM, 1 Core, $73/monthGood for app server

High CPU Medium - 1.7 GB, 2 Cores, $146Good For Small DB

Large - 7.5GB, 2 Cores, $292

XL - 15 GB, 8 Cores, $584

Page 4: Harnessing The Cloud

Bandwidth Prices

Cogent < $10/mbps

Amazon S3 ~ $32/mbps, <=$.17/gb

Page 5: Harnessing The Cloud

S3 Storage

Fast

Reliable 99.99% availabilitystored in 3 different locations

Scalable from < 1mb to many terabytes

<= $.15 per GB/month

Page 6: Harnessing The Cloud

MySQL in the Cloud

MySQL MasterStored on EBS & 5 min snapshots stored on S3

MySQL Slavegood for running reports or backup

Page 7: Harnessing The Cloud
Page 8: Harnessing The Cloud

Failover

Nagios for system monitoring

SiteUptime.com for SMS alerts

DNSMadeEasy.com for intelligent DNS

Page 9: Harnessing The Cloud
Page 10: Harnessing The Cloud
Page 11: Harnessing The Cloud
Page 12: Harnessing The Cloud

Idempotent Configuration

Puppet for auto configurationhttp://reductivelabs.com/projects/puppet/

A basic image is started and puppet configures everything

Page 13: Harnessing The Cloud
Page 14: Harnessing The Cloud

Recommended Setup

2 Application Server Front Ends & Elastic IPs

Replicated Database Master/Slave config

DNS Made Easy with Failover

CloudFront for Content Delivery

Amazon S3 for backups

Email Via Google Apps For Your Domain

Page 15: Harnessing The Cloud

VS Building Out Yourself

Don’t have to buy equipment or fix broken equipment

Don’t have to negotiate deals on bandwidth

No worries on power/cooling

Costs are spread out and billed after you consume the resources

Page 16: Harnessing The Cloud

Features Coming Soon

Load Balancing

Auto-scaling

Monitoring

http://aws.amazon.com/contact-us/new-features-for-amazon-ec2/

Page 17: Harnessing The Cloud

Other Amazon Services

Simple DB

Simple Queue Service

Page 18: Harnessing The Cloud

Whats The Cost?

4 Servers for redundant application servers and database servers ~$292/month

Poor man’s single server setup ~$73/month

Someone to monitor/keep it running? $300/month