Your SlideShare is downloading. ×
0
Infrastructure in the
             Cloud Era
        Adam Jacob - Co-founder & CTO, Opscode
Ezra Zygmuntowicz - Co-Founder...
Please Join our Ad-Hoc
              Cloud
 If you have a Mac with Developer Tools
               installed...
curl -O htt...
What are you guys
 talking about?




curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
What are you guys
     talking about?

•   Bootstrapping




     curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
What are you guys
   talking about?

•Bootstrapping
• Configuration


  curl -O https://cloud.engineyard.com/w2e.sh && sh w...
What are you guys
   talking about?

•Bootstrapping
• Configuration
• Command and Control

  curl -O https://cloud.engineya...
Many
  Different
   Tools
curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Bootstrapping


curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Bootstrapping Approaches
                            Good                         Bad                Time

               ...
Why Time Matters
Total Bootstrapping Time in Weeks
                      Corp Approvals
                      Agile Approv...
Tools for Bootstrapping
  PXE Boot
     FAI
System Imager
  Kickstart
  Cobbler




         curl -O https://cloud.enginey...
Bootstrapping Demo
                      Engine Yard Solo




Now would be a totally sweet time to pull out your Mac and r...
Configuration



curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
Manage
Complexity
 curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
java            logrotate bind postgresql
                                                 redmine
     rubygems
         ...
Configuration Approaches
                               Good                               Bad

                           ...
Tools for Configuration
            Chef, Puppet, Cfengine, Bcfg2



        Shell Scripts, Perl, Python, Ruby, etc.



   ...
Infrastructure as Code



Manage configuration as idempotent Resources.
        Put them together in Recipes.
          Tra...
You need an API


You can learn more about Chef at http://wiki.opscode.com/display/chef/Home
         curl -O https://clou...
Command and Control



  You are running out of time to join the Ad-Hoc Cloud Party!
  curl -O https://cloud.engineyard.co...
Command and Control
                                   Good                             Bad

                             ...
Tools for Command
    and Control
               Nanite, Capistrano, Control Tier



             Shell Scripts, Perl, Pyt...
Command and Control
     Demo


You can learn more about Nanite at http://github.com/ezmobius/nanite/tree/master
What else can you do?

• Application Deployment
• Starting and stopping services
• Maintenance
• You name it.
In Practice
Typical Peak Load


1.       Bring on capacity as traffic ramps up
2.       Take down capacity as it ramps down
3.         ...
Atypical Load
No way                                                                  However,
around                     ...
1. Signal Command and
        Control
2. Analyze Responses
3. Rinse and Repeat
4.         Profit
1. Your infrastructure
      is disposable.
2. Make sure you can
  turn each layer off.
3. New efficiencies
   often lead t...
Q &A
                      Brought to you by...

                     Opscode


  You can learn more about Chef at http://...
Upcoming SlideShare
Loading in...5
×

Infrastructure In The Cloud Era

4,696

Published on

From the Web 2.0 Expo!

Web Operations is always moving forward, at the cutting edge of every major trend. The latest leap is having a fully automated infrastructure – lightning fast provisioning, integrated monitoring & trending, and trivial application deployment.

Utilizing a mixture of open source tools (such as Chef, Nanite, CouchDB, and RabbitMQ) and battle-tested techniques, Adam and Ezra will show you how to build an infrastructure that’s easy to manage, integrates with your application, and is self-documenting. Along the way, they’ll give you the key insights you need to get maximum benefit from these technologies for your business.

The speakers come from two companies well-known in this space. Engine Yard is moving to the cloud – in addition to their own internal hosting offering they built their stellar reputation on. Opscode brings “infrastructure automation to the masses”. Born from years of experience building fully automated infrastructure for dozens of startups, they are the creators of Chef.

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

No Downloads
Views
Total Views
4,696
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
292
Comments
0
Likes
17
Embeds 0
No embeds

