21
EC2 & AWS FOR STARTUPS

Ec2 for Startups - Ian Eure

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Ec2 for Startups - Ian Eure

EC2 & AWSFOR STARTUPS

Page 2: Ec2 for Startups - Ian Eure

Ian Eure

@ieure

http://simplegeo.com

http://atomized.org

Page 3: Ec2 for Startups - Ian Eure

THE LAST GENERATION

Page 4: Ec2 for Startups - Ian Eure

THE LAST GENERATION

•Lots of components to manage

•Staffing

•Vendor relationships

•Slow!

Page 5: Ec2 for Startups - Ian Eure

THE LAST GENERATION

Page 6: Ec2 for Startups - Ian Eure

THE LAST GENERATION

Page 7: Ec2 for Startups - Ian Eure

TODAY

Page 8: Ec2 for Startups - Ian Eure

TODAY

Page 9: Ec2 for Startups - Ian Eure

TODAY

Page 10: Ec2 for Startups - Ian Eure

TODAY

•Computation (EC2)

•AMI Marketplace

•Storage (EBS)

•MySQL (RDS)

•Load balancing (ELB)

•Addresses (EIP)

Page 11: Ec2 for Startups - Ian Eure

TODAY

•Storage (S3)

•Monitoring (CloudWatch)

•Queues (SQS)

•Content Distribution (CloudFront)

•Elastic MapReduce

Page 12: Ec2 for Startups - Ian Eure

BENEFITS

•Immediate capacity

•Snapshots

•Multiple regions

•Management console

•API

•Low risk

Page 13: Ec2 for Startups - Ian Eure

INFRASTRUCTURE AS CODE

>>> import boto

>>> ec2_conn = boto.connect_ec2(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)

>>> images = ec2_conn.get_all_images(image_ids=['ami-b111f4d8'])

>>> images[0]

Image:ami-b111f4d8

>>> reservation = images[0].run(1,1, 'yourKeyPair')

>>> reservationReservation:r-c2dc2fab

Page 14: Ec2 for Startups - Ian Eure

INFRASTRUCTURE AS CODE

•Automation

•It’s all development now

•Cross-pollination of dev & ops

Page 15: Ec2 for Startups - Ian Eure

INFRASTRUCTURE AS CODE

•Automate

•Acquisition

•Installation

•Configuration

•Upgrades

Page 16: Ec2 for Startups - Ian Eure

INFRASTRUCTURE AS CODE

•Develop

•Source control

•Strong build system

•Automated testing

•Strong release cycle

Page 17: Ec2 for Startups - Ian Eure

INFRASTRUCTURE AS CODE

•Operate

•Packaging & deployment

•Architecture

•Metrics

•Monitoring & alerts

Page 18: Ec2 for Startups - Ian Eure

GOTCHAS

•Cost

•Regions are silos

•Reliability

Page 19: Ec2 for Startups - Ian Eure

GOTCHAS

•Cost

•Regions are silos

•Reliability…?

Page 20: Ec2 for Startups - Ian Eure

DEMO

Page 21: Ec2 for Startups - Ian Eure

Ian Eure

@ieure

http://simplegeo.com

http://atomized.org