2. 13 years dev/
consulting
WCMS, ECMS, DAM,
WTF?
6 years Drupal
??? years ad-hoc,
de facto sysadmin
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin
3. DevOps
What is Chef?
Your Kitchen
Stacks of Goodness
Demo/Questions/Applause
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin
4. How do you maintain servers???
Package Managers
Scripting
VMs / Golden Images
Multiple Clients / Multiple
Platforms / Hair-tearing R@GE!!!
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin
5. So now I’m a sysadmin…
%@#!&@#$#@
…but I know how to program!!!
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin
6. Open source systems integration framework
by Opscode
System configuration as source code
◦ Configuration Template w/ Business Logic
◦ Describe infrastructure
◦ Establish relationships between boxes
When a new server comes online, all you
need to do is tell Chef what role(s) it plays in
your architecture. All other servers will adjust
their configuration automatically to welcome
the new member to the fold!!!
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin
8. Golden Images = bad
Automated / Repeatable process
Break platform-dependency
Idempotency
◦ Operations can be applied multiple times w/out
changing the result
◦ e.g. Always enforce compliance with desired
configuration
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin
9. Your (messy) Kitchen
… or… where the metaphor dies!!!!
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin
11. Flavors of Chef
◦ Chef Solo
◦ Managed Chef (hosted chef provided by
Opscode)
◦ Chef Server
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin
12. “Knife”: One of the few adherents to the “chef”
metaphor!!!
Push changes to chef server
◦ knife cookbook upload
◦ knife role from file
Create nodes
◦ knife ec2 server create
Trigger actions on nodes
◦ knife ssh
Discover information about nodes
◦ knife search
Plugins
◦ knife ec2 server list
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin
13. Nice and easy…
Varnish /
Webhead
Uh oh… lookout…
Utility Varnish
Chef Server /
Memcached / Auto-Scale Array
SOLR / DB / etc?
Webhead Webhead ... Webhead
Utility
NFS / DB
Memcached
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin
16. Hosted Chef
◦ http://www.opscode.com/hosted-chef/
Install Ruby Version Manager
◦ http://beginrescueend.com
Install Chef on your Workstation
◦ http://wiki.opscode.com/display/chef/Workstation
+Setup
Download community cookbooks
◦ http://community.opscode.com/
Chef documentation
◦ http://wiki.opscode.com
DrupalCamp LA 2012
@craigmceldowney+@steverifkin=@crifkin