SlideShare a Scribd company logo
Automation w/ Puppet & a Path to
Private Hybrid Cloud
by Andrew Ludwar
Lead, UNIX/Linux Infrastructure
Agenda
• Automation
– What is Puppet?
– Where does it apply?
– Gotcha’s / best practices
• Path to Private Hybrid Cloud
– Server provisioning
What is Puppet?
• Automation? – … in the right context, yes!
• Orchestration? – No!
• Configuration Management? – Yes!
• Fancy scripting? – Yes!
• Marketing fluff? – Couldn’t be more true!
What is Puppet?
• Automation… let’s define it further
– Drift management for server/VM
“sprawl”
– Repeatable, reliable provisioning
– Programmatical approach to
infrastructure
• What it’s NOT
– Orchestration language
– Silver bullet to automation
– Exists below layer 3 in OSI
What is Puppet?
• Configuration management tool & scripting language
• State Described Language (SDL)
• Client/server architecture
puppet client agent --> puppet master server
• Uses SSL certificates; encrypted communication
• OS Platform agnostic (**mostly**, true for Linux, Solaris/Windows
not quite as mature)
• Abstracted syntax
apache installed = true; instead of
yum install apache && chkconfig apache on && service apache
start
apt-get apache, etc.
What is Puppet?
• Reintroduces traditional modular programming concepts into
“Puppet Modules” (functions, methods)
• Maintains state of servers based on:
– Server/OS facts collected into a catalog called Factor/Heira
– Unique identifiers of hosts (FQDN usually)
– Node groups and other classification techniques (ENC –
External Node Classifier)
– Hardcoded classification and modules (will haunt you
eventually)
• Assumes server is on the network (TCP/IP, not TFTP/BOOTP)
• Agents check in typically every 15 minutes
• Config changes should follow a CI/CD workflow
What is Puppet?
• Enterprise & open source versions for both puppet software and
the puppet code written with it
• Written by developers for developers (enterprise consumable?)
• Large reason for the uptake in the “DevOps” culture and
processes
• Becoming highly adopted & integrated in the open source
ecosystem (& some proprietary)
– RedHat Satellite 6, RedHat OpenStack, OpenShift, etc.
– Canonical Landscape, JuJu, MaaS, etc.
– VMware vCloudAC, Amazon EC2, Google Compute, F5, Cisco,
etc.
Managing Puppet
• Roles --> Profiles --> Modules --> Sub-components
– A node can only have one role at a time (think in terms of the business)
– A role includes one or more profiles to define that type of server
– A profile includes and manages modules to define a logical technical stack
– Modules manage resources and should only be responsible for managing
aspects of the component they are written for
What does Puppet mean for me?
• Am I going to have to learn a new scripting language?
– Potentially, but the syntax is very English & UNIX like
file_permissions { root : root };
apache_installed = true; apache_web_root = ‘/var/www/html’
- Bulk of work is classifying systems, identical to kickstart/
jumpstart. You wouldn’t necessarily have to write the kickstart
code, but you should be able to kick a server.
• Is automation going to put me out of a job?
– Not going to happen. Less time is spent on low-value tasks,
and more time being in control of your systems.
– Automation has been around for years
– Experience is key
Experience is key…
Ted, the factory manager, was having difficulty in his
assembly line. Ted hired his friend Brian, a senior engineer, to
see if he could help identify the problem area. Brian walked
up to the control panel, watched the line for 10 minutes,
pressed one button, and resolved the issue. Ted was thrilled,
and told him to send an invoice.
The bill arrived, for $10,000. Ted, a little shocked, asked for a
breakdown. Brian sent another invoice, indicating a $1 charge
for pressing the button, and $9,999 for knowing what button
to push.
What makes sense for your company?
• Puppet enterprise, puppet open source, or leverage Satellite?
• Integration with other tools? (Microsoft System Center?)
• Enterprise tested modules from vendor or roll your own? Hybrid?
• What % of company resources spent being administrators vs
developers?
• Code maintenance costs? Future portability?
• Integration with other teams?
What to be careful of?
What to be careful of?
What to be careful of?
• Indecision comes at a
high cost
• Think courageous
failures!
• Unconventional thinking
“In a time of rapid change, standing still is the most
dangerous course of action.”
What to be careful of?
• Automation scope/feature creep
• “Puppet can do anything!!”
• Not an orchestration/workflow language
• Traditional thinking vs “DevOps” thinking
--> Robust first --> Speed first
--> Speed second --> Robust second
Unconventional questions from
others…
Path to Private Hybrid Cloud
Server Provisioning Artifacts:
To Summarize:
• Automation and Orchestration are separate concepts with
separate toolsets
• Courageous failures will provide tremendous value
• Unconventional thinking should be front of mind
Additional Resources
• Puppet Architecture - Craig Dunn, PuppetLabs Engineer
– http://www.craigdunn.org/2012/05/239/
– http://www.slideshare.net/PuppetLabs/roles-talk
• Puppet Training Classes
– PuppetLabs Fundamentals
– PuppetLabs Practitioner (Advanced)
• Guide to the Open Cloud
– http://www.linuxfoundation.org/publications/linux-foundation/
guide-to-the-open-cloud (PDF)
• RHEV vs VMware Pricing
– http://www.redhat.com/en/files/resources/en-rhev-vs-vmware-
vsphere-competitive-pricing-review-11717847.pdf
Thank You

