$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Sysops cu Chef by Istvan Hoka
Search
GeekMeetRo
September 29, 2012
Programming
0
210
Sysops cu Chef by Istvan Hoka
GeekMeetRo
September 29, 2012
Tweet
Share
More Decks by GeekMeetRo
See All by GeekMeetRo
Process Improvement by Adrian Cighi
geekmeetcluj
0
240
TodaySoftwareMagazine by Ovidiu Matan
geekmeetcluj
1
100
Stas Sușcov - ”Ember.js și Jasmine BDD. Proiectul TodoMVC.”
geekmeetcluj
1
570
Mai mult decat Unit Teste by Adrian Roiban
geekmeetcluj
1
250
Metodologii de design; design-ul ca proces decizional by David Stroe
geekmeetcluj
2
450
Man vs. Wild: Freelancer Edition by Radu Ceucă
geekmeetcluj
1
500
Other Decks in Programming
See All in Programming
Patterns of Patterns
denyspoltorak
0
320
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
270
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
1.8k
AIコーディングエージェント(skywork)
kondai24
0
200
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
140
SwiftUIで本格音ゲー実装してみた
hypebeans
0
490
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
960
tparseでgo testの出力を見やすくする
utgwkk
2
280
Canon EOS R50 V と R5 Mark II 購入でみえてきた最近のデジイチ VR180 事情、そして VR180 静止画に活路を見出すまで
karad
0
140
TestingOsaka6_Ozono
o3
0
170
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
160
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
330
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
310
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How STYLIGHT went responsive
nonsquared
100
6k
Ethics towards AI in product and experience design
skipperchong
1
140
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
260
How GitHub (no longer) Works
holman
316
140k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Applied NLP in the Age of Generative AI
inesmontani
PRO
3
2k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
80
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