SlideShare a Scribd company logo
1 of 40
Introduction to Chef
By Lex Kridler
Lex Kridler
Senior Developer at CP+B
@lkrids
Introducing…
“Chef is a systems and cloud
infrastructure automation
framework that makes it easy to
deploy servers and applications
to any physical, virtual, or cloud
location, no matter the size of the
infrastructure.”
http://docs.chef.io/
1. Problem
2. Solution
3. Demo
TCP
RWND and CWND
Machine State?
SOLUTION
Idempotent
https://www.chef.io/solutions/cloud-management/
https://downloads.chef.io/chef-dk/
https://www.chef.io/solutions/cloud-management/
knife bootstrap <ip> -x <username> -P <password> -N <node_name>
knife bootstrap <ip> -i <ident_file>
Node Setup
(manual)
https://www.chef.io/solutions/cloud-management/
Starts with a Server
Organizations
• Contain members
• Separate keys
• Separate starter kit
Cookbook
- recipes
- metadata.rb
- files
- templates
Basic Apache Recipe
Ohai
https://www.chef.io/solutions/cloud-management/
https://www.chef.io/solutions/cloud-management/
Lessons Learned
Variable Precedence
Suggested variable
naming convention:
<precedence>[“<cookbook>”][“<attribute>”]
https://supermarket.chef.io/cookbooks
Dependency Management
• Berkshelf
– Similar to npm, cocoapods, or composer
– Created and opensourced by Riot Games
• League of Legends
Bugs (Foodcritic)
• They are hard to track down
• Foodcritic – static analysis of cookbooks
– Doesn’t find everything, similar to jshint
– Give examples of errors it finds
Years
Thanks
Resources
Mobile phone graphic - Created by James Fenton from the Noun Project
Chef graphic - Created by Juan Pablo Bravo from the Noun Project
Terminal graphic - Created by useiconic.com from the Noun Project
Next Steps
• Notifications of cookbook updates
Other Ideas
• Combining Chef with Docker or Vagrant to
setup reproducible local dev environments
• Chef can be used to automate setting up
your next workstation

More Related Content

What's hot

Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Edureka!
 
Achieving DevOps Success with Chef Automate
Achieving DevOps Success with Chef AutomateAchieving DevOps Success with Chef Automate
Achieving DevOps Success with Chef AutomateChef
 
Compliance Automation with Inspec Part 2
Compliance Automation with Inspec Part 2Compliance Automation with Inspec Part 2
Compliance Automation with Inspec Part 2Chef
 
Azure Powershell. Azure Automation
Azure Powershell. Azure AutomationAzure Powershell. Azure Automation
Azure Powershell. Azure AutomationAlexander Feschenko
 
Leveraging Ansible for CI/CD
Leveraging Ansible for CI/CDLeveraging Ansible for CI/CD
Leveraging Ansible for CI/CDShippable
 
Azure handsonlab
Azure handsonlabAzure handsonlab
Azure handsonlabChef
 
Introduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to ChefIntroduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to ChefAll Things Open
 
Compliance as Code
Compliance as CodeCompliance as Code
Compliance as CodeMatt Ray
 
Containerize Your Game Server for the Best Multiplayer Experience
Containerize Your Game Server for the Best Multiplayer Experience Containerize Your Game Server for the Best Multiplayer Experience
Containerize Your Game Server for the Best Multiplayer Experience Docker, Inc.
 
London Community Summit - Chef at SkyBet
London Community Summit - Chef at SkyBetLondon Community Summit - Chef at SkyBet
London Community Summit - Chef at SkyBetChef
 
Serverless Architecture - A Gentle Overview
Serverless Architecture - A Gentle OverviewServerless Architecture - A Gentle Overview
Serverless Architecture - A Gentle OverviewCodeOps Technologies LLP
 
Spring Boot with Quartz
Spring Boot with QuartzSpring Boot with Quartz
Spring Boot with QuartzDavid Kiss
 
2016 Docker Palo Alto - CD with ECS and Jenkins
2016 Docker Palo Alto -  CD with ECS and Jenkins2016 Docker Palo Alto -  CD with ECS and Jenkins
2016 Docker Palo Alto - CD with ECS and JenkinsTracy Kennedy
 