More Related Content

PPTX
Techzim Surge: Important Considerations for Hosting Web or Mobile Apps
PPT
Bandwidth, Throughput, Iops, And Flops
PPT
Railsgirls
PDF
CPSeis & GeoCraft
PDF
Introduction to hubot
PPTX
Jax Devops 2017 Succeeding in the Cloud – the guidebook of Fail
PDF
Automation & Cloud Evolution - Long View VMware Forum Calgary January 21 2014
PDF
Changing Landscape report summary FINAL
Techzim Surge: Important Considerations for Hosting Web or Mobile Apps
Bandwidth, Throughput, Iops, And Flops
Railsgirls
CPSeis & GeoCraft
Introduction to hubot
Jax Devops 2017 Succeeding in the Cloud – the guidebook of Fail
Automation & Cloud Evolution - Long View VMware Forum Calgary January 21 2014
Changing Landscape report summary FINAL

Viewers also liked (20)

PDF
Web 2.0 toolset overview
PPTX
Carrenza at Government ICT 2016 / The advantages of highly automated clouds
PDF
Puppet@Citygrid - Julien Rottenberg - PuppetCamp LA '12
PPTX
Ca today here and_now_martin_vajda
PPTX
Automation for cloud
PPTX
Implementing automation within your organisation
PDF
WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy
PDF
Cisco Intelligent Automation For Cloud
PDF
The Hyper Connected Era: Mobile First, Cloud First and Multi Screen
PDF
Automating Cloud Operations: Tips from Managed Services
PDF
Open shift and docker - october,2014
PPTX
IT Service Catalog: Build a Service Taxonomy in 4 Easy Steps
PPTX
Building REST APIs with Spring Boot and Spring Cloud
PDF
How to Operate in the Cloud Using ServiceNow, RightScale and More
PDF
Devops the Microsoft Way
PDF
DevOps in the Cloud with Microsoft Azure
PDF
7 Common Questions About a Cloud Management Platform
PPTX
OpenShift Enterprise 3.1 vs kubernetes
PPTX
DevOps with Microsoft Azure
PDF
Red Hat OpenShift V3 Overview and Deep Dive
Web 2.0 toolset overview
Carrenza at Government ICT 2016 / The advantages of highly automated clouds
Puppet@Citygrid - Julien Rottenberg - PuppetCamp LA '12
Ca today here and_now_martin_vajda
Automation for cloud
Implementing automation within your organisation
WSO2Con EU 2016: WSO2 Cloud and Platform as a Service Strategy
Cisco Intelligent Automation For Cloud
The Hyper Connected Era: Mobile First, Cloud First and Multi Screen
Automating Cloud Operations: Tips from Managed Services
Open shift and docker - october,2014
IT Service Catalog: Build a Service Taxonomy in 4 Easy Steps
Building REST APIs with Spring Boot and Spring Cloud
How to Operate in the Cloud Using ServiceNow, RightScale and More
Devops the Microsoft Way
DevOps in the Cloud with Microsoft Azure
7 Common Questions About a Cloud Management Platform
OpenShift Enterprise 3.1 vs kubernetes
DevOps with Microsoft Azure
Red Hat OpenShift V3 Overview and Deep Dive
Ad

