SlideShare a Scribd company logo
Agenda 
• Overview 
• Chef Software Platform 
• Building Blocks 
• Automation Patterns
Overview 
• Chef is an automation framework that enables Infrastructure as Code 
• Chef leverages reusable definitions to automate desired state 
• Chef is API driven 
• Chef supports Linux variants, Unix variants, AIX and Windows, all as first class 
citizens.
The Chef Software Platform 
Chef 
Development Kit 
Cookbook and 
Policy Authoring 
Test-Driven 
Infrastructure 
Chef Server 
Management 
Console 
Analytics 
Platform 
High Availability 
and Replication 
Data 
Center 
Chef 
Client 
Nodes 
The 
Cloud
Building Blocks 
Cookbooks 
Recipes 
Resources
Building Blocks: What is a Resource? 
• A Resource is a system state you define 
• Example: Package installed, state of a service, configuration file existing 
• You declare what state you want the resource in. 
• Chef automatically determines HOW that state is achieved 
On Linux based OSes: On Windows based OSes:
Building Blocks: What is a Recipe? 
• A recipe is a collection of Resources 
• Resources are executed in the order they are listed. 
On Linux based OSes: On Windows based OSes:
Building Blocks: What is a Cookbook? 
• A cookbook is a set of recipes 
• A cookbook is a defined set of items 
and different outcomes that you expect 
to address 
• A cookbook could have a recipe to install 
apache2/httpd but also another set of recipes 
to activate modules required.
Environments 
Building Blocks 
Roles 
Cookbooks 
Recipes 
Resources
Building Blocks: What is a role? 
• Define reusable roles for Infrastructure Code 
chef_type: 
role 
default_attributes: 
my-­‐app: 
application: 
package: 
mysite-­‐A.tar.gz 
package_sum: 
73e5cf3287e4d903d3828da5be1ab228ea33152447551b4e489e659268f643b2 
package_url: 
http://demo-­‐framework.s3.amazonaws.com/mysite-­‐A.tar.gz 
description: 
Role 
for 
a 
myapp 
webserver 
env_run_lists: 
json_class: 
Chef::Role 
name: 
myapp_A_webserver 
override_attributes: 
run_list: 
recipe[my-­‐app::application] 
recipe[my-­‐app::webserver]
Building Blocks: What is an Environment? 
• Define a reusable environments for Infrastructure Code 
chef_type: 
environment 
cookbook_versions: 
database: 
2.2.0 
default_attributes: 
myapp: 
version: 
1.2.3 
description: 
for 
development 
nodes 
json_class: 
Chef::Environment 
name: 
development 
override_attributes:
Building Blocks 
Data_Bags Environments 
Roles 
Cookbooks 
Recipes 
Resources
Building Blocks: What is a Data_Bag? 
• Define global variables accessible to all the things 
deploy_key: 
cipher: 
aes-­‐256-­‐cbc 
encrypted_data: 
lIpW3sqd69wXt7+MB+uGXr0GfcrEf6rOnHLMA7H00ZCbTxMcEypguGD22w23 
qzEZSzCf2ahv67CtcfrDGvUoWS57Gp5/QoR4WBYKQQUplY0LPtXMZFDISCLU 
a0aNhrzrXhT9eDKNpru7hpuEkOZPRNstx1121bdMZ9lm1/6BPBeIWUYrxAeS 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
. 
iv: 
tpz6zFz9xkscoi36kRw4JQ== 
version: 
1 
id: 
jenkins_ssh_key
Automation Patterns 
IT 
Automation 
Click to 
Compute 
CI/CD
CHEF - by Scott Russel
Additional Resources 
http://learn.chef.io/ 
getchef.com 
docs.opscode.com 
Email info@getchef.com 
Twitter @Chef 
Install Chef 
http://getchef.com/chef/install 
Chef Cookbooks 
supermarket.getchef.com 
Chefdk - Chef Development Kit 
https://downloads.getchef.com/chef-dk/ 
YouTube 
youtube.com/getchef 
Community Site 
community.opscode.com 
Freenode IRC 
#chef, #chef-hacking, #openstack-chef
Thank You – Questions?
CHEF - by Scott Russel

More Related Content

What's hot (20)

PDF
Server Installation and Configuration with Chef
Raimonds Simanovskis
 
PPT
Chef, Devops, and You
Bryan Berry
 
