SlideShare a Scribd company logo
WHO AM I
WHO ARE YOU?
WHO ARE YOU?
A Newbie to IT?
Developer?
Tester?
System Administrator?
“Business” People?
DebOps
Why DebOps?
Debit Ops from your Infrastructure to make NoOps Infrastructure.
Challenges
• Complex to Manage
• Extra long time required for a change
• Risky Rollbacks
• Anti Agnostic
• High Maintenance
Why DebOps Adoption ?
• Stable/Reliable operating environments
• Infrastructure is maintained as code
• Infrastructure Versioning
• Self Healing Capability
• Early detection and faster correction
• Less Time to Market
• Auditable
• Proactive
WHAT IS CHEF?
30,000ft View?
Opscode Chef for Dummies
• Chef Design
Chef can also Stand Alone
Code Test and Release locally with Chef Solo
Why Chef ?
• Infrastructure as a Code
• Self Healing Capability
• Idempotent
• Lightweight
• Resilient Infrastructure
• Auditable
Why Chef?
• Infra as a Code
• Version Controlled
• Idempotent
• TMTOWDI
• Push Me
• Pull Me
Let’s Hangout with Chef!
Chef-Client is always with you
Chef Node
Any Server/VM which is managed and controlled by Chef is a Chef
Node
What makes your server a Chef Node?
• Chef-Client installed
• Bootstrapped(Registered) with Chef Server
• Runlist Attached
Node Attributes
• Node specific properties are called as Node Attributes
• It can be provided in a form of Array, Hash, or as a single variable.
• Attributes can be passed from attribute file, roles, environment,
runlist
• Attributes works on priority basis.
Opscode Chef for Dummies
Attributes Priority
Know Your Cookbook
Cookbook Contents
• Metadata.rb
• Recipes
• Attributes
• Files
• Templates
• Resources
• Providers
Can you Imagine Chef without Knife ?
KNIFE
C - Create
R - Read
U - Update
D - Delete
D - Download
S - Search
Chef Essentials
Chef Development Kit (DK)
• Chef Development Kit
• Why DK with Knife?
• We need few more tools to build a better Cookbook
• CRUDDS… Am I missing anything?
• Cookbook Dependency Management
• A warning tool, if recipe is not healthy – Foodcritic
• Gem bar
• Push Jobs
WYW|WYR
Attributes
• I am used to supply what is required by a cookbook
• Yes I have priorities
• You can stamp me from cookbook, roles, environments, Runlist
Template(Configuration as a Code)
• Program your Configuration files
• I can fetch your attributes from anywhere
• I understand your if else for…
Template
Files
• Use me to dump your as is files
• I am used to provide your pre baked resources
Data Bags
• I am a special attribute
• Node Independent
• Priority Independent
• Available for All
• I am available as a global/environment variables in your cookbook
• I am also capable to hold your secrets(Encrypted Data Bags)
• I like to reside at Chef Server so that I could serve every node
Chef Vault
• I am specially developed for managing your secret data.
• I am keyless
• Only trusted nodes can read me
• gem install chef-vault
Opscode Chef for Dummies
Roles
• I am a runlist template which can be consumed by all nodes
• You can assign me to multiple nodes in same time
• Same as runlist, I have recipies and atrributes in me
• My attributes get high precedence than node and environment
attributes(same type)
• Roles can be assigned in Roles too
• I am JSON
• I miss versioning
Role view
Environments
Environments
• Every node is a part of environment
• By default every node is registered under _default environment
• _default is a environment which cannot be changed
• We can create our own environments
• A node can be a part of one environment at a time
• Environments allow you to assign roles, attributes, restricting
cookbook version
• I am JSON
• I miss versioning
Environment view
Opscode Chef for Dummies
Test Kitchen
• Kitchen supports multiple platforms (i.e.: RHEL, Ubuntu, Windows,
etc.)
• It supports multiple frameworks (i.e.: Rspec, Serverspec, etc.)
• It encourages Test-Driven Development
Opscode Chef for Dummies
Opscode Chef for Dummies
Chef Supermarket
• 100% free
• Chef Supermarket hosts cookbooks which are built by community and
available for everyone.
• https://supermarket.chef.io/
• Private Supermarket
Opscode Chef for Dummies
Opscode Chef for Dummies
Let’s Cook
• Build a Cookbook
• Test On Kitchen
• Roll out in Environment
Opscode Chef for Dummies
For any questions, reach out to me at
dilip.panwar@barclaycard.co.uk
Ad

