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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Transcript
33 slides
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
More Decks by GeekMeetRo
See All by GeekMeetRo
Process Improvement by Adrian Cighi
geekmeetcluj
0
260
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
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
300
高速開発を止めずに 性能を上げる Flyleのシステム刷新と改善の歴史
azihsoyn
0
110
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
150
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
210
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
Kiro Crewによる開発体験ーKiro CrewでStrands Decider 2B に関する技術検証をやってみた
satoshi256kbyte
1
130
エラーチャンネルのボールを拾い続けて鍛えるエンジニアの地力 / phpcon-niigata2026
meihei3
1
500
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
610
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
260
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
240
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
2
800
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
390
How STYLIGHT went responsive
nonsquared
100
6.4k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
360
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Building an army of robots
kneath
307
47k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
340