SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
Introduction To Puppet And Usage In Cloud

                     Aditya Patawari

             Fedora Ambassador and Contributor
      System Administrator at Directi Internet Solutions
                aditya@adityapatawari.com
                adimania on freenode irc

                      May 13, 2012




                Aditya Patawari   Introduction To Puppet And Usage In Cloud
Topics



     Challenges faced by a System Administrator
     Why scripts fail to scale
     Need of a config management tool, Puppet
     Puppet installation and configuration
     Centralized infrastructure management
     Cloud Is Different
     Cloud Intelligence For Puppet
     Scaling Puppet master




                         Aditya Patawari   Introduction To Puppet And Usage In Cloud
Challenges Faced By A System Administrator




      New servers. New applications. Updates.
      Initial Configuration. Management. Replication.
      New joinees. People Leaving Organization.
  Read Again from first bullet. Essentially ”SyaAd Loop”


                       Aditya Patawari   Introduction To Puppet And Usage In Cloud
Why Scripts Fail To Scale




      Looks Dirty, specially when exceed 1000 lines (50 for perl)
      Master Slave Transport: Usually SSH :(
      Changes with platform
      More focus on ”how to do?” than ”what to do?”
      Do you like to Document?


                       Aditya Patawari   Introduction To Puppet And Usage In Cloud
Need Of A Config Management Tool, Puppet




     Centralized Configuration Management
     Easy To Introduce New Nodes
     Platform Independent Configs
     Clear Structure = Self Documenting
     Saves you from Carpel Tunnel!


                     Aditya Patawari   Introduction To Puppet And Usage In Cloud
Puppet vs Chef




     Usually more people on IRC, faster replies on mailing lists
     Puppet is older, more recipes available
     Awesome documentation and reference books like Pro Puppet
     Derived from my limited experience, criticism welcomed


                       Aditya Patawari   Introduction To Puppet And Usage In Cloud
Puppet Installation And Configuration




     yum, apt, gem
     Client-Server Architecture
     Preconfigured with basic setup.
     TLS security: Puppet CA
     The Magic File: site.pp


                      Aditya Patawari   Introduction To Puppet And Usage In Cloud
Puppet Installation And Configuration




  vim /etc/puppet/manifests/site.pp
                       Aditya Patawari   Introduction To Puppet And Usage In Cloud
Puppet Installation And Configuration




  tree /etc/puppet
                     Aditya Patawari   Introduction To Puppet And Usage In Cloud
Centralized Infrastructure Management




     Manifests and Modules
     Classes and Nodes
     include and inherits
     Providers and Facts
     Serving Static Files

                       Aditya Patawari   Introduction To Puppet And Usage In Cloud
Cloud Is Different




      Everything is Virtual
      On-the-fly Provisioning
      Puppet Needs to be Cloud Aware
      Plan for Capacity




                          Aditya Patawari   Introduction To Puppet And Usage In Cloud
Cloud Intelligence For Puppet




      Update Config Frequently
      Handle Security Certificates of Clients
      Regex Awesomeness

                       Aditya Patawari   Introduction To Puppet And Usage In Cloud
Scaling Puppet Master




     Webrick? Get Passenger/Unicorn
     Splitting off the File Server
     Load balancer and Puppet Cluster
     Git can do Magic!



                       Aditya Patawari   Introduction To Puppet And Usage In Cloud
Questions?




  Now is your chance :)




                          Aditya Patawari   Introduction To Puppet And Usage In Cloud

Contenu connexe

Similaire à Introduction to Puppet and Usage In Cloud

State of Puppet London
State of Puppet LondonState of Puppet London
State of Puppet London
Puppet
 
Cloud Computing: Infraestrutura, Aplicações e Desafios
Cloud Computing: Infraestrutura, Aplicações e DesafiosCloud Computing: Infraestrutura, Aplicações e Desafios
Cloud Computing: Infraestrutura, Aplicações e Desafios
Marcos Ferreira
 