DotNet Conf Valencia 2019 - Building cloud native apps with .NRT core 3.0 and...
DotNet Conf Valencia 2019 - Building cloud native apps with .NRT core 3.0 and...DotNet Conf Valencia 2019 - Building cloud native apps with .NRT core 3.0 and...
DotNet Conf Valencia 2019 - Building cloud native apps with .NRT core 3.0 and...Alberto Diaz Martin
 
Compliance Automation with Inspec Part 4
Compliance Automation with Inspec Part 4Compliance Automation with Inspec Part 4
Compliance Automation with Inspec Part 4Chef
 
Rundeck's History and Future
Rundeck's History and FutureRundeck's History and Future
Rundeck's History and Futuredev2ops
 

What's hot (20)

Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
 
Achieving DevOps Success with Chef Automate
Achieving DevOps Success with Chef AutomateAchieving DevOps Success with Chef Automate
Achieving DevOps Success with Chef Automate
 
Where is my scalable API?
Where is my scalable API?Where is my scalable API?
Where is my scalable API?
 
Compliance Automation with Inspec Part 2
Compliance Automation with Inspec Part 2Compliance Automation with Inspec Part 2
Compliance Automation with Inspec Part 2
 
Understand Chef
Understand ChefUnderstand Chef
Understand Chef
 
Azure Powershell. Azure Automation
Azure Powershell. Azure AutomationAzure Powershell. Azure Automation
Azure Powershell. Azure Automation
 
Leveraging Ansible for CI/CD
Leveraging Ansible for CI/CDLeveraging Ansible for CI/CD
Leveraging Ansible for CI/CD
 
Azure handsonlab
Azure handsonlabAzure handsonlab
Azure handsonlab
 
How Docker simplifies CI/CD
How Docker simplifies CI/CDHow Docker simplifies CI/CD
How Docker simplifies CI/CD
 
Introduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to ChefIntroduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to Chef
 
Compliance as Code
Compliance as CodeCompliance as Code
Compliance as Code
 
Containerize Your Game Server for the Best Multiplayer Experience
Containerize Your Game Server for the Best Multiplayer Experience Containerize Your Game Server for the Best Multiplayer Experience
Containerize Your Game Server for the Best Multiplayer Experience
 
London Community Summit - Chef at SkyBet
London Community Summit - Chef at SkyBetLondon Community Summit - Chef at SkyBet
London Community Summit - Chef at SkyBet
 
Serverless Architecture - A Gentle Overview
Serverless Architecture - A Gentle OverviewServerless Architecture - A Gentle Overview
Serverless Architecture - A Gentle Overview
 
Spring Boot with Quartz
Spring Boot with QuartzSpring Boot with Quartz
Spring Boot with Quartz
 
2016 Docker Palo Alto - CD with ECS and Jenkins
2016 Docker Palo Alto -  CD with ECS and Jenkins2016 Docker Palo Alto -  CD with ECS and Jenkins
2016 Docker Palo Alto - CD with ECS and Jenkins
 
DotNet Conf Valencia 2019 - Building cloud native apps with .NRT core 3.0 and...
DotNet Conf Valencia 2019 - Building cloud native apps with .NRT core 3.0 and...DotNet Conf Valencia 2019 - Building cloud native apps with .NRT core 3.0 and...
DotNet Conf Valencia 2019 - Building cloud native apps with .NRT core 3.0 and...
 
Compliance Automation with Inspec Part 4
Compliance Automation with Inspec Part 4Compliance Automation with Inspec Part 4
Compliance Automation with Inspec Part 4
 
Chef Cookbook Workflow
Chef Cookbook WorkflowChef Cookbook Workflow
Chef Cookbook Workflow
 
Rundeck's History and Future
Rundeck's History and FutureRundeck's History and Future
Rundeck's History and Future
 

Viewers also liked

Tax planning for the dentist in an era of uncertainty
Tax planning for the dentist in an era of uncertaintyTax planning for the dentist in an era of uncertainty
Tax planning for the dentist in an era of uncertaintygppcpa
 
