SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
DevOps	
  with	
  Chef	
  and	
  Azure	
  
Ma6	
  Stra6on	
  
@ma6stra6on	
  
Who	
  Am	
  I?	
  
Ma6	
  Stra6on	
  
Solu?ons	
  Architect	
  at	
  CHEF	
  SoDware,	
  
Inc	
  
Host	
  of	
  Arrested	
  DevOps	
  podcast	
  
DevOpsDays	
  Chicago	
  organizer	
  
Previously	
  sysadmin,	
  Tech	
  Ops	
  Director,	
  Azure	
  V-­‐TSP,	
  
infrastructure	
  consultant,	
  yada	
  yada	
  yada	
  
“DevOps	
  is	
  a	
  cultural	
  and	
  professional	
  movement.	
  Period.	
  That’s	
  
it…	
  There’s	
  no	
  technology,	
  you	
  can’t	
  patent	
  ‘devops’.”	
  –	
  Adam	
  
Jacob,	
  Velocity	
  2010	
  
DevOps	
  can	
  be	
  summarized	
  with	
  
CAMS	
  –	
  Culture,	
  Automa?on,	
  
Measurement,	
  and	
  Sharing.	
  All	
  are	
  
important.	
  
Managing	
  complexity	
  –	
  two	
  worlds.	
  	
  
	
  
Ops	
  starts	
  by	
  making	
  with	
  the	
  clicky	
  clicky,	
  and	
  dev	
  starts	
  wri?ng	
  some	
  code	
  
We	
  get	
  a	
  li6le	
  be6er	
  –	
  ops	
  keeps	
  some	
  notes,	
  and	
  the	
  devs	
  test	
  things	
  on	
  a	
  dev	
  
server.	
  
Hey,	
  let’s	
  put	
  our	
  notes	
  into	
  a	
  wiki	
  and	
  start	
  sharing	
  with	
  the	
  rest	
  of	
  ops!	
  And	
  
devs	
  start	
  sharing	
  with	
  each	
  other	
  via	
  version	
  control.	
  
Now	
  ops	
  starts	
  wri?ng	
  some	
  scripts	
  to	
  some	
  kind	
  of	
  repeatability,	
  and	
  devs	
  get	
  
QA	
  involved	
  
I	
  know!	
  Let’s	
  use	
  golden	
  images	
  
Golden	
  images	
  are	
  not	
  the	
  answer.	
  Gold	
  is	
  heavy.	
  It’s	
  hard	
  to	
  transport.	
  Its	
  
hard	
  to	
  mold.	
  And	
  easy	
  to	
  lose	
  configura?on	
  detail.	
  
This	
  won’t	
  scale	
  or	
  let	
  you	
  move	
  fast.	
  There’s	
  no	
  feedback	
  loop	
  from	
  ops	
  to	
  dev,	
  and	
  
the	
  devs	
  aren’t	
  coordina?ng	
  with	
  ops	
  
What	
  is	
  Chef?	
  
	
  
Open	
  Source	
  Framework	
  for	
  managing	
  complexity	
  
Declara?ve	
  language	
  for	
  describing	
  &	
  configuring	
  infrastructure	
  
An	
  awesome	
  community	
  of	
  professionals	
  
A	
  fast-­‐growing	
  company	
  based	
  in	
  Sea6le,	
  WA	
  
	
  
How	
  does	
  Chef	
  work?	
  
	
  
Ensures	
  desired	
  state	
  by	
  con?nually	
  tes?ng	
  and	
  repairing	
  individual	
  resources	
  in	
  the	
  
system	
  
You	
  compose	
  policies	
  using	
  a	
  series	
  of	
  simple	
  declara?ons	
  
The	
  Chef	
  client	
  fetches	
  those	
  policies	
  from	
  a	
  central	
  server	
  and	
  applies	
  them	
  to	
  the	
  
local	
  machine	
  
The	
  state	
  of	
  the	
  machine	
  is	
  recorded	
  and	
  sent	
  back	
  to	
  a	
  database,	
  where	
  it	
  is	
  indexed	
  for	
  search,	
  repor?ng,	
  and	
  audit.	
  	
  
