2. We Live In A Confusing World?
Friday, 17 May 13
3. And We’ve All Experienced This?
Sometimes
Feels Like it
is
Dev vs. Ops
vs. ITIL?
Friday, 17 May 13
4. * Applications delivered
quickly to help business
succeed
* Allowing us to work on
interesting projects
* Tools that will simplify
configuration, release and
change
But We All Want The Same Thing?
Friday, 17 May 13
5. * Applications delivered
quickly to help business
succeed
* Allowing us to work on
interesting projects
* Tools that will simplify
configuration, release and
change
But We All Want The Same Thing?
Friday, 17 May 13
6. * Applications delivered
quickly to help business
succeed
* Allowing us to work on
interesting projects
* Tools that will simplify
configuration, release and
change
But We All Want The Same Thing?
And not this ?
Friday, 17 May 13
7. *You built your own or
*You bought something
* You had to bend your thinking
* It was hard to install if it worked
* You had an empty vessel
* Did it support multiple OS’s or scale
It took a long time to go anywhere.
In The Past
Friday, 17 May 13
9. Chef is an automation platform for developers & systems engineers to continuously
define, build, and manage infrastructure.
CHEF USES:
Recipes and Cookbooks
that describe Infrastructure as Code.
Chef enables people to easily build &
manage complex & dynamic applications
at massive scale
• New model for describing infrastructure that
promotes reuse
• Programmatically provision and configure
• Reconstruct business from code repository,
data backup, and bare metal resources
Chef
Chef is available in open source, PaaS and
Enterprise options
Friday, 17 May 13
19. • But you already
guessed that, didn’t
you?
Chef Solves this Problem
Friday, 17 May 13
20. Chef is Infrastructure as Code
http://www.flickr.com/photos/louisb/4555295187/
• Programmatically
provision and configure
• Treat like any other code
base
• Reconstruct business from
code repository, data
backup, and bare metal
resources.
Friday, 17 May 13
21. • Chef-Client generates
configurations directly
on nodes from their
run list
• Reduce management
complexity through
abstraction
• Store the configuration
of your programs in
version control
http://www.flickr.com/photos/ssoosay/5126146763/
Nodes
Friday, 17 May 13
22. Collections of Resources
• Networking
• Files
• Directories
• Symlinks
• Mounts
• Routes
• Users
• Groups
• Tasks
• Packages
• Software
• Services
• Configurations
• Other Stuff
http://www.flickr.com/photos/stevekeys/3123167585/
Friday, 17 May 13
23. Declarative Interface to Resources
• Define policy
• Say what, not how
• Pull not Push
http://www.flickr.com/photos/bixentro/2591838509/
Friday, 17 May 13
24. Recipes and Cookbooks
• Recipes are collections of
Resources
• Cookbooks contain
recipes, templates, files,
custom resources, etc
• Code re-use and
modularity
• Written in Ruby - extend
as necessary
• Hundreds already on
Community.opscode.com
http://www.flickr.com/photos/shutterhacks/4474421855/
Friday, 17 May 13
35. knife with the Chef Server
• knife node
• create/delete/edit
• list
• knife cookbook ...
• knife role ...
• knife environment ...
Friday, 17 May 13
36. knife search
• What operating systems are running?
• What version of ruby is running?
• How much memory do you have on each
machine?
Friday, 17 May 13