Finding the Hidden Profit Potentials in your Dental Practice
Finding the Hidden Profit Potentials in your Dental PracticeFinding the Hidden Profit Potentials in your Dental Practice
Finding the Hidden Profit Potentials in your Dental Practicegppcpa
 
Tax planning for the dentist in an era of uncertainty
Tax planning for the dentist in an era of uncertaintyTax planning for the dentist in an era of uncertainty
Tax planning for the dentist in an era of uncertaintygppcpa
 
Us tax presentation
Us tax presentationUs tax presentation
Us tax presentationgppcpa
 
Common practice problems and the state of the dentist
Common practice problems and the state of the dentistCommon practice problems and the state of the dentist
Common practice problems and the state of the dentistgppcpa
 
Irs collection appeal procedures & defense strategy
Irs collection appeal procedures & defense strategyIrs collection appeal procedures & defense strategy
Irs collection appeal procedures & defense strategygppcpa
 
Guide to Doing Business in Taiwan
Guide to Doing Business in TaiwanGuide to Doing Business in Taiwan
Guide to Doing Business in Taiwangppcpa
 
Discharging federal taxes in bankruptcy presentation
Discharging federal taxes in bankruptcy presentationDischarging federal taxes in bankruptcy presentation
Discharging federal taxes in bankruptcy presentationgppcpa
 
Estudi de la funció del coactivador transcripcional PGC-1β en el teixit adipó...
Estudi de la funció del coactivador transcripcional PGC-1β en el teixit adipó...Estudi de la funció del coactivador transcripcional PGC-1β en el teixit adipó...
Estudi de la funció del coactivador transcripcional PGC-1β en el teixit adipó...Vall d'Hebron Institute of Research (VHIR)
 
An Update on Economic and Manufacturing Trends in Asia
An Update on Economic and Manufacturing Trends in AsiaAn Update on Economic and Manufacturing Trends in Asia
An Update on Economic and Manufacturing Trends in Asiagppcpa
 
Diagnóstico genético en enfermedades raras del metabolismo del hierro: Anemia...
Diagnóstico genético en enfermedades raras del metabolismo del hierro: Anemia...Diagnóstico genético en enfermedades raras del metabolismo del hierro: Anemia...
Diagnóstico genético en enfermedades raras del metabolismo del hierro: Anemia...Vall d'Hebron Institute of Research (VHIR)
 
Reporting Requirements for US Citizens with Foreign Assets
Reporting Requirements for US Citizens with Foreign AssetsReporting Requirements for US Citizens with Foreign Assets
Reporting Requirements for US Citizens with Foreign Assetsgppcpa
 
Guide to Doing Business in Taiwan
Guide to Doing Business in TaiwanGuide to Doing Business in Taiwan
Guide to Doing Business in Taiwangppcpa
 
Irs practice techniques and case studies
Irs practice techniques and case studiesIrs practice techniques and case studies
Irs practice techniques and case studiesgppcpa
 
Dental Compliance for Dentists and Business Associates
Dental Compliance for Dentists and Business AssociatesDental Compliance for Dentists and Business Associates
Dental Compliance for Dentists and Business Associatesgppcpa
 
Irs collection appeal procedures defense strategy
Irs collection appeal procedures  defense strategyIrs collection appeal procedures  defense strategy
Irs collection appeal procedures defense strategygppcpa
 
Compensation and Employment Tax Issues
Compensation and Employment Tax IssuesCompensation and Employment Tax Issues
Compensation and Employment Tax Issuesgppcpa
 

Viewers also liked (20)

Multi-stage, multimodal Approaches for regenerative stroke therapies
Multi-stage, multimodal Approaches for regenerative stroke therapiesMulti-stage, multimodal Approaches for regenerative stroke therapies
Multi-stage, multimodal Approaches for regenerative stroke therapies
 
Tax planning for the dentist in an era of uncertainty
Tax planning for the dentist in an era of uncertaintyTax planning for the dentist in an era of uncertainty
Tax planning for the dentist in an era of uncertainty
 
Finding the Hidden Profit Potentials in your Dental Practice
Finding the Hidden Profit Potentials in your Dental PracticeFinding the Hidden Profit Potentials in your Dental Practice
Finding the Hidden Profit Potentials in your Dental Practice
 