Infrastructure	
  as	
  Cod	
  in	
  a	
  nutshell:	
  
	
  
Define	
  Policy	
  That	
  Describes	
  Your	
  Infrastructure	
  
An	
  Autonomous	
  Agent	
  Implements	
  Your	
  Policy	
  
Policy	
  Enforcement	
  is	
  Con?nuous	
  and	
  Safe	
  
Automate	
  All	
  Your	
  Infrastructure	
  at	
  Scale	
  	
  
Build	
  Anything!	
  
	
  
Simple	
  internal	
  applica?ons	
  
Complex	
  external	
  applica?ons	
  
Worksta?ons	
  
Hadoop	
  clusters	
  
IaaS	
  infrastructure	
  
PaaS	
  infrastructure	
  
SaaS	
  applica?ons	
  
Storage	
  systems	
  
You	
  name	
  it	
  
	
  
And	
  manage	
  it	
  simply:	
  Automa?cally	
  reconfigure	
  everything	
  
Linux,	
  Windows,	
  Unixes,	
  BSDs	
  
Load	
  balancers	
  
Metrics	
  collec?on	
  systems	
  
Monitoring	
  systems	
  
Cloud	
  migra?ons	
  become	
  trivial	
  
DevOps	
  is	
  a	
  Two-­‐Way	
  Street	
  
	
  
It’s	
  great	
  when	
  developers	
  care	
  about	
  
Up?me!	
  
Scaling!	
  
Deployment!	
  
Put	
  them	
  on	
  call!	
  	
  etc.	
  etc.	
  etc.	
  
How	
  can	
  we	
  work	
  TOGETHER?	
  
Ops	
  has	
  as	
  much,	
  or	
  MORE,	
  to	
  learn	
  
from	
  dev.	
  
“Old”	
  SoDware	
  Development	
  Workflow	
  
	
  
Write	
  some	
  code	
  
<ad-­‐hoc	
  verifica?on	
  here>	
  
Go	
  to	
  pre-­‐produc?on	
  
<ad-­‐hoc	
  verifica?on	
  here>	
  
Go	
  to	
  produc?on	
  
ProducHon	
  failure	
  
Modern	
  SoDware	
  Development	
  workflow	
  
	
  
Write	
  some	
  code	
  
Write	
  and	
  run	
  some	
  unit	
  tests	
  
Go	
  to	
  pre-­‐produc?on	
  
Run	
  some	
  integraHon/acceptance	
  tests	
  
Go	
  to	
  produc?on	
  
Lowered	
  chance	
  of	
  producHon	
  failure	
  
Old	
  Chef	
  Cookbook	
  Workflow	
  
Write	
  some	
  cookbook	
  code	
  
<ad-­‐hoc	
  verifica?on	
  here>	
  
Go	
  to	
  pre-­‐produc?on	
  
<ad-­‐hoc	
  verifica?on	
  here	
  
Go	
  to	
  produc?on	
  
Whoops,	
  broke	
  producHon	
  
New	
  Chef	
  Cookbook	
  Workflow	
  
Write	
  some	
  cookbook	
  code	
  
Check	
  for	
  code	
  correctness	
  
Write	
  and	
  run	
  some	
  unit	
  tests	
  
Go	
  to	
  pre-­‐produc?on	
  
Run	
  some	
  integraHon	
  tests	
  
Go	
  to	
  produc?on	
  
Demo	
  of	
  Azure	
  and	
  Chef	
  integra?on.	
  See	
  h6p://youtu.be/wOj03WZHIr4	
  for	
  a	
  similar	
  
demo.	
  
CONTACTS	
  AND	
  LINKS	
  •	
  Tonight’s	
  code	
  -­‐	
  h6ps://github.com/ma6stra6on/	
  alm-­‐
demo-­‐repo	
  •	
  ma6stra6on@chef.io	
  •	
  @ma6stra6on	
  on	
  Twi6er	
  •	
  h6p://
arresteddevops.com	
  •	
  h6p://learn.chef.io	
  

Weitere ähnliche Inhalte

Was ist angesagt?