Introduction to Puppet Enterprise 2016.2
Introduction to Puppet Enterprise 2016.2Introduction to Puppet Enterprise 2016.2
Introduction to Puppet Enterprise 2016.2
Puppet
 
State of Puppet 2013 - Puppet Camp DC
State of Puppet 2013 - Puppet Camp DCState of Puppet 2013 - Puppet Camp DC
State of Puppet 2013 - Puppet Camp DC
Puppet
 

Similaire à Introduction to Puppet and Usage In Cloud (20)

SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring BootSpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
 
Using WordPress for IoT - Vikram Kulkarni - WordCamp Nagpur
Using WordPress for IoT - Vikram Kulkarni - WordCamp NagpurUsing WordPress for IoT - Vikram Kulkarni - WordCamp Nagpur
Using WordPress for IoT - Vikram Kulkarni - WordCamp Nagpur
 
State of Puppet London
State of Puppet LondonState of Puppet London
State of Puppet London
 
State of Puppet - London
State of Puppet - LondonState of Puppet - London
State of Puppet - London
 
Project Atomic - rootconf2015
Project Atomic - rootconf2015Project Atomic - rootconf2015
Project Atomic - rootconf2015
 
Intro to Puppet Enterprise 06.28.2017
Intro to Puppet Enterprise 06.28.2017Intro to Puppet Enterprise 06.28.2017
Intro to Puppet Enterprise 06.28.2017
 
Project Atomic [rootconf2015]
Project Atomic [rootconf2015]Project Atomic [rootconf2015]
Project Atomic [rootconf2015]
 
Cloud Computing: Infraestrutura, Aplicações e Desafios
Cloud Computing: Infraestrutura, Aplicações e DesafiosCloud Computing: Infraestrutura, Aplicações e Desafios
Cloud Computing: Infraestrutura, Aplicações e Desafios
 
Introduction to Puppet Enterprise 2016.2
Introduction to Puppet Enterprise 2016.2Introduction to Puppet Enterprise 2016.2
Introduction to Puppet Enterprise 2016.2
 
Deploy Deep Learning Application with Azure Container Instance - Devdays2018
Deploy Deep Learning Application with Azure Container Instance - Devdays2018Deploy Deep Learning Application with Azure Container Instance - Devdays2018
Deploy Deep Learning Application with Azure Container Instance - Devdays2018
 
Windows Azure overview webinar by Sentri
Windows Azure overview webinar by SentriWindows Azure overview webinar by Sentri
Windows Azure overview webinar by Sentri
 
OSCON 2013 - Planning an OpenStack Cloud - Tom Fifield
OSCON 2013 - Planning an OpenStack Cloud - Tom FifieldOSCON 2013 - Planning an OpenStack Cloud - Tom Fifield
OSCON 2013 - Planning an OpenStack Cloud - Tom Fifield
 
OpenStack and Puppet
OpenStack and PuppetOpenStack and Puppet
OpenStack and Puppet
 
Introduction to Puppet Enterprise 10/03/2018
Introduction to Puppet Enterprise 10/03/2018Introduction to Puppet Enterprise 10/03/2018
Introduction to Puppet Enterprise 10/03/2018
 
State of Puppet - Puppet Camp Silicon Valley 2014
State of Puppet - Puppet Camp Silicon Valley 2014State of Puppet - Puppet Camp Silicon Valley 2014
State of Puppet - Puppet Camp Silicon Valley 2014
 
Fault Tolerance with Kubernetes
Fault Tolerance with KubernetesFault Tolerance with Kubernetes
Fault Tolerance with Kubernetes
 
Puppet overview
Puppet overviewPuppet overview
Puppet overview
 
Intro to Puppet Enterprise Webinar 07.27.2017
Intro to Puppet Enterprise Webinar 07.27.2017Intro to Puppet Enterprise Webinar 07.27.2017
Intro to Puppet Enterprise Webinar 07.27.2017
 
