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
280
RubyCamp BE #01
joren
0
120
Ruby on Rails introduction
joren
0
330
Git techtalk [dutch]
joren
0
400
Mo.by
joren
0
66
Drupal deployments met Capistrano
joren
2
530
Git Techtalk
joren
3
180
Git
joren
11
1.7k
Other Decks in Technology
See All in Technology
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
18
5.5k
DevFest 2024 Incheon / Songdo - Compose UI 조합 심화
wisemuji
0
160
KnowledgeBaseDocuments APIでベクトルインデックス管理を自動化する
iidaxs
1
280
20241220_S3 tablesの使い方を検証してみた
handy
4
690
Working as a Server-side Engineer at LY Corporation
lycorp_recruit_jp
0
370
How to be an AWS Community Builder | 君もAWS Community Builderになろう!〜2024 冬 CB募集直前対策編?!〜
coosuke
PRO
2
2.9k
怖くない!ゼロから始めるPHPソースコードコンパイル入門
colopl
0
160
普通のエンジニアがLaravelコアチームメンバーになるまで
avosalmon
0
120
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
3
1.4k
[JAWS-UG新潟#20] re:Invent2024 -CloudOperationsアップデートについて-
shintaro_fukatsu
0
120
プロダクト開発を加速させるためのQA文化の築き方 / How to build QA culture to accelerate product development
mii3king
1
290
TypeScript開発にモジュラーモノリスを持ち込む
sansantech
PRO
2
650
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
96
5.2k
For a Future-Friendly Web
brad_frost
175
9.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Adopting Sorbet at Scale
ufuk
73
9.1k
Site-Speed That Sticks
csswizardry
2
190
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Writing Fast Ruby
sferik
628
61k
Visualization
eitanlees
146
15k
Building an army of robots
kneath
302
44k
Unsuck your backbone
ammeep
669
57k
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