More Related Content

What's hot (20)

Automating security with PowerShell
Automating security with PowerShellAutomating security with PowerShell
Automating security with PowerShell
Jaap Brasser
 
SD PHP Zend Framework
SD PHP Zend FrameworkSD PHP Zend Framework
SD PHP Zend Framework
philipjting
 
20131002
2013100220131002
20131002
Jocelyn
 
Software architecture : From project management to deployment
Software architecture : From project management to deploymentSoftware architecture : From project management to deployment
Software architecture : From project management to deployment
Foyzul Karim
 
Riak at Posterous
Riak at PosterousRiak at Posterous
Riak at Posterous
capotej
 
TypeScript Jump Start
TypeScript Jump StartTypeScript Jump Start
TypeScript Jump Start
Mostafa
 
Vimperl
VimperlVimperl
Vimperl
Ynon Perek
 
2013 spider - LibreOffice QA Community
2013 spider - LibreOffice QA Community2013 spider - LibreOffice QA Community
2013 spider - LibreOffice QA Community
Rob Snelders
 
Actors evolved- Rotem Hermon
Actors evolved- Rotem HermonActors evolved- Rotem Hermon
Actors evolved- Rotem Hermon
distributed matters
 
Rebooting design in RavenDB
Rebooting design in RavenDBRebooting design in RavenDB
Rebooting design in RavenDB
Oren Eini
 
TSSJS 2011 - JRuby
TSSJS 2011 - JRubyTSSJS 2011 - JRuby
TSSJS 2011 - JRuby
Charles Nutter
 
Staying friendly with the gc
Staying friendly with the gcStaying friendly with the gc
Staying friendly with the gc
Oren Eini
 
Python to go
Python to goPython to go
Python to go
Weng Wei
 
Week7
Week7Week7
Week7
reneedv
 
How to make a iOS 8 touch framework - MOPCON 2014
How to make a iOS 8 touch framework - MOPCON 2014How to make a iOS 8 touch framework - MOPCON 2014
How to make a iOS 8 touch framework - MOPCON 2014
Kai-Yuan Cheng
 
Service stack all the things
Service stack all the thingsService stack all the things
Service stack all the things
cyberzeddk
 
JavaScript State of the Union - Jan 2013
JavaScript State of the Union - Jan 2013JavaScript State of the Union - Jan 2013
JavaScript State of the Union - Jan 2013
Ronald Northrip
 
Badass Microservices - deploy, build & scale your apps with Payara Micro
Badass Microservices - deploy, build & scale your apps with Payara MicroBadass Microservices - deploy, build & scale your apps with Payara Micro
Badass Microservices - deploy, build & scale your apps with Payara Micro
Payara
 
Erlang: TL;DR
Erlang: TL;DRErlang: TL;DR
Erlang: TL;DR
vorn
 
RavenDB in the wild
RavenDB in the wildRavenDB in the wild
RavenDB in the wild
Mauro Servienti
 
Automating security with PowerShell
Automating security with PowerShellAutomating security with PowerShell
Automating security with PowerShell
Jaap Brasser
 
SD PHP Zend Framework
SD PHP Zend FrameworkSD PHP Zend Framework
SD PHP Zend Framework
philipjting
 
