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
Opscode Chef
Search
San Diego DevOps
November 21, 2012
Technology
0
85
Opscode Chef
Presentation presented in November 2012
San Diego DevOps
November 21, 2012
Tweet
Share
More Decks by San Diego DevOps
See All by San Diego DevOps
Graphite: Scalable Real-time Graphing
sddevops
4
130
OSSEC: Host-Based Intrusion Detection and Prevention System
sddevops
0
210
Automating the Hadoop Stack with Chef
sddevops
0
68
Other Decks in Technology
See All in Technology
20250929_QaaS_vol20
mura_shin
0
110
stupid jj tricks
indirect
0
7.5k
GA technologiesでのAI-Readyの取り組み@DataOps Night
yuto16
0
230
コンテキストエンジニアリングとは? 考え方と応用方法
findy_eventslides
4
810
C# 14 / .NET 10 の新機能 (RC 1 時点)
nenonaninu
1
1.2k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
ZennとCloud Runの歩み - プロダクト開発に全集中できる相棒になるまで
wadayusuke
5
620
Why React!?? Next.jsそしてReactを改めてイチから選ぶ
ypresto
9
3.6k
DEFCON CHV CTF 2025 Write-up
bata_24
0
190
5年間のFintech × Rails実践に学ぶ - 基本に忠実な運用で築く高信頼性システム / 5 Years Fintech Rails Retrospective
ohbarye
9
3.4k
北海道の人に知ってもらいたいGISスポット / gis-spot-in-hokkaido-2025
sakaik
0
190
全てGoで作るP2P対戦ゲーム入門
ponyo877
3
1.2k
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
The Language of Interfaces
destraynor
162
25k
Typedesign – Prime Four
hannesfritz
42
2.8k
Automating Front-end Workflow
addyosmani
1371
200k
4 Signs Your Business is Dying
shpigford
185
22k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
Building Applications with DynamoDB
mza
96
6.6k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
Writing Fast Ruby
sferik
629
62k
A designer walks into a library…
pauljervisheath
208
24k
Transcript
San Diego DevOps November 2012 © Copyright 2012 OneHealth Solutions,
Inc 9/19/13 1
What is Chef? • Infrastructure automation framework • Supports systems
and cloud • Infrastructure as Code - Abstract definitions (cookbooks and recipes) - Defined library and primitives - Ruby based providing flexibility • TIMTOWTDI - Framework does not tell sysadmins how to manage infrastructure • Apache 2.0 Licensed © Copyright 2012 OneHealth Solutions, Inc 9/19/13 2
© Copyright 2012 OneHealth Solutions, Inc 9/19/13 3
Chef Components Chef Server Central hub for cookbooks, policies, node
data REST API – Knife and Client Endpoint Manager - Web Interface Nodes (Virtual or Physical) Chef Client - performs all of the steps required to bring the node into the expected state Ohai - detect certain properties about a node’s environment © Copyright 2012 OneHealth Solutions, Inc 9/19/13 4
Chef Components Workstation(s) Knife - Command-line tool that provides an
interface between a local Chef repository and the Chef server. Repository - The location in which the following data objects are stored: - Cookbooks (including recipes, versions, cookbook attributes, resources, providers, libraries, and templates) - Roles - Data bags - Environments - Configuration files (for clients, workstations, and servers) Chef Solo - Chef Shell (shef) - IRB-like chef console © Copyright 2012 OneHealth Solutions, Inc 9/19/13 5
Demo © Copyright 2012 OneHealth Solutions, Inc 9/19/13 6
Chef Related Projects • Cookbook Workflow Management - http://berkshelf.com/ -
https://github.com/jonlives/knife-spork - https://github.com/applicationsonline/librarian - https://github.com/mattray/spiceweasel • Cookbook Testing - http://acrmp.github.com/foodcritic/ - https://github.com/customink/fauxhai - https://rubygems.org/gems/test-kitchen - http://www.cucumber-chef.org/ - https://github.com/acrmp/chefspec - https://rubygems.org/gems/minitest-chef-handler © Copyright 2012 OneHealth Solutions, Inc 9/19/13 7
Chef Related Projects • Continuous Delivery - http://community.opscode.com/cookbooks/artifact - http://community.opscode.com/cookbooks/metarepo
• This is work in progress • Knife Community Plugins http://wiki.opscode.com/display/chef/Community +Plugins - Ssh - tmux - Cloud management: euca, openstack, ec2, etc. © Copyright 2012 OneHealth Solutions, Inc 9/19/13 8
Chef Related Projects • Vagrant - http://www.vagrantup.com/ - https://github.com/jedi4ever/veewee -
https://github.com/opscode/bento - https://github.com/BIAINC/vagrant-windows • Sensu - http://www.sonian.com/cloud-monitoring-sensu/ • SaaS: Right Scale, Engine Yard © Copyright 2012 OneHealth Solutions, Inc 9/19/13 9
Chef Resources • Opscode Resources - http://www.opscode.com/chef/ - http://wiki.opscode.com/ -
http://docs.opscode.com/ - http://community.opscode.com/ • Community Resources - http://foodfightshow.org/ • Recent Chef Videos - http://www.youtube.com/watch?v=GG1IKp2H4uE - http://www.youtube.com/watch?v=h_IEfNklzW4 © Copyright 2012 OneHealth Solutions, Inc 9/19/13 10