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

Growing Pains with Chef

Growing Pains with Chef

a tale of DevOps in a large organization

Brian Akins

April 25, 2013
Tweet

More Decks by Brian Akins

Other Decks in Technology

Transcript

  1. Growing  Pains  with  Chef   a  tale  of  DevOps  in

     a  large   organiza7on Monday, May 13, 13
  2. Disclaimer • All  opinions  stated  are  those  of  the  presenter

      and  do  not  necessarily  reflect  those  of  Turner   or  any  of  its  affiliates  or  partners. Monday, May 13, 13
  3. About  @bakins   • Horrible  public  speaker • Born  and

     raised  in  Alabama • Husband  and  father  of  four • Senior  Principal  Architect,  Turner  Broadcas7ng • “Large”  web  site  and  systems  opera7ons • C  and  Lua  hacker • Learning  Go,  Erlang,  and  MIG  welding Monday, May 13, 13
  4. Thank  you • Thanks  to  the  Chef  community • Mailing

     list,  IRC,  github,  etc • You  make  my  life  easier 4 Monday, May 13, 13
  5. About  Turner  MPTO • Media  PlaRorm  Technology  &  Opera7ons •

    Turner’s  “web  people” – CNN,  NCAA,  NBA,  Adultswim,  Cartoon  Network,   Money,  iReport,  etc • Five  engineering  groups • One  opera7ons  group   Monday, May 13, 13
  6. "One"  Datacenter  to  many • mul7ple  Chef  servers – One

     cluster  per  datacenter • keeping  cookbooks,  etc,  in  sync • Search  wrapper • East/West  Coast  datacenters  plus  public  cloud • Applica7on  resiliency • S7ll  a  work  in  progress – How  to  properly  model  in  Chef? Monday, May 13, 13
  7. One  Big  Chef  Repo • "chef-­‐main” • Evolu7on  of  cookbook

     organiza7on – knife  cookbook  site  vendor   – braid – Chef-­‐Librarian – Berkshelf • Cookbook  Chef  Organiza7on Monday, May 13, 13
  8. Heterogeneous  Business  Units • “chef-­‐main”  again • Vastly  different  business

     units  and  dev  teams • Chef  Organiza7on  per  business  unit  and/or   “large”  site – “limit  the  blast  radius” – Support  mul7ple  works  flows • Work  flow  issues – Varying  level  of  comfort  with  toolset – number  of  moving  parts Monday, May 13, 13
  9. Cookbook  development  workflow • Was:  hack,  upload,  chef-­‐client,  repeat •

    Berkshelf+Vagrant  and  local  development • Cookbook  Chef  Organiza7on   • Build  server  integra7on  for  mul7ple  orgs – foodcri7c – Unit/Integra7on  tests Monday, May 13, 13
  10. Everyone  should  write  cookbooks • Well,  maybe  not  everyone •

    Can  be  a  distrac7on  from  wri7ng  actual  code • Not  everyone  wants  to  write  cookbooks • Liale  consistency  in  style,  quality,   interoperability,  etc • Rapidly  changing  stack:  Berkshelf,  Vagrant,   EC2,  etc • Who  “owns”  a  cookbook?  Who  should? 11 Monday, May 13, 13
  11. Roles  and  environments • Confusing  work  flows • Lack  of

     versions • Everything  in  a  cookbook – wrapper  cookbooks – One  item  per  node  run  list • Build  server  integra7on Monday, May 13, 13
  12. I  can’t  be  alone • How  are  other  large  “enterprise”

     companies   doing  this? • Community  seems  oriented  toward  small  and/ or  homogeneous  users • We’re  hiring.  Work  remote. 13 Monday, May 13, 13