Similar to Automation with Puppet and a Path to Private Hybrid Cloud (20)

PPTX
Docker-N-Beyond
KEY
Portable infrastructure with puppet
PPTX
OpenFest 2014 Aggressive DevOps
PDF
Scaling a Serverless Developer Platform for Teams
PPTX
Dev Ops for systems of record - Talk at Agile Australia 2015
PDF
PuppetConf 2016: Successful Puppet Implementation in Large Organizations – Ja...
PDF
Puppet latest and greatest
PPTX
SiestaTime - Defcon27 Red Team Village
PPT
SaltConf14 - Brendan Burns, Google - Management at Google Scale
PDF
What we talk about when we talk about DevOps
PPTX
Software Engineering in Startups
PPTX
Deep Learning on Qubole Data Platform
PDF
Puppet Keynote by Ralph Luchs
PDF
Smart Platform Infrastructure with AWS
PPTX
Habitat Overview
PDF
Puppet Camp Boston 2014: Keynote
PDF
PuppetConf 2016: A Tale of Two Hierarchies: Group Policy & Puppet – Matt Ston...
PDF
DevOps: What is This Puppet You Speak Of?
PDF
How to get started with Site Reliability Engineering
PDF
Herding cats in the Cloud
Docker-N-Beyond
Portable infrastructure with puppet
OpenFest 2014 Aggressive DevOps
Scaling a Serverless Developer Platform for Teams
Dev Ops for systems of record - Talk at Agile Australia 2015
PuppetConf 2016: Successful Puppet Implementation in Large Organizations – Ja...
Puppet latest and greatest
SiestaTime - Defcon27 Red Team Village
SaltConf14 - Brendan Burns, Google - Management at Google Scale
What we talk about when we talk about DevOps
Software Engineering in Startups
Deep Learning on Qubole Data Platform
Puppet Keynote by Ralph Luchs
Smart Platform Infrastructure with AWS
Habitat Overview
Puppet Camp Boston 2014: Keynote
PuppetConf 2016: A Tale of Two Hierarchies: Group Policy & Puppet – Matt Ston...
DevOps: What is This Puppet You Speak Of?
How to get started with Site Reliability Engineering
Herding cats in the Cloud
Ad

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Empathic Computing: Creating Shared Understanding
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Cloud computing and distributed systems.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Network Security Unit 5.pdf for BCA BBA.
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
Chapter 3 Spatial Domain Image Processing.pdf
sap open course for s4hana steps from ECC to s4
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
MYSQL Presentation for SQL database connectivity
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Understanding_Digital_Forensics_Presentation.pptx
cuic standard and advanced reporting.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Review of recent advances in non-invasive hemoglobin estimation
Diabetes mellitus diagnosis method based random forest with bat algorithm
Empathic Computing: Creating Shared Understanding
Spectral efficient network and resource selection model in 5G networks
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Cloud computing and distributed systems.
Dropbox Q2 2025 Financial Results & Investor Presentation
Network Security Unit 5.pdf for BCA BBA.

