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
Sysops cu Chef by Istvan Hoka
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
GeekMeetRo
September 29, 2012
Programming
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Sysops cu Chef by Istvan Hoka
GeekMeetRo
September 29, 2012
More Decks by GeekMeetRo
See All by GeekMeetRo
Process Improvement by Adrian Cighi
geekmeetcluj
0
250
TodaySoftwareMagazine by Ovidiu Matan
geekmeetcluj
1
110
Stas Sușcov - ”Ember.js și Jasmine BDD. Proiectul TodoMVC.”
geekmeetcluj
1
590
Mai mult decat Unit Teste by Adrian Roiban
geekmeetcluj
1
260
Metodologii de design; design-ul ca proces decizional by David Stroe
geekmeetcluj
2
460
Man vs. Wild: Freelancer Edition by Radu Ceucă
geekmeetcluj
1
510
Other Decks in Programming
See All in Programming
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
610
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
200
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
100
【やさしく解説 設計編 #0】DDDのコード、読めるのに分からない人へ
panda728
PRO
2
250
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
1
250
自作OSでスライド発表する
uyuki234
1
3.8k
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
12
4.7k
えっ!!コードを読まずに開発を!?
hananouchi
0
190
AI時代、エンジニアはどう育つのか -未経験エンジニアの成長を間近で見て考えたこと-
thasu0123
0
100
言語を使う側から、作る側へ。 自作 Lisp で得た新たな気づき。
andpad
0
110
音楽のための関数型プログラミング言語mimiumにおける多段階計算の活用
tomoyanonymous
1
310
『コードを書く以外の』エンジニアリング〜課金基盤移行プロジェクト推進のためのTips4選
yuriko1211
0
330
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Ruling the World: When Life Gets Gamed
codingconduct
0
280
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
310
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
330
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
290
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
150
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
A Tale of Four Properties
chriscoyier
163
24k
Optimizing for Happiness
mojombo
378
71k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
370
Transcript
Sysops cu Chef infrastructură sub formă de cod Istvan Hoka
Cluj.rb - clujrb.org www.zencash.com Saturday, September 29, 12
Intro 1. Chef: ce problema rezolva si cum o rezolva
2. Un mod usor de a incerca Chef 3. Folosire Chef la infrastructura pentru inceput Saturday, September 29, 12
Chef h7p://www.opscode.com/chef/ Saturday, September 29, 12
"An open-‐source systems integra@on framework built specifically for
automa@ng the cloud." Saturday, September 29, 12
automa@ng the cloud ? Saturday, September 29, 12
Saturday, September 29, 12
Rails app •Nginx •Unicorn •Rails •MySQL •Redis •Memcache •Solr •Monit
•Cron •Amazon EC2 •Ubuntu •Sysadmin: Gigel Saturday, September 29, 12
The Server Saturday, September 29, 12
Saturday, September 29, 12
Jackpot! Saturday, September 29, 12
Saturday, September 29, 12
The Server Mission accomplished Saturday, September 29, 12
Scaling Saturday, September 29, 12
DB App Take #2 Saturday, September 29, 12
Scaling! Saturday, September 29, 12
App 1 DB Master Index 1 Slave 1 Slave 2
Redis Master Slave Cache 1 Cache 3 Cache 2 Load balancer App 2 App 3 App 4 Take #3 Saturday, September 29, 12
Cum rezolvă Chef problema? Saturday, September 29, 12
DB Master Index 1 Slave 1 Slave 2 Redis Master
Slave Cache 1 Cache 3 Cache 2 Node. Role: LB Chef server Node. Role: App Node. Role: App Node. Role: App Node. Role: App Saturday, September 29, 12
Chef Server knife (chef-client) Node (chef-client) Node (chef-client) Node (chef-client)
Cookbooks Roles Data Bags Nodes Cookbooks Nodes Data Bags Roles Commands Saturday, September 29, 12
Chef Server • HTTP API ‣ knife ‣ chef-‐solo •
CouchDB ‣ cookbooks: libraries, a7ributes, defini@ons, recipes ‣ nodes ‣ roles ‣ data bags • RabbitMQ • Solr • Web UI Saturday, September 29, 12
chef-‐client run • Convergence ‣ Build, Register, and Authen@cate the
Node ‣ Synchronize Cookbooks • Compile ‣ Assemble Libraries, A7ributes, Defini@ons, Recipes • Execute ‣ Converge ‣ Save node ‣ Run no@fica@ons Saturday, September 29, 12
Cookbooks • A7ributes • Defini@ons • Libraries • Templates •
Metadata • Recipes • Ruby, JSON, ERB Saturday, September 29, 12
Chef “Hello World”? •Chef Server •Chef client •Chef workstaLon Saturday,
September 29, 12
Chef Hello World 1. Hosted Chef + AWS EC2 2.
VirtualizaLon Saturday, September 29, 12
Vagrant h7p://vagrantup.com/ Saturday, September 29, 12
Vagrant •Oracle VirtualBox -‐ virtualbox.org •Chef Solo Saturday, September 29,
12
Vagrant setup 1. Install VirtualBox 2. Install Vagrant 3. Setup
Saturday, September 29, 12
Vagran_ile Saturday, September 29, 12
Vagrant Host OS: Windows, OSX, Linux Guest OS (VirtualBox): Linux
/vagrant Apache MySQL Memcache Redis `pwd` Saturday, September 29, 12
•hUps://github.com/opscode-‐cookbooks •hUps://github.com/37signals/ 37s_cookbooks •hUps://github.com/engineyard/ey-‐cloud-‐ recipes •hUps://github.com/cookbooks Cookbooks Saturday, September 29,
12
Vagrant •Web dev pe Linux de pe Windows, OSX •Izolare
•ConfiguraLe repetabila Saturday, September 29, 12
Chef Solo + Capistrano Saturday, September 29, 12
Chef •Infrastructura ca si cod •ConfiguraLe repetabila •Scalabil Saturday, September
29, 12