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 and Rails, our story
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
joren
April 07, 2013
Technology
130
0
Share
Chef and Rails, our story
A little story about how we use Chef and Rails for our custom controlpanel.
joren
April 07, 2013
More Decks by joren
See All by joren
Sock Techtalk
joren
0
300
RubyCamp BE #01
joren
0
140
Ruby on Rails introduction
joren
0
350
Git techtalk [dutch]
joren
0
420
Mo.by
joren
0
80
Drupal deployments met Capistrano
joren
2
550
Git Techtalk
joren
3
200
Git
joren
11
1.7k
Other Decks in Technology
See All in Technology
みんなの考えた最強のデータ基盤アーキテクチャ'26前期〜前夜祭〜ルーキーズ_資料_遠藤な
endonanana
0
310
会社説明資料|株式会社ギークプラス ソフトウェア事業部
geekplus_tech
0
220
Agent の「自由」と「安全」〜未来に向けて今できること〜
katayan
0
360
オライリーイベント登壇資料「鉄リサイクル・産廃業界におけるAI技術実応用のカタチ」
takarasawa_
0
390
Forget technical debt
ufried
0
190
自動テストだけで リリース判断できるチームへ - 鍵はテストの量ではなくリリース判断基準の再設計にあった / Redesigning Release Criteria for Lightweight Releases
ewa
7
3.7k
クラウドネイティブ DB はいかにして制約を 克服したか? 〜進化歴史から紐解く、スケーラブルアーキテクチャ設計指針〜
hacomono
PRO
6
920
要件定義の精度を高めるための型と生成AIの活用 / Using Types and Generative AI to Improve the Accuracy of Requirements Definition
haru860
0
320
知ってた?JavaScriptの"正しさ"を検証するテストが5万以上もあること(Test262)
riyaamemiya
1
190
雑談は、センサーだった
bitkey
PRO
2
230
エンタープライズの厳格な制約を開発者に意識させない:クラウドネイティブ開発基盤設計/cloudnative-kaigi-golden-path
mhrtech
0
400
SREの仕事は「壊さないこと」ではなくなった 〜自律化していくシステムに、責任と判断を与えるという価値〜 / 20260515 Naoki Shimada
shift_evolve
PRO
1
130
Featured
See All Featured
From π to Pie charts
rasagy
0
180
Making the Leap to Tech Lead
cromwellryan
135
9.8k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
30 Presentation Tips
portentint
PRO
1
290
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
The Curse of the Amulet
leimatthew05
1
12k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
220
The Invisible Side of Design
smashingmag
302
52k
Amusing Abliteration
ianozsvald
1
160
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
180
Writing Fast Ruby
sferik
630
63k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
54k
Transcript
Chef + Rails for customer cloud control zondag 7 april
13
Joren dev Steven ops zondag 7 april 13
Openminds zondag 7 april 13
How it used to be • ./post_install.sh • openminds gem
• rackup omd.rb • data push to Sock zondag 7 april 13
• Idempotence • Time consuming • Direct control • Special
snowflakes Implications for us zondag 7 april 13
for customers • no fixed solution: special snowflakes • one-way
traffic to Sock • not a real control panel zondag 7 april 13
starting with chef zondag 7 april 13
Why Chef zondag 7 april 13
Why Chef zondag 7 april 13
First steps • ./post_install.sh zondag 7 april 13
LAMP Chef Server A M P VPS x zondag 7
april 13
Initial Issues • not always reusable • no why-run zondag
7 april 13
Version management • don’t break old stuff • no major
upgrades • wrapper recipe • new version == new recipe zondag 7 april 13
MySQL::default zondag 7 april 13
Version management Library cookbook Wrapper cookbook zondag 7 april 13
Version management Library cookbook Sock (cookbook) zondag 7 april 13
Sock B.C. • one-way traffic • not a real control
panel • time consuming for us zondag 7 april 13
Sock A.C. • two-way traffic • real control panel •
client in control zondag 7 april 13
How Clients Sock Chef node(s) Openminds zondag 7 april 13
Provisioning Sock zondag 7 april 13
Provisioning Sock zondag 7 april 13
Provisioning Sock zondag 7 april 13
Sock provisions Chef zondag 7 april 13
Chef handling our JSON • Light-Weight Resource and Providers •
Actions: create, update, delete, lock, move, ... zondag 7 april 13
Chef handling our JSON zondag 7 april 13
Chef handling our JSON zondag 7 april 13
Breaking stuff • Cache invalidation • Naming things • Git
usage; working in a team • “but it worked on my Vagrant...” zondag 7 april 13
Sandbox Environment • We still use Vagrant <3 • Mimics
Production Environment • Detailed monitoring zondag 7 april 13
Automated testing • Jenkins • Functional tests • Integration tests
zondag 7 april 13
Knife test zondag 7 april 13
Knife test Food critic zondag 7 april 13
Knife test Food critic zondag 7 april 13
Xen node a node b node c zondag 7 april
13
Xen node a node b node c Integration tests }
zondag 7 april 13
zondag 7 april 13
Le Future • we’re agile, we don’t plan the future
• chef-sock all the things, all the time • better queueing and reporting zondag 7 april 13
Le Future zondag 7 april 13
Thank you. joren Zhann zondag 7 april 13