State of Puppet 2013 - Puppet Camp DC
State of Puppet 2013 - Puppet Camp DCState of Puppet 2013 - Puppet Camp DC
State of Puppet 2013 - Puppet Camp DC
 
Cumulus Networks & Puppet Labs webinar
Cumulus Networks & Puppet Labs webinarCumulus Networks & Puppet Labs webinar
Cumulus Networks & Puppet Labs webinar
 

Plus de Aditya Patawari (7)

Networking Overview for Docker Platform
Networking Overview for Docker PlatformNetworking Overview for Docker Platform
Networking Overview for Docker Platform
 
Beginning mesos
Beginning mesosBeginning mesos
Beginning mesos
 
BrowserStack Security Breach. Lessons Learned.
BrowserStack Security Breach. Lessons Learned.BrowserStack Security Breach. Lessons Learned.
BrowserStack Security Breach. Lessons Learned.
 
Orchestration with Ansible at Fedora Project
Orchestration with Ansible at Fedora ProjectOrchestration with Ansible at Fedora Project
Orchestration with Ansible at Fedora Project
 
Git
GitGit
Git
 
Foss.in Fedora Mini Conf
Foss.in Fedora Mini ConfFoss.in Fedora Mini Conf
Foss.in Fedora Mini Conf
 
Linux and lamp
Linux and lampLinux and lamp
Linux and lamp
 

Dernier

Dernier (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 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 🐘
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Introduction to Puppet and Usage In Cloud

  • 1. Introduction To Puppet And Usage In Cloud Aditya Patawari Fedora Ambassador and Contributor System Administrator at Directi Internet Solutions aditya@adityapatawari.com adimania on freenode irc May 13, 2012 Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 2. Topics Challenges faced by a System Administrator Why scripts fail to scale Need of a config management tool, Puppet Puppet installation and configuration Centralized infrastructure management Cloud Is Different Cloud Intelligence For Puppet Scaling Puppet master Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 3. Challenges Faced By A System Administrator New servers. New applications. Updates. Initial Configuration. Management. Replication. New joinees. People Leaving Organization. Read Again from first bullet. Essentially ”SyaAd Loop” Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 4. Why Scripts Fail To Scale Looks Dirty, specially when exceed 1000 lines (50 for perl) Master Slave Transport: Usually SSH :( Changes with platform More focus on ”how to do?” than ”what to do?” Do you like to Document? Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 5. Need Of A Config Management Tool, Puppet Centralized Configuration Management Easy To Introduce New Nodes Platform Independent Configs Clear Structure = Self Documenting Saves you from Carpel Tunnel! Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 6. Puppet vs Chef Usually more people on IRC, faster replies on mailing lists Puppet is older, more recipes available Awesome documentation and reference books like Pro Puppet Derived from my limited experience, criticism welcomed Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 7. Puppet Installation And Configuration yum, apt, gem Client-Server Architecture Preconfigured with basic setup. TLS security: Puppet CA The Magic File: site.pp Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 8. Puppet Installation And Configuration vim /etc/puppet/manifests/site.pp Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 9. Puppet Installation And Configuration tree /etc/puppet Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 10. Centralized Infrastructure Management Manifests and Modules Classes and Nodes include and inherits Providers and Facts Serving Static Files Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 11. Cloud Is Different Everything is Virtual On-the-fly Provisioning Puppet Needs to be Cloud Aware Plan for Capacity Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 12. Cloud Intelligence For Puppet Update Config Frequently Handle Security Certificates of Clients Regex Awesomeness Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 13. Scaling Puppet Master Webrick? Get Passenger/Unicorn Splitting off the File Server Load balancer and Puppet Cluster Git can do Magic! Aditya Patawari Introduction To Puppet And Usage In Cloud
  • 14. Questions? Now is your chance :) Aditya Patawari Introduction To Puppet And Usage In Cloud