PDF
Introduction to Chef
Pubudu Suharshan Perera
 
PPT
Managing Servers with Chef
Joe Kepley
 
PDF
Growing Pains with Chef – a Tale of DevOps in a Large Organization
Chef Software, Inc.
 
PDF
Chef Fundamentals Training Series Module 2: Workstation Setup
Chef Software, Inc.
 
ODP
Introduction to Chef
Knoldus Inc.
 
PDF
There and Back Again: How We Drank the Chef Kool-Aid, Sobered Up, and Learned...
Chef
 
PPTX
Puppet & Perforce: Versioning Everything for Deployments
Perforce
 
ODP
DevOps and Chef improve your life
Juan Vicente Herrera Ruiz de Alejo
 
PDF
Chef Fundamentals Training Series Module 4: The Chef Client Run and Expanding...
Chef Software, Inc.
 
PDF
Introduction to Cooking with Chef
John Osborne
 
PDF
Introduction to Chef
kevsmith
 
ODP
Devops madrid: successful case in AWS
Juan Vicente Herrera Ruiz de Alejo
 
PDF
Continuous Deployment with Jenkins and Salt
Anirban Saha
 
PDF
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Software, Inc.
 
PDF
Community Cookbooks & further resources - Fundamentals Webinar Series Part 6
Chef
 
PDF
Learning chef
Jonathan Carrillo
 
PDF
Boulder dev ops-meetup-11-2012-rundeck
Will Sterling
 
PPTX
Kafka api
Nazia Abdullah
 
Server Installation and Configuration with Chef
Raimonds Simanovskis
 
Chef, Devops, and You
Bryan Berry
 
Introduction to Chef
Pubudu Suharshan Perera
 
Managing Servers with Chef
Joe Kepley
 
Growing Pains with Chef – a Tale of DevOps in a Large Organization
Chef Software, Inc.
 
Chef Fundamentals Training Series Module 2: Workstation Setup
Chef Software, Inc.
 
Introduction to Chef
Knoldus Inc.
 
There and Back Again: How We Drank the Chef Kool-Aid, Sobered Up, and Learned...
Chef
 
Puppet & Perforce: Versioning Everything for Deployments
Perforce
 
DevOps and Chef improve your life
Juan Vicente Herrera Ruiz de Alejo
 
Chef Fundamentals Training Series Module 4: The Chef Client Run and Expanding...
Chef Software, Inc.
 
Introduction to Cooking with Chef
John Osborne
 
Introduction to Chef
kevsmith
 
Devops madrid: successful case in AWS
Juan Vicente Herrera Ruiz de Alejo
 
Continuous Deployment with Jenkins and Salt
Anirban Saha
 
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Software, Inc.
 
Community Cookbooks & further resources - Fundamentals Webinar Series Part 6
Chef
 
Learning chef
Jonathan Carrillo
 
Boulder dev ops-meetup-11-2012-rundeck
Will Sterling
 
Kafka api
Nazia Abdullah
 

Similar to CHEF - by Scott Russel (20)

PDF
TXLF: Chef- Software Defined Infrastructure Today & Tomorrow
Matt Ray
 
KEY
Using Nagios with Chef
Bryan McLellan
 
PDF
What is Chef and how we use it at tripsta
Giedrius Rimkus
 
PPTX
Chef for Openstack
Mohit Sethi
 
PDF
Let's Code our Infrastructure!
continuousphp
 
PDF
Chef for openstack
openstackindia
 
PDF
Master Chef class: learn how to quickly cook delightful CQ/AEM infrastructures
François Le Droff
 
PPTX
Women's Do It Yourself: Vagrant Chef Workshop [Jan 24 2015]
Nishitha Ningegowda
 
PDF
SCALE 2011 Deploying OpenStack with Chef
Matt Ray
 
PPTX
Chef Jumpstart
Kimball Johnson
 
PDF
2016-02-09 - Breakfast Seminar - Redpill Linpro - Chef at Aptoma - Håkon Drange
Håkon Eriksen Drange
 
PDF
DOO-009_Powering High Velocity Development for your Infrastructure
decode2016
 
PPTX
Infrastructure modeling with chef
Charles Johnson
 
PDF
Overview of Chef - Fundamentals Webinar Series Part 1
Chef
 
PDF
Introduction to Chef - Techsuperwomen Summit
Jennifer Davis
 
