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
720
Deploy, Collaborate and Listen
mrtazz
2
690
Data Driven Monitoring
mrtazz
2
760
Mobile CI at Etsy
mrtazz
2
490
Development, Deployment & Collaboration at Etsy
mrtazz
5
15k
A Whirlwind Tour of Etsy's Monitoring Stack
mrtazz
6
2.5k
Co-Workers As Customers: Lessons from Airbnb & Etsy
mrtazz
7
730
Development, Deployment and Collaboration at Etsy
mrtazz
9
5.6k
Other Decks in Technology
See All in Technology
リアルお遍路+SORACOM IoT
ozk009
1
120
突撃! 隣のAmazon Bedrockユーザー 〜YouはどうしてAWSで?〜
minorun365
PRO
3
320
LLVM/ASMを使った有限体の高速実装
herumi
0
120
AI でアップデートする既存テクノロジーと、クラウドエンジニアの生きる道
soracom
PRO
2
390
Privacy Sandbox on Android / DroidKaigi 2024
7pairs
1
160
事前準備が肝!AI活用のための業務改革
layerx
PRO
1
150
すぐに始めるAWSコスト削減。短期でできる改善策と長期的な運用負荷軽減への取り組み方を解説
ncdc
1
550
難しいから面白い!医薬品×在庫管理ドメインの複雑性と向き合い、プロダクトの成長を支えるための取り組み / Initiatives to Support Product Growth
kakehashi
2
190
Oracle Autonomous Database:サービス概要のご紹介
oracle4engineer
PRO
1
7k
EitherT_with_Future
aoiroaoino
1
1.1k
SORACOMで実現するIoTのマルチクラウド対応 - IoTでのクリーンアーキテクチャの実現 -
kenichirokimura
0
350
プログラム検証入門
riru
1
480
Featured
See All Featured
Fireside Chat
paigeccino
31
2.9k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2k
Unsuck your backbone
ammeep
667
57k
No one is an island. Learnings from fostering a developers community.
thoeni
18
2.9k
Large-scale JavaScript Application Architecture
addyosmani
508
110k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
326
21k
Rails Girls Zürich Keynote
gr2m
93
13k
The Language of Interfaces
destraynor
153
23k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
52k
How GitHub Uses GitHub to Build GitHub
holman
472
290k
Building a Scalable Design System with Sketch
lauravandoore
458
32k
Being A Developer After 40
akosma
83
590k
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