Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Chef workflow at Etsy
Daniel Schauenberg
January 29, 2013
Technology
8
1.5k
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.2k
Human Factors and PostMortems
mrtazz
3
610
Deploy, Collaborate and Listen
mrtazz
2
450
Data Driven Monitoring
mrtazz
2
740
Mobile CI at Etsy
mrtazz
2
460
Development, Deployment & Collaboration at Etsy
mrtazz
5
14k
A Whirlwind Tour of Etsy's Monitoring Stack
mrtazz
6
2.3k
Co-Workers As Customers: Lessons from Airbnb & Etsy
mrtazz
7
700
Development, Deployment and Collaboration at Etsy
mrtazz
9
5.3k
Other Decks in Technology
See All in Technology
私のAWS愛を聞け!ここが好きだよAmazon FSx for NetApp ONTAP
non97
0
730
ぼくらが選んだ次のMySQL 8.0 / MySQL80 Which We Choose
line_developers
PRO
7
2.8k
サイバー攻撃を想定したクラウドネイティブセキュリティガイドラインとCNAPP及びSecurity Observabilityの未来
sakon310
4
440
Power Automate for desktopで 配信環境を改善してみた話
akiika
0
220
EC/CRMの自社サービス開発をマネジメントするようになって1年でやってきたこととこれから / devio2022-takano-sho-road-to-good-development-team-management
masaru_b_cl
0
390
漫画で使えそうな背景画像をblenderを使って作ってみた!
nokonoko1203
0
210
セキュアなTerraformの使い方 ~ 機密情報をコードに含めず環境構築するにはどうしたらいいの?
harukasakihara
8
1.3k
私のAWS愛を聞け! ~ここが好きだよStep Functions~ #devio2022
kongmingstrap
0
280
聊聊 Cgo 的二三事
david74chou
0
330
CloudWatchアラームによるサービス継続のための監視入門 / Introduction to Monitoring for Service Continuity with CloudWatch Alarms
inomasosan
1
410
SBOMを利用したソフトウェアサプライチェーンの保護
masahiro331
1
180
Cloud Foundryの移行先はどこか? オープンソースPaaS探し
kolinz
0
350
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
113
15k
What's new in Ruby 2.0
geeforr
335
30k
Large-scale JavaScript Application Architecture
addyosmani
499
110k
Web Components: a chance to create the future
zenorocha
303
40k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
49k
Faster Mobile Websites
deanohume
294
28k
Web development in the modern age
philhawksworth
197
9.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
6
560
Ruby is Unlike a Banana
tanoku
91
9.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
39
13k
The Illustrated Children's Guide to Kubernetes
chrisshort
18
40k
KATA
mclloyd
7
8.8k
Transcript
Chef workflow at Daniel Schauenberg dschauenberg@etsy.com @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 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/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 dschauenberg@etsy.com @mrtazz Tuesday, January 29,
13