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

One Does Not Simply Walk into Devops

Uri Cohen
January 29, 2013

One Does Not Simply Walk into Devops

DevOps is much more than tooling and technical details, it’s first and foremost a cultural and operational shift. This deck was given at www.devopscon.com, and covers some of the principles and best practices preached for by devops thought leaders such as John Allspaw, Jesse Robbins, Adrian Cockroft, Jez Humble and others.

Uri Cohen

January 29, 2013
Tweet

More Decks by Uri Cohen

Other Decks in Technology

Transcript

  1. “stresses   communica(on  &   collabora(on  ...     aims

     to  help  an   organiza2on  rapidly   produce  so3ware   products  and   services”  
  2. “The  DevOps   movement  was   born  of  the  need

     to   improve  IT  service   delivery  agility...  “  
  3. Jesse  Robbins,   OpsCode   “Some  of  that  is  

    tools  ...  A  big  part  of   that  is  culture”  
  4. So…  What  Is   It  about?   It’s  about  shipping

      be6er  so@ware,   faster  &  more   consistently     •  Where  tradi0onal  dev   and  ops  roles  fail  to   deliver    
  5. Jesse’s   Taxonomy     (I  know,  this  can  also

      start  a  flame  war…)   Dev  &  Ops  as  Teams   (Culture  &  Processes)   Infrastructure  as  Code   Applica0on  as  Services    
  6. Trust  &   Responsibility     Allspaw’s  Take    

    Devs  own  their   code,  so  they   expect  24x7   contact  with  it  
  7. Trust  &   Responsibility     Allspaw’s  Take    

    When  things   break,  dev  and   ops  both   par0cipate    
  8. Trust  &   Responsibility     Allspaw’s  Take    

    Post  mortems   have  dev  and  ops   remedia0ons    
  9. “Everyone  who  has   changes  going  out   is  accounted

     for  and   is  ac2vely  tes2ng   and  suppor2ng   their  changes”   Chuck  Rossi,   Facebook  
  10.     Measure   Everything   “If  it  moves,  graph

      it.  If  it  maHers,  alert   on  it”   Allspaw  
  11.   Not  Just   Infrastructure   •  Measure  infra,  app

      and  business  KPIs   •  Don’t  just  measure,   correlate  
  12. Chuck  Rossi,   Facebook   “Ship  early,     ship

     o@en”   •  Small  increments   •  Undeployed  code  is   lost  value    
  13. 11.6  seconds   Mean  0me  between  deployments     1079

      Max  number  of  deployments  /  hour       10,000     Mean  number  of  hosts  simultaneously   receiving  a  deployment             Source:  John  Jenkins  
  14. Well  Defined   Rollout   Mechanism   •  Canary  tests

      •  Red/Black   Deployment   •  Dark  launches    
  15. A  Self-­‐ Service  Data   Center  Really   Helps  

    (Even  more  so  if   it  has  an  API..)    
  16. The  Common   to  All  the   Above   • 

    Infrastructure  as   product,  app  devs   as  customers     – NeBlix  calls  it  NoOps,   but  it  pisses  of  Allspaw  
  17. •  Small  services   with  APIs   – Easier  to  ship,

     easier  to   debug,  easier  to   manage  at  large  scale   – Caveat:  forward  and   backward  compa0bility   – @adrianco’s  “an0-­‐ fragility”    
  18. Resiliency  in   the  So@ware   Stack     • 

    We  assume   commodity  HW,   Cloud   •  So  we  have  to   build  reliability   into  our  code    
  19. What’s  Next?   – Not  everyone  is   Amazon  &  Ne^lix

        – The  next  challenge  is   to  make  this   accessible  to  all