Software architecture : From project management to deployment
Software architecture : From project management to deploymentSoftware architecture : From project management to deployment
Software architecture : From project management to deployment
Foyzul Karim
 
Riak at Posterous
Riak at PosterousRiak at Posterous
Riak at Posterous
capotej
 
TypeScript Jump Start
TypeScript Jump StartTypeScript Jump Start
TypeScript Jump Start
Mostafa
 
2013 spider - LibreOffice QA Community
2013 spider - LibreOffice QA Community2013 spider - LibreOffice QA Community
2013 spider - LibreOffice QA Community
Rob Snelders
 
Rebooting design in RavenDB
Rebooting design in RavenDBRebooting design in RavenDB
Rebooting design in RavenDB
Oren Eini
 
Staying friendly with the gc
Staying friendly with the gcStaying friendly with the gc
Staying friendly with the gc
Oren Eini
 
Python to go
Python to goPython to go
Python to go
Weng Wei
 
How to make a iOS 8 touch framework - MOPCON 2014
How to make a iOS 8 touch framework - MOPCON 2014How to make a iOS 8 touch framework - MOPCON 2014
How to make a iOS 8 touch framework - MOPCON 2014
Kai-Yuan Cheng
 
Service stack all the things
Service stack all the thingsService stack all the things
Service stack all the things
cyberzeddk
 
JavaScript State of the Union - Jan 2013
JavaScript State of the Union - Jan 2013JavaScript State of the Union - Jan 2013
JavaScript State of the Union - Jan 2013
Ronald Northrip
 
Badass Microservices - deploy, build & scale your apps with Payara Micro
Badass Microservices - deploy, build & scale your apps with Payara MicroBadass Microservices - deploy, build & scale your apps with Payara Micro
Badass Microservices - deploy, build & scale your apps with Payara Micro
Payara
 
Erlang: TL;DR
Erlang: TL;DRErlang: TL;DR
Erlang: TL;DR
vorn
 

Similar to Opscode Chef for Dummies (20)

Introduction to Cooking with Chef
Introduction to Cooking with ChefIntroduction to Cooking with Chef
Introduction to Cooking with Chef
John Osborne
 
Chef Jumpstart
Chef JumpstartChef Jumpstart
Chef Jumpstart
Kimball Johnson
 
Chef for openstack
Chef for openstackChef for openstack
Chef for openstack
openstackindia
 
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Fundamentals Training Series Module 1: Overview of ChefChef Fundamentals Training Series Module 1: Overview of Chef
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Software, Inc.
 
Chef for Openstack
Chef for OpenstackChef for Openstack
Chef for Openstack
Mohit Sethi
 
Dev-Friendly Ops
Dev-Friendly OpsDev-Friendly Ops
Dev-Friendly Ops
Josh Schramm
 
Using Nagios with Chef
Using Nagios with ChefUsing Nagios with Chef
Using Nagios with Chef
Bryan McLellan
 
Emerging chef patterns and practices
Emerging chef patterns and practicesEmerging chef patterns and practices
Emerging chef patterns and practices
Owain Perry
 
Chef, Vagrant and Friends
Chef, Vagrant and FriendsChef, Vagrant and Friends
Chef, Vagrant and Friends
Ben McRae
 
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Software, Inc.
 
Managing Distributed Systems with Chef
Managing Distributed Systems with ChefManaging Distributed Systems with Chef
Managing Distributed Systems with Chef
Mandi Walls
 
The Environment Restaurant
The Environment RestaurantThe Environment Restaurant
The Environment Restaurant
Martin de Keijzer
 
Why puppet? Why now?
Why puppet? Why now?Why puppet? Why now?
Why puppet? Why now?
Server Density
 
Continuous delivery with open source tools
Continuous delivery with open source toolsContinuous delivery with open source tools
Continuous delivery with open source tools
Sebastian Helzle
 