Fundamental Concepts of DevOps
Fundamental Concepts of DevOpsFundamental Concepts of DevOps
Fundamental Concepts of DevOps
Kiril Serebnik
 

Was ist angesagt? (20)

WinOps Conf 2016 - Matteo Emili - Development and QA Dilemmas in DevOps
WinOps Conf 2016 - Matteo Emili - Development and QA Dilemmas in DevOpsWinOps Conf 2016 - Matteo Emili - Development and QA Dilemmas in DevOps
WinOps Conf 2016 - Matteo Emili - Development and QA Dilemmas in DevOps
 
Devops skills you got what it takes ?
Devops skills   you got what it takes ?Devops skills   you got what it takes ?
Devops skills you got what it takes ?
 
DevOps Culture as a tool
DevOps Culture as a toolDevOps Culture as a tool
DevOps Culture as a tool
 
5 Keys to Building a Successful DevOps Culture
5 Keys to Building a Successful DevOps Culture5 Keys to Building a Successful DevOps Culture
5 Keys to Building a Successful DevOps Culture
 
Cloud Needs Devops
Cloud Needs DevopsCloud Needs Devops
Cloud Needs Devops
 
What DevOps Isn't
What DevOps Isn'tWhat DevOps Isn't
What DevOps Isn't
 
Starting and Scaling DevOps
Starting and Scaling DevOpsStarting and Scaling DevOps
Starting and Scaling DevOps
 
Fundamental Concepts of DevOps
Fundamental Concepts of DevOpsFundamental Concepts of DevOps
Fundamental Concepts of DevOps
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
The Journey to DevOps #MFSummit2017
The Journey to DevOps #MFSummit2017The Journey to DevOps #MFSummit2017
The Journey to DevOps #MFSummit2017
 
Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tec...
Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tec...Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tec...
Devops & Agility - Build the Culture, Get the Tools, Win the Day - Dundee Tec...
 
Devops : Automate Your Infrastructure with Puppet
Devops : Automate Your Infrastructure with PuppetDevops : Automate Your Infrastructure with Puppet
Devops : Automate Your Infrastructure with Puppet
 
Michigan IT Symposium 2017 - CI/CD Workflow Tutorial
Michigan IT Symposium 2017 - CI/CD Workflow TutorialMichigan IT Symposium 2017 - CI/CD Workflow Tutorial
Michigan IT Symposium 2017 - CI/CD Workflow Tutorial
 
DevOps
DevOps DevOps
DevOps
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
DevOps-Redefining your IT Strategy-28thJan15
DevOps-Redefining your IT Strategy-28thJan15DevOps-Redefining your IT Strategy-28thJan15
DevOps-Redefining your IT Strategy-28thJan15
 
Devops course content
Devops course contentDevops course content
Devops course content
 
DevOps: Process, Tool or Mindset?
DevOps: Process, Tool or Mindset?DevOps: Process, Tool or Mindset?
DevOps: Process, Tool or Mindset?
 
Jeffrey Snover - Empowering DevOps with Azure Stack
Jeffrey Snover - Empowering DevOps with Azure StackJeffrey Snover - Empowering DevOps with Azure Stack
Jeffrey Snover - Empowering DevOps with Azure Stack
 
DevOps Challenges and Best Practices
DevOps Challenges and Best PracticesDevOps Challenges and Best Practices
DevOps Challenges and Best Practices
 

Andere mochten auch

Devops the Microsoft Way
Devops the Microsoft WayDevops the Microsoft Way
Devops the Microsoft Way
Patrick Chanezon
 

Andere mochten auch (14)

Devops the Microsoft Way
Devops the Microsoft WayDevops the Microsoft Way
Devops the Microsoft Way
 
DevLOLOps - How To Automate Your DevOps Hilarity
DevLOLOps - How To Automate Your DevOps HilarityDevLOLOps - How To Automate Your DevOps Hilarity
DevLOLOps - How To Automate Your DevOps Hilarity
 
DevOps in Azure : Puppetize the Cloud
DevOps in Azure : Puppetize the CloudDevOps in Azure : Puppetize the Cloud
DevOps in Azure : Puppetize the Cloud
 
