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

Configuration Management is an Anti-Pattern

Configuration Management is an Anti-Pattern

Slides from my talk at DevOpsDays Boise

Jonah Horowitz

October 07, 2016
Tweet

More Decks by Jonah Horowitz

Other Decks in Technology

Transcript

  1. @jonahhorowitz The Configuration Management Antipattern

  2. @jonahhorowitz [email protected]$ cvs update website [email protected]$ tar zcvf website.tar.gz website

    [email protected]$ scp website.tar.gz [email protected]:/var/something/ [email protected]$ ssh [email protected] server1# cd /var/something server1# mv website website-`date` server1# tar zxf website.tar.gz server1# /etc/init.d/website restart server1# ^D … Rinse, Repeat …
  3. @jonahhorowitz #!/bin/bash BOX=$1 NEWCODE=$2 scp $NEWCODE [email protected]$BOX:/var/something/ ssh [email protected]$BOX “(cd

    /var/something ; tar zxf $NEWCODE ; /etc/init.d/tomcat restart)”
  4. @jonahhorowitz #!/bin/bash BOX=$1 NEWCODE=$2 scp $NEWCODE [email protected]$BOX:/var/something/ ssh [email protected]$BOX “(cd

    /var/something ; tar zxf $NEWCODE ; /etc/init.d/tomcat restart)” [email protected]$ cvs update website [email protected]$ tar zcvf website.tar.gz website [email protected] $ for box in `cat serverlist\boxen.txt` ; do \ tools/update-code.sh $box website.tar.gz done
  5. @jonahhorowitz

  6. @jonahhorowitz CFEngine (2) was great… for its time Before CFEngine

    Time to provision a new server: 1 Day Chance a mistake was made: 50/50 Percentage of fleet we understood: 70 After CFEngine 2 Time to provision a new server: 1 hour Chance a mistake was made: 1% Percentage of fleet we understood: 99
  7. @jonahhorowitz Puppet

  8. @jonahhorowitz So, who am I? Jonah Horowitz Senior Site Reliability

    Engineer Netflix CORE SRE (Cloud Operations Reliability Engineering) [email protected]
  9. @jonahhorowitz C loud O perations R eliability E ngineering

  10. @jonahhorowitz What sucks about Config Management?

  11. @jonahhorowitz Release Engineering Still Sucks

  12. @jonahhorowitz What’s the alternative?

  13. @jonahhorowitz Chaos

  14. @jonahhorowitz Cloud or Not

  15. @jonahhorowitz Jonah Horowitz Senior Site Reliability Engineer @jonahhorowitz https://netflix.github.io/ https://jobs.netflix.com/