PPTX
A Bit of Everything Chef
Mandi Walls
 
PDF
Chef: Smart infrastructure automation
Johannes H. P. Skov Frandsen
 
PPTX
Chef + AWS + CodeIgniter
ciconf
 
PPTX
Building and Managing Reliable Infrastructure with Chef and Chef Delivery
Mandi Walls
 
TXLF: Chef- Software Defined Infrastructure Today & Tomorrow
Matt Ray
 
Using Nagios with Chef
Bryan McLellan
 
What is Chef and how we use it at tripsta
Giedrius Rimkus
 
Chef for Openstack
Mohit Sethi
 
Let's Code our Infrastructure!
continuousphp
 
Chef for openstack
openstackindia
 
Master Chef class: learn how to quickly cook delightful CQ/AEM infrastructures
François Le Droff
 
Women's Do It Yourself: Vagrant Chef Workshop [Jan 24 2015]
Nishitha Ningegowda
 
SCALE 2011 Deploying OpenStack with Chef
Matt Ray
 
Chef Jumpstart
Kimball Johnson
 
2016-02-09 - Breakfast Seminar - Redpill Linpro - Chef at Aptoma - Håkon Drange
Håkon Eriksen Drange
 
DOO-009_Powering High Velocity Development for your Infrastructure
decode2016
 
Infrastructure modeling with chef
Charles Johnson
 
Overview of Chef - Fundamentals Webinar Series Part 1
Chef
 
Introduction to Chef - Techsuperwomen Summit
Jennifer Davis
 
A Bit of Everything Chef
Mandi Walls
 
Chef: Smart infrastructure automation
Johannes H. P. Skov Frandsen
 
Chef + AWS + CodeIgniter
ciconf
 
Building and Managing Reliable Infrastructure with Chef and Chef Delivery
Mandi Walls
 
Ad

More from Kangaroot (20)

PPTX
So you think you know SUSE?
Kangaroot
 
PDF
Live demo: Protect your Data
Kangaroot
 
PDF
RootStack - Devfactory
Kangaroot
 
PDF
Welcome at OPEN'22
Kangaroot
 
PDF
EDB Postgres in Public Sector
Kangaroot
 
PDF
Deploying NGINX in Cloud Native Kubernetes
Kangaroot
 
PDF
Cloud demystified, what remains after the fog has lifted.
Kangaroot
 
PDF
Zimbra at Kangaroot / OPEN{virtual}
Kangaroot
 
PDF
NGINX Controller: faster deployments, fewer headaches
Kangaroot
 
PDF
Kangaroot EDB Webinar Best Practices in Security with PostgreSQL
Kangaroot
 
PDF
Do you want to start with OpenShift but don’t have the manpower, knowledge, e...
Kangaroot
 
PDF
Red Hat multi-cluster management & what's new in OpenShift
Kangaroot
 
PDF
There is no such thing as “Vanilla Kubernetes”
Kangaroot
 
PDF
Elastic SIEM (Endpoint Security)
Kangaroot
 
PDF
Hashicorp Vault - OPEN Public Sector
Kangaroot
 
PDF
Kangaroot - Bechtle kadercontracten
Kangaroot
 
PDF
Red Hat Enterprise Linux 8
Kangaroot
 
PDF
Kangaroot open shift best practices - straight from the battlefield
Kangaroot
 
PDF
Kubecontrol - managed Kubernetes by Kangaroot
Kangaroot
 
PDF
OpenShift 4, the smarter Kubernetes platform
Kangaroot
 
So you think you know SUSE?
Kangaroot
 
Live demo: Protect your Data
Kangaroot
 
RootStack - Devfactory
Kangaroot
 
Welcome at OPEN'22
Kangaroot
 
EDB Postgres in Public Sector
Kangaroot
 
Deploying NGINX in Cloud Native Kubernetes
Kangaroot
 
Cloud demystified, what remains after the fog has lifted.
Kangaroot
 
Zimbra at Kangaroot / OPEN{virtual}
Kangaroot
 
NGINX Controller: faster deployments, fewer headaches
Kangaroot
 
Kangaroot EDB Webinar Best Practices in Security with PostgreSQL
Kangaroot
 
Do you want to start with OpenShift but don’t have the manpower, knowledge, e...
Kangaroot
 
