Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Chef for Humans

Chef for Humans

It can be hard to get a team ramped up on Chef; some of the concepts feel counter-intuitive, it can be used in many different ways, and it's not good enough to have one or two team members on-board with Chef. Here's a quick story about how I worked on two teams who adopted Chef.

nstielau

May 17, 2012
Tweet

More Decks by nstielau

Other Decks in Technology

Transcript

  1. Chef for Humans What is a human? • Family 'Hominidae'

    • Extiction status: "Least Concern" • Sometimes makes mistakes • Sometimes gets 'the fear' • Has < 1,000 devops related repos, tweets, posts, t-shirts, stickers Who work with other humans, possibly at companies
  2. A tale of two teams • Publicly Traded • Java

    shop • SOAP • MySQL • Bare-metal • Pre-funding • Python shop • REST • Cassandra • All-cloud ...both adopting Chef
  3. "Download http://bit.ly/7cge5, extract it, and run the ruby executable as

    root on all of your production servers every 15 minutes."
  4. Mr Flip "I will personally call your manager and tell

    him that it's totally loco for you to not work with Chef" http://twitter.com/mrflip
  5. Stuff you can do with Chef • 5% Best Practices

    • 5% Worst Practices • 90% Shoot yourself in the foot / world domination
  6. Intelligent Design "certain features of the universe and of living

    things are best explained by an intelligent cause, not an undirected process such as natural selection."
  7. Intelligent Systems Design "certain features of the universe and of

    living things your infrasturcture are best explained managed by an intelligent cause config management tool, not an undirected process such as natural selection ssh-based commands."
  8. Repetition Repitition Repitition 1 Converge 2 Converges 3 Converges (ah

    ah ah) ... ... ... 200 nodes * 2/hr * 24h = 9600 converges/day
  9. Okok, I'm on board What about the rest of the

    (A) team? What about the managers?
  10. Know Chef's Tradeoffs • chef-solo vs. chef-server • LRWP abstractions

    vs. long, clear recipes • daemon vs. crontab • converge on-demand vs. automated • manage system daemon, or just applications • community cookbooks vs. custom • roles, environments, attributes, recipes oh my
  11. Insensitivity to Initial Conditions To err is human. To have

    your config management automatically correct your mistake upon convergence is RUGGED http://queue.acm.org/detail.cfm?id=1937179
  12. Dive In! Or wade. But you'll eventually be swimming. It

    just takes a while to get used to the water. http://www.flickr.com/photos/rosswebsdale/2200187017/