this presentation was given on 3/6/2012 at the Los Angeles Drupal High Performance Meetup. the space was generously offered by Filter Digital.
Craig McEldowney (@craigmceldowney) and Steve Rifkin (@steverifkin) of Exaltation of Larks (@LarksLA) have been using Chef and Knife to construct their sever deployment in a repeatable format that keeps track of the architecture and can make changes on the fly. This presentation will include a quick 30-minute demo on how to setup chef on Mac OS X, use the opscode managed hosting to test, and deploy some servers!
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
Cooking with chef
1. Getting Crafty
in the kitchen
With Chef
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
2. Presenters
Steve Rifkin
Craig McEldowney
d.o.
stevenator craigmc
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
3. Agenda
Overview Demo
Intro to Chef Q/A
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
4. What is Chef
Open source sytems integration framework by Opscode
With Chef, you write abstract definitions as source code to describe how you
want each part of your infrastructure to be built, and then apply those
descriptions to individual servers.
The result is a fully automated infrastructure: when a new server comes on
line, the only thing you have to do is tell Chef what role it should play in your
architecture.
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
6. Why Chef
Golden Images
Automated / Repeatable process
Idempotent
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
7. Where are the cooks?
Workstation
Chef Server
Chef Client
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
8. Other Kitchens (our word not theirs)
Chef Server
Chef Solo
Hosted Chef
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
9. Hosted Chef with Opscode
$700/mo. -- 100 Nodes -- 50 Users
$300/mo. -- 50 Nodes -- 20 Users
$100/mo. -- 20 Nodes -- 10 Users
Free -- 5 Nodes -- 1 Users
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
10. Getting Started
Using Ruby, Rubygems, Chef-Client, Knife
current chef version 0.10.8
http://wiki.opscode.com/display/chef/Workstation+Setup
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
11. Getting Started
Ruby Version Manager (RVM)
rvm install 1.9.3
rvm use 1.9.3
Gotchas
preceed commands with rvm; ex: rvm gem install chef
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
12. Utensils (again, our word not theirs)
Optional But Mandatory for the Cloud
http://wiki.opscode.com/display/chef/Launch+Cloud+Instances+with+Knife
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
13. Your Chef Repository
http://wiki.opscode.com/display/chef/Creating+a+Chef+Repository
getting cookbooks from the community
http://community.opscode.com/
github
knife cookbook site install COOKBOOK [VERSION] (options)
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
14. Knife Demo
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
15. Nomenclature
Cookbooks Nodes
Recipes Roles
Templates Run Lists
Attributes Data Bags
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
16. Advanced Ingredients
Shef http://wiki.opscode.com/display/chef/Shef
Vagrant http://wiki.opscode.com/display/chef/Vagrant
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012
17. Sources
http://beginrescueend.com/ (Ruby Version Manager)
http://wiki.opscode.com
http://wiki.opscode.com/display/chef/Chef+Essentials
http://community.opscode.com
http://wiki.opscode.com/display/chef/Architecture
http://www.opscode.com/hosted-chef
@larksla @FILTERdigital @steverifkin @craigmceldowney
High Performance - Los Angeles, CA - FILTER Digital 3/6/2012
Tuesday, March 6, 2012