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
joren
April 07, 2013
Technology
0
120
Chef and Rails, our story
A little story about how we use Chef and Rails for our custom controlpanel.
joren
April 07, 2013
Tweet
Share
More Decks by joren
See All by joren
Sock Techtalk
joren
0
290
RubyCamp BE #01
joren
0
130
Ruby on Rails introduction
joren
0
340
Git techtalk [dutch]
joren
0
410
Mo.by
joren
0
72
Drupal deployments met Capistrano
joren
2
540
Git Techtalk
joren
3
190
Git
joren
11
1.7k
Other Decks in Technology
See All in Technology
業務の煩悩を祓うAI活用術108選 / AI 108 Usages
smartbank
9
19k
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
5
12k
アラフォーおじさん、はじめてre:Inventに行く / A 40-Something Guy’s First re:Invent Adventure
kaminashi
0
210
Cloud WAN MCP Serverから考える新しいネットワーク運用 / 20251228 Masaki Okuda
shift_evolve
PRO
0
130
戰略轉變:從建構 AI 代理人到發展可擴展的技能生態系統
appleboy
0
170
Everything As Code
yosuke_ai
0
470
テストセンター受験、オンライン受験、どっちなんだい?
yama3133
0
200
LayerX QA Night#1
koyaman2
0
300
「もしもデータ基盤開発で『強くてニューゲーム』ができたなら今の僕はどんなデータ基盤を作っただろう」
aeonpeople
0
280
_第4回__AIxIoTビジネス共創ラボ紹介資料_20251203.pdf
iotcomjpadmin
0
170
AWS re:Inventre:cap ~AmazonNova 2 Omniのワークショップを体験してきた~
nrinetcom
PRO
0
120
Next.js 16の新機能 Cache Components について
sutetotanuki
0
210
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
200
Tell your own story through comics
letsgokoyo
0
770
The Language of Interfaces
destraynor
162
26k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
120
Thoughts on Productivity
jonyablonski
73
5k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
330
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
96
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
110
Code Review Best Practice
trishagee
74
19k
Documentation Writing (for coders)
carmenintech
77
5.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
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