Chef: Smart infrastructure automation
Chef: Smart infrastructure automationChef: Smart infrastructure automation
Chef: Smart infrastructure automation
Johannes H. P. Skov Frandsen
 
Opscode Webinar: Managing Your VMware Infrastructure with Chef
Opscode Webinar: Managing Your VMware Infrastructure with ChefOpscode Webinar: Managing Your VMware Infrastructure with Chef
Opscode Webinar: Managing Your VMware Infrastructure with Chef
Chef Software, Inc.
 
The Five Stages of Chef Grief: My First 6 months with Chef, and Getting Aroun...
The Five Stages of Chef Grief: My First 6 months with Chef, and Getting Aroun...The Five Stages of Chef Grief: My First 6 months with Chef, and Getting Aroun...
The Five Stages of Chef Grief: My First 6 months with Chef, and Getting Aroun...
DevOpsDays Austin 2014
 
Cooking with Chef
Cooking with ChefCooking with Chef
Cooking with Chef
m_richardson
 
Introduction to Chef - Techsuperwomen Summit
Introduction to Chef - Techsuperwomen SummitIntroduction to Chef - Techsuperwomen Summit
Introduction to Chef - Techsuperwomen Summit
Jennifer Davis
 
Full-Stack CakePHP Deployment
Full-Stack CakePHP DeploymentFull-Stack CakePHP Deployment
Full-Stack CakePHP Deployment
Jose Diaz-Gonzalez
 
Introduction to Cooking with Chef
Introduction to Cooking with ChefIntroduction to Cooking with Chef
Introduction to Cooking with Chef
John Osborne
 
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Fundamentals Training Series Module 1: Overview of ChefChef Fundamentals Training Series Module 1: Overview of Chef
Chef Fundamentals Training Series Module 1: Overview of Chef
Chef Software, Inc.
 
Chef for Openstack
Chef for OpenstackChef for Openstack
Chef for Openstack
Mohit Sethi
 
Using Nagios with Chef
Using Nagios with ChefUsing Nagios with Chef
Using Nagios with Chef
Bryan McLellan
 
Emerging chef patterns and practices
Emerging chef patterns and practicesEmerging chef patterns and practices
Emerging chef patterns and practices
Owain Perry
 
Chef, Vagrant and Friends
Chef, Vagrant and FriendsChef, Vagrant and Friends
Chef, Vagrant and Friends
Ben McRae
 
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Software, Inc.
 
Managing Distributed Systems with Chef
Managing Distributed Systems with ChefManaging Distributed Systems with Chef
Managing Distributed Systems with Chef
Mandi Walls
 
Continuous delivery with open source tools
Continuous delivery with open source toolsContinuous delivery with open source tools
Continuous delivery with open source tools
Sebastian Helzle
 
Opscode Webinar: Managing Your VMware Infrastructure with Chef
Opscode Webinar: Managing Your VMware Infrastructure with ChefOpscode Webinar: Managing Your VMware Infrastructure with Chef
Opscode Webinar: Managing Your VMware Infrastructure with Chef
Chef Software, Inc.
 
The Five Stages of Chef Grief: My First 6 months with Chef, and Getting Aroun...
The Five Stages of Chef Grief: My First 6 months with Chef, and Getting Aroun...The Five Stages of Chef Grief: My First 6 months with Chef, and Getting Aroun...
The Five Stages of Chef Grief: My First 6 months with Chef, and Getting Aroun...
DevOpsDays Austin 2014
 
Introduction to Chef - Techsuperwomen Summit
Introduction to Chef - Techsuperwomen SummitIntroduction to Chef - Techsuperwomen Summit
Introduction to Chef - Techsuperwomen Summit
Jennifer Davis
 
Ad

Recently uploaded (20)

Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Datastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptxDatastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptx
kaleeswaric3
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Datastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptxDatastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptx
kaleeswaric3
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Ad