DevOps for Azure
DevOps for AzureDevOps for Azure
DevOps for Azure
 
Azure DevOps Presentation
Azure DevOps PresentationAzure DevOps Presentation
Azure DevOps Presentation
 
Design Practices for a Secure Azure Solution
Design Practices for a Secure Azure SolutionDesign Practices for a Secure Azure Solution
Design Practices for a Secure Azure Solution
 
Patch Management on Windows with Puppet
Patch Management on Windows with PuppetPatch Management on Windows with Puppet
Patch Management on Windows with Puppet
 
Integrating your on-premises Active Directory with Azure and Office 365
Integrating your on-premises Active Directory with Azure and Office 365Integrating your on-premises Active Directory with Azure and Office 365
Integrating your on-premises Active Directory with Azure and Office 365
 
DevOps in the Cloud with Microsoft Azure
DevOps in the Cloud with Microsoft AzureDevOps in the Cloud with Microsoft Azure
DevOps in the Cloud with Microsoft Azure
 
DevOps beyond the Tools
DevOps beyond the ToolsDevOps beyond the Tools
DevOps beyond the Tools
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
 
Enterprise DevOps
Enterprise DevOpsEnterprise DevOps
Enterprise DevOps
 
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
 
DevOps + Azure
DevOps + AzureDevOps + Azure
DevOps + Azure
 

Ähnlich wie DevOps With Chef and Azure

Sai devops - the art of being specializing generalist
Sai   devops - the art of being specializing generalistSai   devops - the art of being specializing generalist
Sai devops - the art of being specializing generalist
Odd-e
 

Ähnlich wie DevOps With Chef and Azure (20)

Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeConfoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
 
Accelerate your Application Delivery with DevOps and Microservices
Accelerate your Application Delivery with DevOps and MicroservicesAccelerate your Application Delivery with DevOps and Microservices
Accelerate your Application Delivery with DevOps and Microservices
 
DevOps
DevOpsDevOps
DevOps
 
Dev ops
Dev opsDev ops
Dev ops
 
DevOps to DevSecOps Journey..
DevOps to DevSecOps Journey..DevOps to DevSecOps Journey..
DevOps to DevSecOps Journey..
 
DevOps Behind the Scenes
DevOps Behind the ScenesDevOps Behind the Scenes
DevOps Behind the Scenes
 
IP Expo Nordic: Successful Practices for Continuous Delivery
IP Expo Nordic: Successful Practices for Continuous DeliveryIP Expo Nordic: Successful Practices for Continuous Delivery
IP Expo Nordic: Successful Practices for Continuous Delivery
 
Scale security for a dollar or less
Scale security for a dollar or lessScale security for a dollar or less
Scale security for a dollar or less
 
DevOps - A Gentle Introduction
DevOps - A Gentle IntroductionDevOps - A Gentle Introduction
DevOps - A Gentle Introduction
 
DevOps - A Gentle Introduction
DevOps - A Gentle IntroductionDevOps - A Gentle Introduction
DevOps - A Gentle Introduction
 
DevOps a peek into high performing organizations
DevOps a peek into high performing organizationsDevOps a peek into high performing organizations
DevOps a peek into high performing organizations
 
Strengthen and Scale Security for a dollar or less
Strengthen and Scale Security for a dollar or lessStrengthen and Scale Security for a dollar or less
Strengthen and Scale Security for a dollar or less
 
Achieving DevOps Success with Chef Automate
Achieving DevOps Success with Chef AutomateAchieving DevOps Success with Chef Automate
Achieving DevOps Success with Chef Automate
 
Enterprise Devops Presentation @ Magentys Seminar London May 15 2014
Enterprise Devops Presentation @ Magentys Seminar London May 15 2014Enterprise Devops Presentation @ Magentys Seminar London May 15 2014
Enterprise Devops Presentation @ Magentys Seminar London May 15 2014
 
Sai devops - the art of being specializing generalist
Sai   devops - the art of being specializing generalistSai   devops - the art of being specializing generalist
Sai devops - the art of being specializing generalist
 
