2009 09-03 - sd ruby - intro to chef

346 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
346
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • 2009 09-03 - sd ruby - intro to chef

    1. 1. Cooking up a CloudAn intro to Chef & EC2 Nick Zadrozny
    2. 2. The good old days.• Order up some servers• Install an operating system• Configure it manually• Brag about the uptime a year later
    3. 3. The good old days.• Order up some servers• Install an operating system• Configure it manually• Brag about the uptime a year later
    4. 4. The good old days. 1. provision you price out the hardware for a server order the hardware and build it or have some vendor build it for you• Order up some servers boot it up run some burn-in tests to make sure its all working• Install an operating system• Configure it manually• Brag about the uptime a year later
    5. 5. The good old days.• Order up some servers• Install an operating system 2. bootstrap install your operating system shell script to install various prerequisites (i.e. ruby and rubygems)• Configure it manually• Brag about the uptime a year later
    6. 6. The good old days.• Order up some servers• Install an operating system• Configure it manually 3. configure manually configure your applications and ser vices if youre sophisticated, perhaps t weak a shell script• Brag about the uptime a year later
    7. 7. The good old days.• Order up some servers• Install an operating system• Configure it manually• Brag about the uptime a year later 4. command and control deploy your app and use it something running slow? ssh in and check the load
    8. 8. Virtualize!• Skip all that nasty hardware stuff.• Still have to do a lot of configuration.
    9. 9. Breaking it down:• As the time to provision Provision decreases, the time invested in later steps becomes the bottleneck! This becomes particularly• obvious in the cloud. Bootstrap• Configure• “Command & control”
    10. 10. Chef
    11. 11. • Resources• Recipes• Cookbooks• Other stuff: attributes, templates, files, definitions…
    12. 12. Live demo!(Easier than making slides.)
    13. 13. Questions?
    14. 14. Thanks!

    ×