Chef workflow at                            Daniel Schauenberg                          dschauenberg@etsy.com              ...
Etsy Infrastructure                    • ~1000 nodes                    • ~30 dev/ops engineers making changes            ...
jonlives/knife-sporkTuesday, January 29, 13
Tuesday, January 29, 13
% shef  chef > recipe  chef:recipe > echo off  chef:recipe > include_recipe "apache"  chef:recipe > run_chefTuesday, Janua...
% review -r jcowie --cc opsTuesday, January 29, 13
% knife spork check apache                % knife spork bump apache                % git commit                % git push ...
jonlives/knife-flip                          % knife node flip node.etsy.com testing                          % knife role fl...
% knife spork promote apache  % git commit  % git push  % knife spork promote apache --remote                          Pro...
19:18:06 irccat | CHEF: Daniel Schauenberg        promoted apache@0.0.2 to development        https://github.etsycorp.com/...
etsy/chef-handlers   19:20:00 irccat | Chef run failed on test.etsy.com   19:20:00 irccat | https://github.etsycorp.com/gi...
Tuesday, January 29, 13
Summary                    • GitHub Enterprise, Dev VMs, shef as                          development environment         ...
• http://codeascraft.etsy.com/                    • http://www.slideshare.net/jonlives/michelin-                          ...
Chef workflow at                            Daniel Schauenberg                          dschauenberg@etsy.com              ...
Upcoming SlideShare
Loading in...5
×

Etsy chef-workflow

4,463

Published on

0 Comments
10 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,463
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
23
Comments
0
Likes
10
Embeds 0
No embeds

No notes for slide

Etsy chef-workflow

  1. 1. Chef workflow at Daniel Schauenberg dschauenberg@etsy.com @mrtazzTuesday, January 29, 13
  2. 2. Etsy Infrastructure • ~1000 nodes • ~30 dev/ops engineers making changes regularly • Open Source Chef server + GitHub Enterprise • Default environment setup (production, development, testing)Tuesday, January 29, 13
  3. 3. jonlives/knife-sporkTuesday, January 29, 13
  4. 4. Tuesday, January 29, 13
  5. 5. % shef chef > recipe chef:recipe > echo off chef:recipe > include_recipe "apache" chef:recipe > run_chefTuesday, January 29, 13
  6. 6. % review -r jcowie --cc opsTuesday, January 29, 13
  7. 7. % knife spork check apache % knife spork bump apache % git commit % git push % knife spork upload apache Staging DeployTuesday, January 29, 13
  8. 8. jonlives/knife-flip % knife node flip node.etsy.com testing % knife role flip testRole testingTuesday, January 29, 13
  9. 9. % knife spork promote apache % git commit % git push % knife spork promote apache --remote Production DeployTuesday, January 29, 13
  10. 10. 19:18:06 irccat | CHEF: Daniel Schauenberg promoted apache@0.0.2 to development https://github.etsycorp.com/gist/12345 19:18:06 irccat | CHEF: Daniel Schauenberg promoted apache@0.0.2 to production https://github.etsycorp.com/gist/12346Tuesday, January 29, 13
  11. 11. etsy/chef-handlers 19:20:00 irccat | Chef run failed on test.etsy.com 19:20:00 irccat | https://github.etsycorp.com/gist/ 12347 jgoulah/knife-lastrun % knife node lastrun test.etsy.comTuesday, January 29, 13
  12. 12. Tuesday, January 29, 13
  13. 13. Summary • GitHub Enterprise, Dev VMs, shef as development environment • Chef Server and knife-spork as Deployment System • Monitoring, Notifications, GraphsTuesday, January 29, 13
  14. 14. • http://codeascraft.etsy.com/ • http://www.slideshare.net/jonlives/michelin- starred-cooking-with-chef • http://www.slideshare.net/mcdonnps/ lessons-from-etsy-avoiding-kitchen- nightmares-chefconf-2012 • https://github.com/jonlives/knife-spork • https://github.com/jonlives/knife-flip • https://github.com/jgoulah/knife-lastrunTuesday, January 29, 13
  15. 15. Chef workflow at Daniel Schauenberg dschauenberg@etsy.com @mrtazzTuesday, January 29, 13
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×