Successful Practices for Continuous Delivery CodeCPH
Successful Practices for Continuous Delivery CodeCPHSuccessful Practices for Continuous Delivery CodeCPH
Successful Practices for Continuous Delivery CodeCPH
 
DevOps Offerings at WhiteHedge
DevOps Offerings at WhiteHedgeDevOps Offerings at WhiteHedge
DevOps Offerings at WhiteHedge
 
Strengthen and Scale Security Using DevSecOps - OWASP Indonesia
Strengthen and Scale Security Using DevSecOps - OWASP IndonesiaStrengthen and Scale Security Using DevSecOps - OWASP Indonesia
Strengthen and Scale Security Using DevSecOps - OWASP Indonesia
 
DevOps Culture & Methodology Intro
DevOps Culture & Methodology IntroDevOps Culture & Methodology Intro
DevOps Culture & Methodology Intro
 
Har du en DevOps i ditt team?
Har du en DevOps i ditt team?Har du en DevOps i ditt team?
Har du en DevOps i ditt team?
 

Mehr von Matt Stratton

Mehr von Matt Stratton (9)

How Do You Infect Your Organization With Humane Ops?
 How Do You Infect Your Organization With Humane Ops? How Do You Infect Your Organization With Humane Ops?
How Do You Infect Your Organization With Humane Ops?
 
Everything Is A Product - How To Apply Product Management Practices to Techno...
Everything Is A Product - How To Apply Product Management Practices to Techno...Everything Is A Product - How To Apply Product Management Practices to Techno...
Everything Is A Product - How To Apply Product Management Practices to Techno...
 
The Five Love Languages of DevOps
The Five Love Languages of DevOpsThe Five Love Languages of DevOps
The Five Love Languages of DevOps
 
Making Infrastructure S'mores With Chef (KC DevOps edition)
Making Infrastructure S'mores With Chef (KC DevOps edition)Making Infrastructure S'mores With Chef (KC DevOps edition)
Making Infrastructure S'mores With Chef (KC DevOps edition)
 
The Five Love Languages of DevOps
The Five Love Languages of DevOpsThe Five Love Languages of DevOps
The Five Love Languages of DevOps
 
Managing Your Mental Stack
Managing Your Mental Stack Managing Your Mental Stack
Managing Your Mental Stack
 
Agile Change and Release Management at the #1 Online Rental Site in the US
Agile Change and Release Management at the #1 Online Rental Site in the USAgile Change and Release Management at the #1 Online Rental Site in the US
Agile Change and Release Management at the #1 Online Rental Site in the US
 
Hiring Your First DevOp
Hiring Your First DevOpHiring Your First DevOp
Hiring Your First DevOp
 
Chef + Azure = Awesome
Chef + Azure = AwesomeChef + Azure = Awesome
Chef + Azure = Awesome
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 