Opscode Chef for Dummies

  • 1. WHO AM I WHO ARE YOU?
  • 2. WHO ARE YOU? A Newbie to IT? Developer? Tester? System Administrator? “Business” People?
  • 4. Why DebOps? Debit Ops from your Infrastructure to make NoOps Infrastructure.
  • 5. Challenges • Complex to Manage • Extra long time required for a change • Risky Rollbacks • Anti Agnostic • High Maintenance
  • 6. Why DebOps Adoption ? • Stable/Reliable operating environments • Infrastructure is maintained as code • Infrastructure Versioning • Self Healing Capability • Early detection and faster correction • Less Time to Market • Auditable • Proactive
  • 11. Chef can also Stand Alone Code Test and Release locally with Chef Solo
  • 12. Why Chef ? • Infrastructure as a Code • Self Healing Capability • Idempotent • Lightweight • Resilient Infrastructure • Auditable
  • 13. Why Chef? • Infra as a Code • Version Controlled • Idempotent • TMTOWDI • Push Me • Pull Me
  • 16. Chef Node Any Server/VM which is managed and controlled by Chef is a Chef Node
  • 17. What makes your server a Chef Node? • Chef-Client installed • Bootstrapped(Registered) with Chef Server • Runlist Attached
  • 18. Node Attributes • Node specific properties are called as Node Attributes • It can be provided in a form of Array, Hash, or as a single variable. • Attributes can be passed from attribute file, roles, environment, runlist • Attributes works on priority basis.
  • 22. Cookbook Contents • Metadata.rb • Recipes • Attributes • Files • Templates • Resources • Providers
  • 23. Can you Imagine Chef without Knife ?
  • 24. KNIFE C - Create R - Read U - Update D - Delete D - Download S - Search
  • 26. Chef Development Kit (DK) • Chef Development Kit • Why DK with Knife? • We need few more tools to build a better Cookbook • CRUDDS… Am I missing anything? • Cookbook Dependency Management • A warning tool, if recipe is not healthy – Foodcritic • Gem bar • Push Jobs
  • 28. Attributes • I am used to supply what is required by a cookbook • Yes I have priorities • You can stamp me from cookbook, roles, environments, Runlist
  • 29. Template(Configuration as a Code) • Program your Configuration files • I can fetch your attributes from anywhere • I understand your if else for…
  • 31. Files • Use me to dump your as is files • I am used to provide your pre baked resources
  • 32. Data Bags • I am a special attribute • Node Independent • Priority Independent • Available for All • I am available as a global/environment variables in your cookbook • I am also capable to hold your secrets(Encrypted Data Bags) • I like to reside at Chef Server so that I could serve every node
  • 33. Chef Vault • I am specially developed for managing your secret data. • I am keyless • Only trusted nodes can read me • gem install chef-vault
  • 35. Roles • I am a runlist template which can be consumed by all nodes • You can assign me to multiple nodes in same time • Same as runlist, I have recipies and atrributes in me • My attributes get high precedence than node and environment attributes(same type) • Roles can be assigned in Roles too • I am JSON • I miss versioning
  • 38. Environments • Every node is a part of environment • By default every node is registered under _default environment • _default is a environment which cannot be changed • We can create our own environments • A node can be a part of one environment at a time • Environments allow you to assign roles, attributes, restricting cookbook version • I am JSON • I miss versioning
  • 41. Test Kitchen • Kitchen supports multiple platforms (i.e.: RHEL, Ubuntu, Windows, etc.) • It supports multiple frameworks (i.e.: Rspec, Serverspec, etc.) • It encourages Test-Driven Development
  • 44. Chef Supermarket • 100% free • Chef Supermarket hosts cookbooks which are built by community and available for everyone. • https://supermarket.chef.io/ • Private Supermarket
  • 47. Let’s Cook • Build a Cookbook • Test On Kitchen • Roll out in Environment

Editor's Notes

  • #14: Manage your infra as a source Code