Presentation4
Presentation4Presentation4
Presentation4
 
Tax planning for the dentist in an era of uncertainty
Tax planning for the dentist in an era of uncertaintyTax planning for the dentist in an era of uncertainty
Tax planning for the dentist in an era of uncertainty
 
Us tax presentation
Us tax presentationUs tax presentation
Us tax presentation
 
Common practice problems and the state of the dentist
Common practice problems and the state of the dentistCommon practice problems and the state of the dentist
Common practice problems and the state of the dentist
 
Watch this
Watch thisWatch this
Watch this
 
Irs collection appeal procedures & defense strategy
Irs collection appeal procedures & defense strategyIrs collection appeal procedures & defense strategy
Irs collection appeal procedures & defense strategy
 
Guide to Doing Business in Taiwan
Guide to Doing Business in TaiwanGuide to Doing Business in Taiwan
Guide to Doing Business in Taiwan
 
Discharging federal taxes in bankruptcy presentation
Discharging federal taxes in bankruptcy presentationDischarging federal taxes in bankruptcy presentation
Discharging federal taxes in bankruptcy presentation
 
Estudi de la funció del coactivador transcripcional PGC-1β en el teixit adipó...
Estudi de la funció del coactivador transcripcional PGC-1β en el teixit adipó...Estudi de la funció del coactivador transcripcional PGC-1β en el teixit adipó...
Estudi de la funció del coactivador transcripcional PGC-1β en el teixit adipó...
 
An Update on Economic and Manufacturing Trends in Asia
An Update on Economic and Manufacturing Trends in AsiaAn Update on Economic and Manufacturing Trends in Asia
An Update on Economic and Manufacturing Trends in Asia
 
Diagnóstico genético en enfermedades raras del metabolismo del hierro: Anemia...
Diagnóstico genético en enfermedades raras del metabolismo del hierro: Anemia...Diagnóstico genético en enfermedades raras del metabolismo del hierro: Anemia...
Diagnóstico genético en enfermedades raras del metabolismo del hierro: Anemia...
 
Reporting Requirements for US Citizens with Foreign Assets
Reporting Requirements for US Citizens with Foreign AssetsReporting Requirements for US Citizens with Foreign Assets
Reporting Requirements for US Citizens with Foreign Assets
 
Guide to Doing Business in Taiwan
Guide to Doing Business in TaiwanGuide to Doing Business in Taiwan
Guide to Doing Business in Taiwan
 
Irs practice techniques and case studies
Irs practice techniques and case studiesIrs practice techniques and case studies
Irs practice techniques and case studies
 
Dental Compliance for Dentists and Business Associates
Dental Compliance for Dentists and Business AssociatesDental Compliance for Dentists and Business Associates
Dental Compliance for Dentists and Business Associates
 
Irs collection appeal procedures defense strategy
Irs collection appeal procedures  defense strategyIrs collection appeal procedures  defense strategy
Irs collection appeal procedures defense strategy
 
Compensation and Employment Tax Issues
Compensation and Employment Tax IssuesCompensation and Employment Tax Issues
Compensation and Employment Tax Issues
 

Similar to Introduction to-chef

Priming Your Teams For Microservice Deployment to the Cloud
Priming Your Teams For Microservice Deployment to the CloudPriming Your Teams For Microservice Deployment to the Cloud
Priming Your Teams For Microservice Deployment to the CloudMatt Callanan
 
DevOps LA Meetup Intro to Habitat
DevOps LA Meetup Intro to HabitatDevOps LA Meetup Intro to Habitat
DevOps LA Meetup Intro to HabitatJessica DeVita
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSAmazon Web Services
 
AWS Webcast - Build Agile Applications in AWS Cloud for Government
AWS Webcast - Build Agile Applications in AWS Cloud for GovernmentAWS Webcast - Build Agile Applications in AWS Cloud for Government
AWS Webcast - Build Agile Applications in AWS Cloud for GovernmentAmazon Web Services
 
HPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerHPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerIRJET Journal
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017Patrick Chanezon
 
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...Wojciech Barczyński
 
microservice architecture public education v2
microservice architecture public education v2microservice architecture public education v2
microservice architecture public education v2uEngine Solutions
 