Red Hat multi-cluster management & what's new in OpenShift
Kangaroot
 
There is no such thing as “Vanilla Kubernetes”
Kangaroot
 
Elastic SIEM (Endpoint Security)
Kangaroot
 
Hashicorp Vault - OPEN Public Sector
Kangaroot
 
Kangaroot - Bechtle kadercontracten
Kangaroot
 
Red Hat Enterprise Linux 8
Kangaroot
 
Kangaroot open shift best practices - straight from the battlefield
Kangaroot
 
Kubecontrol - managed Kubernetes by Kangaroot
Kangaroot
 
OpenShift 4, the smarter Kubernetes platform
Kangaroot
 
Ad

Recently uploaded (20)

PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 

CHEF - by Scott Russel

  • 1. Agenda • Overview • Chef Software Platform • Building Blocks • Automation Patterns
  • 2. Overview • Chef is an automation framework that enables Infrastructure as Code • Chef leverages reusable definitions to automate desired state • Chef is API driven • Chef supports Linux variants, Unix variants, AIX and Windows, all as first class citizens.
  • 3. The Chef Software Platform Chef Development Kit Cookbook and Policy Authoring Test-Driven Infrastructure Chef Server Management Console Analytics Platform High Availability and Replication Data Center Chef Client Nodes The Cloud
  • 4. Building Blocks Cookbooks Recipes Resources
  • 5. Building Blocks: What is a Resource? • A Resource is a system state you define • Example: Package installed, state of a service, configuration file existing • You declare what state you want the resource in. • Chef automatically determines HOW that state is achieved On Linux based OSes: On Windows based OSes:
  • 6. Building Blocks: What is a Recipe? • A recipe is a collection of Resources • Resources are executed in the order they are listed. On Linux based OSes: On Windows based OSes:
  • 7. Building Blocks: What is a Cookbook? • A cookbook is a set of recipes • A cookbook is a defined set of items and different outcomes that you expect to address • A cookbook could have a recipe to install apache2/httpd but also another set of recipes to activate modules required.
  • 8. Environments Building Blocks Roles Cookbooks Recipes Resources
  • 9. Building Blocks: What is a role? • Define reusable roles for Infrastructure Code chef_type: role default_attributes: my-­‐app: application: package: mysite-­‐A.tar.gz package_sum: 73e5cf3287e4d903d3828da5be1ab228ea33152447551b4e489e659268f643b2 package_url: http://demo-­‐framework.s3.amazonaws.com/mysite-­‐A.tar.gz description: Role for a myapp webserver env_run_lists: json_class: Chef::Role name: myapp_A_webserver override_attributes: run_list: recipe[my-­‐app::application] recipe[my-­‐app::webserver]
  • 10. Building Blocks: What is an Environment? • Define a reusable environments for Infrastructure Code chef_type: environment cookbook_versions: database: 2.2.0 default_attributes: myapp: version: 1.2.3 description: for development nodes json_class: Chef::Environment name: development override_attributes:
  • 11. Building Blocks Data_Bags Environments Roles Cookbooks Recipes Resources
  • 12. Building Blocks: What is a Data_Bag? • Define global variables accessible to all the things deploy_key: cipher: aes-­‐256-­‐cbc encrypted_data: lIpW3sqd69wXt7+MB+uGXr0GfcrEf6rOnHLMA7H00ZCbTxMcEypguGD22w23 qzEZSzCf2ahv67CtcfrDGvUoWS57Gp5/QoR4WBYKQQUplY0LPtXMZFDISCLU a0aNhrzrXhT9eDKNpru7hpuEkOZPRNstx1121bdMZ9lm1/6BPBeIWUYrxAeS . . . . . . . . . . . . . . iv: tpz6zFz9xkscoi36kRw4JQ== version: 1 id: jenkins_ssh_key
  • 13. Automation Patterns IT Automation Click to Compute CI/CD
  • 15. Additional Resources http://learn.chef.io/ getchef.com docs.opscode.com Email [email protected] Twitter @Chef Install Chef http://getchef.com/chef/install Chef Cookbooks supermarket.getchef.com Chefdk - Chef Development Kit https://downloads.getchef.com/chef-dk/ YouTube youtube.com/getchef Community Site community.opscode.com Freenode IRC #chef, #chef-hacking, #openstack-chef
  • 16. Thank You – Questions?