Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Sysops cu Chef by Istvan Hoka
Search
GeekMeetRo
September 29, 2012
Programming
220
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
600
Mai mult decat Unit Teste by Adrian Roiban
geekmeetcluj
1
260
Metodologii de design; design-ul ca proces decizional by David Stroe
geekmeetcluj
2
470
Man vs. Wild: Freelancer Edition by Radu Ceucă
geekmeetcluj
1
520
Other Decks in Programming
See All in Programming
Heart of Swift Concurrency
koher
0
480
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
110
What We Talk About When We Talk About XP
m_seki
2
610
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
150
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
150
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
480
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
270
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
0
250
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
200
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
120
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
140
A2UI for Android: Safely Rendering AI-Generated UI with Jetpack Compose - DroidKaigi 2026
itsmedreamwalker
0
110
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
450
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Writing Fast Ruby
sferik
630
63k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
450
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.9k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
500
How to Talk to Developers About Accessibility
jct
2
540
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
930
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
KATA
mclloyd
PRO
35
15k
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