Azure Bootcamp 2016 - Docker Orchestration on Azure with Rancher
Azure Bootcamp 2016 - Docker Orchestration on Azure with RancherAzure Bootcamp 2016 - Docker Orchestration on Azure with Rancher
Azure Bootcamp 2016 - Docker Orchestration on Azure with RancherKarim Vaes
 
Deploying R for Production - SRUG
Deploying R for Production - SRUGDeploying R for Production - SRUG
Deploying R for Production - SRUGHolger Hellebro
 
Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015Microsoft
 
DevOps and BigData Analytics
DevOps and BigData Analytics DevOps and BigData Analytics
DevOps and BigData Analytics sbbabu
 
Spring and Pivotal Application Service - SpringOne Tour - Boston
Spring and Pivotal Application Service - SpringOne Tour - BostonSpring and Pivotal Application Service - SpringOne Tour - Boston
Spring and Pivotal Application Service - SpringOne Tour - BostonVMware Tanzu
 
Docker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITDocker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITStijn Wijndaele
 
'DOCKER' & CLOUD: ENABLERS For DEVOPS
'DOCKER' & CLOUD:  ENABLERS For DEVOPS'DOCKER' & CLOUD:  ENABLERS For DEVOPS
'DOCKER' & CLOUD: ENABLERS For DEVOPSACA IT-Solutions
 
Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14Simon Storm
 
Bring-your-ML-Project-into-Production-v2.pdf
Bring-your-ML-Project-into-Production-v2.pdfBring-your-ML-Project-into-Production-v2.pdf
Bring-your-ML-Project-into-Production-v2.pdfLiang Yan
 

Similar to Introduction to-chef (20)

Priming Your Teams For Microservice Deployment to the Cloud
Priming Your Teams For Microservice Deployment to the CloudPriming Your Teams For Microservice Deployment to the Cloud
Priming Your Teams For Microservice Deployment to the Cloud
 
Windows azure overview for SharePoint Pros
Windows azure overview for SharePoint Pros Windows azure overview for SharePoint Pros
Windows azure overview for SharePoint Pros
 
DevOps LA Meetup Intro to Habitat
DevOps LA Meetup Intro to HabitatDevOps LA Meetup Intro to Habitat
DevOps LA Meetup Intro to Habitat
 
Continuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWSContinuous Integration and Deployment Best Practices on AWS
Continuous Integration and Deployment Best Practices on AWS
 
DR_PRESENT 1
DR_PRESENT 1DR_PRESENT 1
DR_PRESENT 1
 
AWS Webcast - Build Agile Applications in AWS Cloud for Government
AWS Webcast - Build Agile Applications in AWS Cloud for GovernmentAWS Webcast - Build Agile Applications in AWS Cloud for Government
AWS Webcast - Build Agile Applications in AWS Cloud for Government
 
HPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerHPC Cloud Burst Using Docker
HPC Cloud Burst Using Docker
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017
 
56k.cloud training
56k.cloud training56k.cloud training
56k.cloud training
 
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
 
microservice architecture public education v2
microservice architecture public education v2microservice architecture public education v2
microservice architecture public education v2
 
Azure Bootcamp 2016 - Docker Orchestration on Azure with Rancher
Azure Bootcamp 2016 - Docker Orchestration on Azure with RancherAzure Bootcamp 2016 - Docker Orchestration on Azure with Rancher
Azure Bootcamp 2016 - Docker Orchestration on Azure with Rancher
 
Deploying R for Production - SRUG
Deploying R for Production - SRUGDeploying R for Production - SRUG
Deploying R for Production - SRUG
 
Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015Red Hat Forum Benelux 2015
Red Hat Forum Benelux 2015
 
DevOps and BigData Analytics
DevOps and BigData Analytics DevOps and BigData Analytics
DevOps and BigData Analytics
 
Spring and Pivotal Application Service - SpringOne Tour - Boston
Spring and Pivotal Application Service - SpringOne Tour - BostonSpring and Pivotal Application Service - SpringOne Tour - Boston
Spring and Pivotal Application Service - SpringOne Tour - Boston
 
Docker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITDocker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-IT
 
