EC2 & AWS
FOR STARTUPS
FOR STARTUPS
Ian Eure
@ieure
http://simplegeo.com
http://atomized.org
THE LAST GENERATION
THE LAST GENERATION
• Lots of components to manage
• Staffing
• Vendor relationships
• Slow!
THE LAST GENERATION
THE LAST GENERATION
TODAY
TODAY
TODAY
TODAY
• Computation (EC2)
• AMI Marketplace
• Storage (EBS)
• MySQL (RDS)
• Load balancing (ELB)
• Addresses (EIP)
TODAY
• Storage (S3)
• Monitoring (CloudWatch)
• Queues (SQS)
• Content Distribution (CloudFront)
• Elastic MapReduce
BENEFITS
• Immediate capacity
• Snapshots
• Multiple regions
• Management console
• API
• Low risk
INFRASTRUCTURE AS CODE
>>> import boto
>>> ec2_conn = boto.connect_ec2(AWS_ACCESS_KEY_ID,
AWS_SECRET_ACCESS_KEY)
>>> image...
INFRASTRUCTURE AS CODE
• Automation
• It’s all development now
• Cross-pollination of dev & ops
INFRASTRUCTURE AS CODE
• Automate
• Acquisition
• Installation
• Configuration
• Upgrades
INFRASTRUCTURE AS CODE
• Develop
• Source control
• Strong build system
• Automated testing
• Strong release cycle
INFRASTRUCTURE AS CODE
• Operate
• Packaging & deployment
• Architecture
• Metrics
• Monitoring & alerts
GOTCHAS
• Cost
• Regions are silos
• Reliability
GOTCHAS
• Cost
• Regions are silos
• Reliability…?
DEMO
Ian Eure
@ieure
http://simplegeo.com
http://atomized.org
Upcoming SlideShare
Loading in...5
×

Ec2 for Startups - Ian Eure

800

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
800
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Overview of work at Digg & SimpleGeo systems
    I started out in operations… Now primarily a developer, ops as a touchstone
  • Show of hands: Who’s worked in ops? Who’s worked with EC2?
  • It used to be hard — lots of components, late nights, unhappy admins
    Bandwidth, power, hardware, racks, money
    Long lead time — purchase orders, shipping, installation, configuration, RMAs.
  • If you were lucky, you could end up with something like this
  • …But it could easily devolve to this. Tangible technical debt.
  • It’s code.
    “Hardware as a service.”
  • US East, West, Ireland, Singapore
    AZs in regions
    Stuff you’d have to build yourself comes for free
  • Apply the same engineering discipline to ops
  • Apply the same engineering discipline to ops
  • Startups using EC2: Reddit, Foursquare, Unfuddle, The Guardian, Urbanspoon
  • Overview of work at Digg & SimpleGeo systems
    I started out in operations… Now primarily a developer, ops as a touchstone
  • Ec2 for Startups - Ian Eure

    1. 1. EC2 & AWS FOR STARTUPS FOR STARTUPS
    2. 2. Ian Eure @ieure http://simplegeo.com http://atomized.org
    3. 3. THE LAST GENERATION
    4. 4. THE LAST GENERATION • Lots of components to manage • Staffing • Vendor relationships • Slow!
    5. 5. THE LAST GENERATION
    6. 6. THE LAST GENERATION
    7. 7. TODAY
    8. 8. TODAY
    9. 9. TODAY
    10. 10. TODAY • Computation (EC2) • AMI Marketplace • Storage (EBS) • MySQL (RDS) • Load balancing (ELB) • Addresses (EIP)
    11. 11. TODAY • Storage (S3) • Monitoring (CloudWatch) • Queues (SQS) • Content Distribution (CloudFront) • Elastic MapReduce
    12. 12. BENEFITS • Immediate capacity • Snapshots • Multiple regions • Management console • API • Low risk
    13. 13. 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') >>> reservation Reservation:r-c2dc2fab
    14. 14. INFRASTRUCTURE AS CODE • Automation • It’s all development now • Cross-pollination of dev & ops
    15. 15. INFRASTRUCTURE AS CODE • Automate • Acquisition • Installation • Configuration • Upgrades
    16. 16. INFRASTRUCTURE AS CODE • Develop • Source control • Strong build system • Automated testing • Strong release cycle
    17. 17. INFRASTRUCTURE AS CODE • Operate • Packaging & deployment • Architecture • Metrics • Monitoring & alerts
    18. 18. GOTCHAS • Cost • Regions are silos • Reliability
    19. 19. GOTCHAS • Cost • Regions are silos • Reliability…?
    20. 20. DEMO
    21. 21. Ian Eure @ieure http://simplegeo.com http://atomized.org
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×