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
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
430
Mo.by
joren
0
84
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
もりもり新機能を一挙紹介! AgentCoreに入門して、AWS上にAIエージェントを構築しよう
minorun365
PRO
6
600
プラットフォームエンジニア ワークショップ/ platform-workshop
databricksjapan
0
150
AIプラットフォームを運用し続けるための可観測性
tanimuyk
4
930
大学生が本気でDatabricksを活用してDiscordサークルをデータ駆動させてみた
phantomjuju
1
310
食べログのサーキットブレーカー導入を振り返って
atpons
1
160
組織の中で自分を経営する技術
shoota
0
230
Claude Codeですべての日常業務を爆速化しよう!
minorun365
PRO
17
16k
GoとSIMDとWasmの今。
askua
2
430
開発を止めない CI/CD ~CI Visibilityによる継続的最適化~
pensuke628
0
230
TROCCOで始めるクラウドコストを民主化するためのFinOps
tk3fftk
2
530
APIテストとは?
nagix
0
160
関西に縁あるMicrosoft MVPsが語るCopilotの未来
kasada
0
940
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
Are puppies a ranking factor?
jonoalderson
1
3.5k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
300
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
560
30 Presentation Tips
portentint
PRO
1
310
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
380
Bash Introduction
62gerente
615
210k
Agile that works and the tools we love
rasmusluckow
331
21k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
360
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