Automation with Puppet and a Path to Private Hybrid Cloud

  • 1. Automation w/ Puppet & a Path to Private Hybrid Cloud by Andrew Ludwar Lead, UNIX/Linux Infrastructure
  • 2. Agenda • Automation – What is Puppet? – Where does it apply? – Gotcha’s / best practices • Path to Private Hybrid Cloud – Server provisioning
  • 3. What is Puppet? • Automation? – … in the right context, yes! • Orchestration? – No! • Configuration Management? – Yes! • Fancy scripting? – Yes! • Marketing fluff? – Couldn’t be more true!
  • 4. What is Puppet? • Automation… let’s define it further – Drift management for server/VM “sprawl” – Repeatable, reliable provisioning – Programmatical approach to infrastructure • What it’s NOT – Orchestration language – Silver bullet to automation – Exists below layer 3 in OSI
  • 5. What is Puppet? • Configuration management tool & scripting language • State Described Language (SDL) • Client/server architecture puppet client agent --> puppet master server • Uses SSL certificates; encrypted communication • OS Platform agnostic (**mostly**, true for Linux, Solaris/Windows not quite as mature) • Abstracted syntax apache installed = true; instead of yum install apache && chkconfig apache on && service apache start apt-get apache, etc.
  • 6. What is Puppet? • Reintroduces traditional modular programming concepts into “Puppet Modules” (functions, methods) • Maintains state of servers based on: – Server/OS facts collected into a catalog called Factor/Heira – Unique identifiers of hosts (FQDN usually) – Node groups and other classification techniques (ENC – External Node Classifier) – Hardcoded classification and modules (will haunt you eventually) • Assumes server is on the network (TCP/IP, not TFTP/BOOTP) • Agents check in typically every 15 minutes • Config changes should follow a CI/CD workflow
  • 7. What is Puppet? • Enterprise & open source versions for both puppet software and the puppet code written with it • Written by developers for developers (enterprise consumable?) • Large reason for the uptake in the “DevOps” culture and processes • Becoming highly adopted & integrated in the open source ecosystem (& some proprietary) – RedHat Satellite 6, RedHat OpenStack, OpenShift, etc. – Canonical Landscape, JuJu, MaaS, etc. – VMware vCloudAC, Amazon EC2, Google Compute, F5, Cisco, etc.
  • 8. Managing Puppet • Roles --> Profiles --> Modules --> Sub-components – A node can only have one role at a time (think in terms of the business) – A role includes one or more profiles to define that type of server – A profile includes and manages modules to define a logical technical stack – Modules manage resources and should only be responsible for managing aspects of the component they are written for
  • 9. What does Puppet mean for me? • Am I going to have to learn a new scripting language? – Potentially, but the syntax is very English & UNIX like file_permissions { root : root }; apache_installed = true; apache_web_root = ‘/var/www/html’ - Bulk of work is classifying systems, identical to kickstart/ jumpstart. You wouldn’t necessarily have to write the kickstart code, but you should be able to kick a server. • Is automation going to put me out of a job? – Not going to happen. Less time is spent on low-value tasks, and more time being in control of your systems. – Automation has been around for years – Experience is key
  • 10. Experience is key… Ted, the factory manager, was having difficulty in his assembly line. Ted hired his friend Brian, a senior engineer, to see if he could help identify the problem area. Brian walked up to the control panel, watched the line for 10 minutes, pressed one button, and resolved the issue. Ted was thrilled, and told him to send an invoice. The bill arrived, for $10,000. Ted, a little shocked, asked for a breakdown. Brian sent another invoice, indicating a $1 charge for pressing the button, and $9,999 for knowing what button to push.
  • 11. What makes sense for your company? • Puppet enterprise, puppet open source, or leverage Satellite? • Integration with other tools? (Microsoft System Center?) • Enterprise tested modules from vendor or roll your own? Hybrid? • What % of company resources spent being administrators vs developers? • Code maintenance costs? Future portability? • Integration with other teams?
  • 12. What to be careful of?
  • 13. What to be careful of?
  • 14. What to be careful of? • Indecision comes at a high cost • Think courageous failures! • Unconventional thinking “In a time of rapid change, standing still is the most dangerous course of action.”
  • 15. What to be careful of? • Automation scope/feature creep • “Puppet can do anything!!” • Not an orchestration/workflow language • Traditional thinking vs “DevOps” thinking --> Robust first --> Speed first --> Speed second --> Robust second
  • 17. Path to Private Hybrid Cloud
  • 19. To Summarize: • Automation and Orchestration are separate concepts with separate toolsets • Courageous failures will provide tremendous value • Unconventional thinking should be front of mind
  • 20. Additional Resources • Puppet Architecture - Craig Dunn, PuppetLabs Engineer – http://www.craigdunn.org/2012/05/239/ – http://www.slideshare.net/PuppetLabs/roles-talk • Puppet Training Classes – PuppetLabs Fundamentals – PuppetLabs Practitioner (Advanced) • Guide to the Open Cloud – http://www.linuxfoundation.org/publications/linux-foundation/ guide-to-the-open-cloud (PDF) • RHEV vs VMware Pricing – http://www.redhat.com/en/files/resources/en-rhev-vs-vmware- vsphere-competitive-pricing-review-11717847.pdf