No notes for slide
  • Woot


























































  • Transcript of "Infrastructure In The Cloud Era"

    1. 1. Infrastructure in the Cloud Era Adam Jacob - Co-founder & CTO, Opscode Ezra Zygmuntowicz - Co-Founder & Mad Scientist Engine Yard Opscode
    2. 2. Please Join our Ad-Hoc Cloud If you have a Mac with Developer Tools installed... curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    3. 3. What are you guys talking about? curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    4. 4. What are you guys talking about? • Bootstrapping curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    5. 5. What are you guys talking about? •Bootstrapping • Configuration curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    6. 6. What are you guys talking about? •Bootstrapping • Configuration • Command and Control curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    7. 7. Many Different Tools curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    8. 8. Bootstrapping curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    9. 9. Bootstrapping Approaches Good Bad Time Known Costs, No High Waste (Hoarding) Variation. Red Tape Corp Approvals 6-8w Anything you want, as long Expensive ($/Time) as IT pre-approved it. Long lead time Lower Waste Agile Corp Known Costs. Less Red Tape 2-4w Total Hardware Control. Still slow Approvals Trivial Approvals. Expensive ($/Time) Shorter lead time Variable Costs. Highly Adaptable. Variable Costs. Cloud 5-10m Minimal lead time. No control over hardware. Trivial approvals. Must re-train. No humans needed. curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    10. 10. Why Time Matters Total Bootstrapping Time in Weeks Corp Approvals Agile Approvals Cloud 8 6 4 2 0 Best Time 0 Worst Time curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    11. 11. Tools for Bootstrapping PXE Boot FAI System Imager Kickstart Cobbler curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    12. 12. Bootstrapping Demo Engine Yard Solo Now would be a totally sweet time to pull out your Mac and run... curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    13. 13. Configuration curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    14. 14. Manage Complexity curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    15. 15. java logrotate bind postgresql redmine rubygems iptables mongrel rails Manage memcached munin resolver perlbal nginx php logwatch maradns ports ebuilds erlang apt-proxy nagios openssh Complexity nscd sudo apache mysql keepalived trac dpkgs ntp openldap rpms ipvsadm jira subversion rsync couchdb curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    16. 16. Configuration Approaches Good Bad Slow. You can do anything. Error Prone (Bus Error!) Manual Results in an intimate Non-repeatable. knowledge of the details. Difficult knowledge transfer. Rarely idempotent. More repeatable. Hard to collaborate. Ad-Hoc Knowledge is dispersed. Brittle. Built your way, with your model. No API. Repeatable. Infrastructure as Idempotent. Have to learn how to use it. Agile. Hard things remain hard. Code Sharable. Not magic. (Yet!) Self documenting. curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    17. 17. Tools for Configuration Chef, Puppet, Cfengine, Bcfg2 Shell Scripts, Perl, Python, Ruby, etc. Operating System tools Your favorite text editor curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    18. 18. Infrastructure as Code Manage configuration as idempotent Resources. Put them together in Recipes. Track it like source code. Configure your servers. You can learn more about Chef at http://wiki.opscode.com/display/chef/Home curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    19. 19. You need an API You can learn more about Chef at http://wiki.opscode.com/display/chef/Home curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    20. 20. Command and Control You are running out of time to join the Ad-Hoc Cloud Party! curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    21. 21. Command and Control Good Bad Super flexible. Error Prone. Can do almost anything. Slow. Meatcloud* Always easy to find someone to Expensive to Scale. blame. Not repeatable. Free will. Free will. One-off by neccessity. More repeatable. Tooling sprawl. Ad-Hoc Easier to scale. Hard to share solutions. Less error prone (hopefully!) Much higher learning curve. One system to learn. Scales well. Not everything maps cleanly. Framework Paint by numbers. Trades depth of knowledge for Repeatable. ease of use. Two-Way. *Meatcloud appears in this presentation courtesy of Andrew Shafer - http://is.gd/Ega Last Chance! - curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    22. 22. Tools for Command and Control Nanite, Capistrano, Control Tier Shell Scripts, Perl, Python, Ruby, etc. You Your co-workers Last Chance! - curl -O https://cloud.engineyard.com/w2e.sh && sh w2e.sh
    23. 23. Command and Control Demo You can learn more about Nanite at http://github.com/ezmobius/nanite/tree/master
    24. 24. What else can you do? • Application Deployment • Starting and stopping services • Maintenance • You name it.
    25. 25. In Practice
    26. 26. Typical Peak Load 1. Bring on capacity as traffic ramps up 2. Take down capacity as it ramps down 3. 10-15 Minutes on either side, fully unattended Graphs in this portion of the presentation taken from Theo Schlossnagle http://omniti.com/seeds/dissecting-todays-internet-traffic-spikes
    27. 27. Atypical Load No way However, around you are Capacity still better Planning off! 1. Hope you know it is coming. 2. Increase capacity in advance. 3. Take down capacity as it ramps down. Graphs in this portion of the presentation taken from Theo Schlossnagle http://omniti.com/seeds/dissecting-todays-internet-traffic-spikes
    28. 28. 1. Signal Command and Control 2. Analyze Responses 3. Rinse and Repeat 4. Profit
    29. 29. 1. Your infrastructure is disposable. 2. Make sure you can turn each layer off. 3. New efficiencies often lead to new hard problems.
    30. 30. Q &A Brought to you by... Opscode You can learn more about Chef at http://wiki.opscode.com/display/chef/Home You can learn more about Nanite at http://github.com/ezmobius/nanite/tree/master
    1. A particular slide catching your eye?

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

    ×