Save 37% off PRO during our Black Friday Sale! »

Configuration Management is an Anti-Pattern

Configuration Management is an Anti-Pattern

Slides from my talk at DevOpsDays Boise

8f906b03ddbe28e1044a392f560e6da6?s=128

Jonah Horowitz

October 07, 2016
Tweet

Transcript

  1. @jonahhorowitz The Configuration Management Antipattern

  2. @jonahhorowitz jonah@laptop$ cvs update website jonah@laptop$ tar zcvf website.tar.gz website

    jonah@laptop$ scp website.tar.gz root@server1:/var/something/ jonah@laptop$ ssh root@server1 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 root@$BOX:/var/something/ ssh root@$BOX “(cd

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

    /var/something ; tar zxf $NEWCODE ; /etc/init.d/tomcat restart)” jonah@laptop$ cvs update website jonah@laptop$ tar zcvf website.tar.gz website jonah@laptop $ 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) jhorowitz@netflix.com
  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/