DevOps With Chef and Azure

  • 1. DevOps  with  Chef  and  Azure   Ma6  Stra6on   @ma6stra6on  
  • 2. Who  Am  I?   Ma6  Stra6on   Solu?ons  Architect  at  CHEF  SoDware,   Inc   Host  of  Arrested  DevOps  podcast   DevOpsDays  Chicago  organizer   Previously  sysadmin,  Tech  Ops  Director,  Azure  V-­‐TSP,   infrastructure  consultant,  yada  yada  yada  
  • 3. “DevOps  is  a  cultural  and  professional  movement.  Period.  That’s   it…  There’s  no  technology,  you  can’t  patent  ‘devops’.”  –  Adam   Jacob,  Velocity  2010  
  • 4. DevOps  can  be  summarized  with   CAMS  –  Culture,  Automa?on,   Measurement,  and  Sharing.  All  are   important.  
  • 5. Managing  complexity  –  two  worlds.       Ops  starts  by  making  with  the  clicky  clicky,  and  dev  starts  wri?ng  some  code  
  • 6. We  get  a  li6le  be6er  –  ops  keeps  some  notes,  and  the  devs  test  things  on  a  dev   server.  
  • 7. Hey,  let’s  put  our  notes  into  a  wiki  and  start  sharing  with  the  rest  of  ops!  And   devs  start  sharing  with  each  other  via  version  control.  
  • 8. Now  ops  starts  wri?ng  some  scripts  to  some  kind  of  repeatability,  and  devs  get   QA  involved  
  • 9. I  know!  Let’s  use  golden  images  
  • 10. Golden  images  are  not  the  answer.  Gold  is  heavy.  It’s  hard  to  transport.  Its   hard  to  mold.  And  easy  to  lose  configura?on  detail.  
  • 11. This  won’t  scale  or  let  you  move  fast.  There’s  no  feedback  loop  from  ops  to  dev,  and   the  devs  aren’t  coordina?ng  with  ops  
  • 12. What  is  Chef?     Open  Source  Framework  for  managing  complexity   Declara?ve  language  for  describing  &  configuring  infrastructure   An  awesome  community  of  professionals   A  fast-­‐growing  company  based  in  Sea6le,  WA    
  • 13. How  does  Chef  work?     Ensures  desired  state  by  con?nually  tes?ng  and  repairing  individual  resources  in  the   system   You  compose  policies  using  a  series  of  simple  declara?ons   The  Chef  client  fetches  those  policies  from  a  central  server  and  applies  them  to  the   local  machine   The  state  of  the  machine  is  recorded  and  sent  back  to  a  database,  where  it  is  indexed  for  search,  repor?ng,  and  audit.    
  • 14. Infrastructure  as  Cod  in  a  nutshell:     Define  Policy  That  Describes  Your  Infrastructure   An  Autonomous  Agent  Implements  Your  Policy   Policy  Enforcement  is  Con?nuous  and  Safe   Automate  All  Your  Infrastructure  at  Scale    
  • 15. Build  Anything!     Simple  internal  applica?ons   Complex  external  applica?ons   Worksta?ons   Hadoop  clusters   IaaS  infrastructure   PaaS  infrastructure   SaaS  applica?ons   Storage  systems   You  name  it    
  • 16. And  manage  it  simply:  Automa?cally  reconfigure  everything   Linux,  Windows,  Unixes,  BSDs   Load  balancers   Metrics  collec?on  systems   Monitoring  systems   Cloud  migra?ons  become  trivial  
  • 17. DevOps  is  a  Two-­‐Way  Street     It’s  great  when  developers  care  about   Up?me!   Scaling!   Deployment!   Put  them  on  call!    etc.  etc.  etc.  
  • 18. How  can  we  work  TOGETHER?  
  • 19. Ops  has  as  much,  or  MORE,  to  learn   from  dev.  
  • 20. “Old”  SoDware  Development  Workflow     Write  some  code   <ad-­‐hoc  verifica?on  here>   Go  to  pre-­‐produc?on   <ad-­‐hoc  verifica?on  here>   Go  to  produc?on   ProducHon  failure  
  • 21. Modern  SoDware  Development  workflow     Write  some  code   Write  and  run  some  unit  tests   Go  to  pre-­‐produc?on   Run  some  integraHon/acceptance  tests   Go  to  produc?on   Lowered  chance  of  producHon  failure  
  • 22. Old  Chef  Cookbook  Workflow   Write  some  cookbook  code   <ad-­‐hoc  verifica?on  here>   Go  to  pre-­‐produc?on   <ad-­‐hoc  verifica?on  here   Go  to  produc?on   Whoops,  broke  producHon  
  • 23. New  Chef  Cookbook  Workflow   Write  some  cookbook  code   Check  for  code  correctness   Write  and  run  some  unit  tests   Go  to  pre-­‐produc?on   Run  some  integraHon  tests   Go  to  produc?on  
  • 24. Demo  of  Azure  and  Chef  integra?on.  See  h6p://youtu.be/wOj03WZHIr4  for  a  similar   demo.  
  • 25. CONTACTS  AND  LINKS  •  Tonight’s  code  -­‐  h6ps://github.com/ma6stra6on/  alm-­‐ demo-­‐repo  •  ma6stra6on@chef.io  •  @ma6stra6on  on  Twi6er  •  h6p:// arresteddevops.com  •  h6p://learn.chef.io