Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Chef workflow at Etsy
Search
Daniel Schauenberg
January 29, 2013
Technology
8
1.7k
Chef workflow at Etsy
Quick overview over the Chef workflow at Etsy for the chef-nyc meetup
Daniel Schauenberg
January 29, 2013
Tweet
Share
More Decks by Daniel Schauenberg
See All by Daniel Schauenberg
The Road to Success is paved with Small Improvements
mrtazz
4
1.5k
Human Factors and PostMortems
mrtazz
3
750
Deploy, Collaborate and Listen
mrtazz
2
700
Data Driven Monitoring
mrtazz
2
760
Mobile CI at Etsy
mrtazz
2
500
Development, Deployment & Collaboration at Etsy
mrtazz
5
15k
A Whirlwind Tour of Etsy's Monitoring Stack
mrtazz
6
2.6k
Co-Workers As Customers: Lessons from Airbnb & Etsy
mrtazz
7
740
Development, Deployment and Collaboration at Etsy
mrtazz
9
5.6k
Other Decks in Technology
See All in Technology
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
1
5k
プロダクト組織で取り組むアドベントカレンダー/Advent Calendar in Product Teams
mixplace
0
680
AWS re:Invent 2024 ふりかえり勉強会
yhana
0
710
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
750
三菱電機で社内コミュニティを立ち上げた話
kurebayashi
1
320
コロプラのオンボーディングを採用から語りたい
colopl
2
300
今年一年で頑張ること / What I will do my best this year
pauli
1
190
知っててうれしい SQL について
greendrop
0
110
普通のエンジニアがLaravelコアチームメンバーになるまで
avosalmon
0
670
商品レコメンドでのexplicit negative feedbackの活用
alpicola
1
170
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
400
プロダクトの寿命を延ばすためにエンジニアが考えるべきこと 〜バージョンアップってなんのためにやるのか〜 / Strategies for product longevity
kaonavi
0
100
Featured
See All Featured
The Invisible Side of Design
smashingmag
299
50k
jQuery: Nuts, Bolts and Bling
dougneiner
62
7.6k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
200
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Gamification - CAS2011
davidbonilla
80
5.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Transcript
Chef workflow at Daniel Schauenberg
[email protected]
@mrtazz Tuesday, January 29,
13
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
jonlives/knife-spork Tuesday, January 29, 13
Tuesday, January 29, 13
% shef chef > recipe chef:recipe > echo off chef:recipe
> include_recipe "apache" chef:recipe > run_chef Tuesday, January 29, 13
% review -r jcowie --cc ops Tuesday, January 29, 13
% knife spork check apache % knife spork bump apache
% git commit % git push % knife spork upload apache Staging Deploy Tuesday, January 29, 13
jonlives/knife-flip % knife node flip node.etsy.com testing % knife role
flip testRole testing Tuesday, January 29, 13
% knife spork promote apache % git commit % git
push % knife spork promote apache --remote Production Deploy Tuesday, January 29, 13
19:18:06 irccat | CHEF: Daniel Schauenberg promoted
[email protected]
to development
https://github.etsycorp.com/gist/12345 19:18:06 irccat | CHEF: Daniel Schauenberg promoted
[email protected]
to production https://github.etsycorp.com/gist/12346 Tuesday, January 29, 13
19:20:00 irccat | Chef run failed on test.etsy.com 19:20:00 irccat
| https://github.etsycorp.com/gist/ 12347 etsy/chef-handlers % knife node lastrun test.etsy.com jgoulah/knife-lastrun Tuesday, January 29, 13
Tuesday, January 29, 13
Summary • GitHub Enterprise, Dev VMs, shef as development environment
• Chef Server and knife-spork as Deployment System • Monitoring, Notifications, Graphs Tuesday, January 29, 13
• 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-lastrun Tuesday, January 29, 13
Chef workflow at Daniel Schauenberg
[email protected]
@mrtazz Tuesday, January 29,
13