'DOCKER' & CLOUD: ENABLERS For DEVOPS
'DOCKER' & CLOUD:  ENABLERS For DEVOPS'DOCKER' & CLOUD:  ENABLERS For DEVOPS
'DOCKER' & CLOUD: ENABLERS For DEVOPS
 
Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14Docker dev ops for cd meetup 12-14
Docker dev ops for cd meetup 12-14
 
Bring-your-ML-Project-into-Production-v2.pdf
Bring-your-ML-Project-into-Production-v2.pdfBring-your-ML-Project-into-Production-v2.pdf
Bring-your-ML-Project-into-Production-v2.pdf
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 

Recently uploaded (20)

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

Introduction to-chef

Editor's Notes

  1. Formerly “Opscode” now just “Chef” “Opscode” is still a good qualifier for Google searches like using “p5” while searching for “processing” the language I will try to use “Opscode” when I’m talking about the company that manages Chef. And I’ll say “Chef” when I mean the framework.
  2. - I think a good way to initially evaluate a framework is to figure out what problem it solves.
  3. Installing the latest version of Node.js Advanced Package Manager doesn’t have latest node. Have you use NodeSource’s node.js version maintained by Chris Lea’s PPA (personal package archive). Or installing io.js Now think about doing all that (apt, ppa, installing, etc.) on every environment (dev, stage, prod which is possibly multiple servers). What if you have to reinstall your applications because your server dies? What if you need to setup more servers to handle load?
  4. Audience poll - how many people have had to setup a new computer? - how many people have at least 5 pieces of software that they would install after getting a new computer from IT? 10? 20? - the right version of git? - 1password - mamp (and if not, then apache/nginx mysql) - rvm - nvm
  5. - What if you are a front-end dev - Performance matters - Recently lots of extreme techniques for performance improvements as I talked about in my last presentation about images in RWD - one of the more recent front-end architecture performance strategies is inlining critical path css - SYN ACK (rwnd cwnd – number of segments sent in next request) depending on your setup since at least linux kernel version of 2.6.39 (2.6.33 and up you can adjust initrwnd – broadcast value of rwnd) You have ~14k in the first request Before 2.6.39 you had ~5k Even if you don’t inline css, modern browsers make ~6 requests per domain at a single time. Making sure you’re on the right kernel version impacts front-end performance (there are lots of perf optimizations before this).
  6. What programs are installed, and which versions? What are the characteristics of my machines? State not status. Chef isn’t meant for real-time status monitoring.
  7. Basically three types of actors in Chef Workstation (local comp), Chef Server (manages nodes, cookbooks, environments, data_bags, and roles), and nodes (the servers) Workstation ----- to --- chef server via Knife Workstation ----- to --- nodes via chef-client When a node updates with the Chef server it is called “convergence”.
  8. First setup your local machine Workstation needs to have Ruby installed Ran into issues using their update script while using rvm. Had to update as a gem. Install ChefDK (development kit) locally on your workstation Installs everything that you need to develop Chef
  9. Workstation is setup Now need to setup node
  10. - Manual install means provisioning the server in ec2. Later show example of provisioning, bootstrapping, and converging node in one step. - Installs it’s own version of Ruby (won’t conflict) Installs chef-client on the node which is used to communicate with the Chef Server
  11. The Chef Server can be run either on your own server or hosted by Opscode.
  12. Need somewhere to store your cookbooks so that nodes can access them Authentication Chef uses public/private key authentication When you start with Chef Manage starter kit you get some private keys in order to communicate between your workstation and Chef server.
  13. Then a cookbook
  14. Recipes – contains the instructions for the cookbook. These files are written in Ruby and for the most part contain a list of Resources or groups of actions to take on the server. Metadata.rb – This is where dependencies are listed. Also, contains versioning information. Explanatory information about the cookbook including licensing and contact info. Useful when working with Supermarket (github for cookbooks). Files – static files that can be manipulated via the cookbook_file resource (ie. authorized_keys file) Templates – similar to files but can be dynamically created using ERB templating (Erubis implementation). There are other folders and files we won’t cover today
  15. The Chef Server can be run either on your own server or hosted by Opscode.
  16. Autopilot one step server creation and deploy
  17. The Chef Server can be run either on your own server or hosted by Opscode.