SlideShare a Scribd company logo
Masterless Puppet
in AWS
by Daniel Thornton (relud)
AWS Resources
EC2 instance
EC2 user-data
IAM role
S3 bucket
Other Resources
Github
Puppet Forge
Hiera
Git Repo
Modules and non-secret hiera data
Installed to /etc/puppet
List forge modules in hiera
Secrets
Stored in S3 bucket
IAM role for access
Deployment
Write userdata
Assign role with Facter external fact
Launch EC2 instance with userdata
Live Demo
https://github.com/relud/puppet-demo
Improvements
● Bundle /etc/puppet (except secrets)
● Store secrets in git and automatically sync
Pros
● Deploy any code version
● Simple puppet forge integration
● Scalable
● No manual approval of servers
● Puppet only runs once
Cons
● Puppet only runs once
● Puppetdb and dashboards (like
TheForeman) don’t work well
● Doesn’t translate well outside AWS
Questions?

More Related Content

Viewers also liked

Game of thrones longform tv
Game of thrones longform tv Game of thrones longform tv
Game of thrones longform tv
jakeflack
 
Waste Segregation for Dummies - New
Waste Segregation for Dummies - NewWaste Segregation for Dummies - New
Waste Segregation for Dummies - New
Ragpicker
 
Traditional Vs. Social Media Prospecting
Traditional Vs. Social Media ProspectingTraditional Vs. Social Media Prospecting
Traditional Vs. Social Media Prospecting
signatureworldwide
 
What Is Content Strategy? (ACS July Meetup)
What Is Content Strategy? (ACS July Meetup)What Is Content Strategy? (ACS July Meetup)
What Is Content Strategy? (ACS July Meetup)
CHI*Atlanta
 
Service Discovery or Why each micro service should believe it's the only one ...
Service Discovery or Why each micro service should believe it's the only one ...Service Discovery or Why each micro service should believe it's the only one ...
Service Discovery or Why each micro service should believe it's the only one ...
icemobile
 
Driving Instructor Melbourne
Driving Instructor MelbourneDriving Instructor Melbourne
Driving Instructor Melbourne
Rajsafe Drivingschool
 
Nuevas tecnologías de la información myj
Nuevas tecnologías de la información myjNuevas tecnologías de la información myj
Nuevas tecnologías de la información myjjuliamanu
 
December Political Monitor: Attitudes to coalitions_191214
December Political Monitor: Attitudes to coalitions_191214December Political Monitor: Attitudes to coalitions_191214
December Political Monitor: Attitudes to coalitions_191214
Ipsos UK
 
Exhibitionist #03 Alberto Cairo
Exhibitionist #03 Alberto CairoExhibitionist #03 Alberto Cairo
Exhibitionist #03 Alberto Cairo
Fondazione Fiera Milano
 
World's Most Spectacular Tennis Courts
World's Most Spectacular Tennis CourtsWorld's Most Spectacular Tennis Courts
World's Most Spectacular Tennis Courts
Amanda Starbuck
 
Ramsey Theory
Ramsey TheoryRamsey Theory
Ramsey Theory
Suparno Ghoshal
 
Leveraging Social Media for Trade Shows Webinar Slides from The Trade Group W...
Leveraging Social Media for Trade Shows Webinar Slides from The Trade Group W...Leveraging Social Media for Trade Shows Webinar Slides from The Trade Group W...
Leveraging Social Media for Trade Shows Webinar Slides from The Trade Group W...
knshort
 
Collaborative Exploratory and Unit testing -talk at Testival
Collaborative Exploratory and Unit testing -talk at TestivalCollaborative Exploratory and Unit testing -talk at Testival
Collaborative Exploratory and Unit testing -talk at Testival
Maaret Pyhäjärvi
 
Oferta grupului Romelectro - Industrie
Oferta grupului Romelectro - IndustrieOferta grupului Romelectro - Industrie
Oferta grupului Romelectro - Industrie
Romelectro
 
Cómo reducir el peso de una imagen a partir de las dimensiones. Con Microsoft...
Cómo reducir el peso de una imagen a partir de las dimensiones. Con Microsoft...Cómo reducir el peso de una imagen a partir de las dimensiones. Con Microsoft...
Cómo reducir el peso de una imagen a partir de las dimensiones. Con Microsoft...
Ángel Puente
 
Learning Analytics & Exploratory Dialogue
Learning Analytics & Exploratory DialogueLearning Analytics & Exploratory Dialogue
Learning Analytics & Exploratory Dialogue
Simon Buckingham Shum
 
Academic Library Reference Collection
Academic Library Reference CollectionAcademic Library Reference Collection
Academic Library Reference Collection
Maira Bundza
 
15NTC: What to Do When Technology Isn't Your Problem?
15NTC: What to Do When Technology Isn't Your Problem?15NTC: What to Do When Technology Isn't Your Problem?
15NTC: What to Do When Technology Isn't Your Problem?
Marc Baizman
 

Viewers also liked (20)

Game of thrones longform tv
Game of thrones longform tv Game of thrones longform tv
Game of thrones longform tv
 
Waste Segregation for Dummies - New
Waste Segregation for Dummies - NewWaste Segregation for Dummies - New
Waste Segregation for Dummies - New
 
Traditional Vs. Social Media Prospecting
Traditional Vs. Social Media ProspectingTraditional Vs. Social Media Prospecting
Traditional Vs. Social Media Prospecting
 
What Is Content Strategy? (ACS July Meetup)
What Is Content Strategy? (ACS July Meetup)What Is Content Strategy? (ACS July Meetup)
What Is Content Strategy? (ACS July Meetup)
 
Service Discovery or Why each micro service should believe it's the only one ...
Service Discovery or Why each micro service should believe it's the only one ...Service Discovery or Why each micro service should believe it's the only one ...
Service Discovery or Why each micro service should believe it's the only one ...
 
Driving Instructor Melbourne
Driving Instructor MelbourneDriving Instructor Melbourne
Driving Instructor Melbourne
 
Redes Sociais
Redes SociaisRedes Sociais
Redes Sociais
 
Nuevas tecnologías de la información myj
Nuevas tecnologías de la información myjNuevas tecnologías de la información myj
Nuevas tecnologías de la información myj
 
Zaragoza turismo 203
Zaragoza turismo 203Zaragoza turismo 203
Zaragoza turismo 203
 
December Political Monitor: Attitudes to coalitions_191214
December Political Monitor: Attitudes to coalitions_191214December Political Monitor: Attitudes to coalitions_191214
December Political Monitor: Attitudes to coalitions_191214
 
Exhibitionist #03 Alberto Cairo
Exhibitionist #03 Alberto CairoExhibitionist #03 Alberto Cairo
Exhibitionist #03 Alberto Cairo
 
World's Most Spectacular Tennis Courts
World's Most Spectacular Tennis CourtsWorld's Most Spectacular Tennis Courts
World's Most Spectacular Tennis Courts
 
Ramsey Theory
Ramsey TheoryRamsey Theory
Ramsey Theory
 
Leveraging Social Media for Trade Shows Webinar Slides from The Trade Group W...
Leveraging Social Media for Trade Shows Webinar Slides from The Trade Group W...Leveraging Social Media for Trade Shows Webinar Slides from The Trade Group W...
Leveraging Social Media for Trade Shows Webinar Slides from The Trade Group W...
 
Collaborative Exploratory and Unit testing -talk at Testival
Collaborative Exploratory and Unit testing -talk at TestivalCollaborative Exploratory and Unit testing -talk at Testival
Collaborative Exploratory and Unit testing -talk at Testival
 
Oferta grupului Romelectro - Industrie
Oferta grupului Romelectro - IndustrieOferta grupului Romelectro - Industrie
Oferta grupului Romelectro - Industrie
 
Cómo reducir el peso de una imagen a partir de las dimensiones. Con Microsoft...
Cómo reducir el peso de una imagen a partir de las dimensiones. Con Microsoft...Cómo reducir el peso de una imagen a partir de las dimensiones. Con Microsoft...
Cómo reducir el peso de una imagen a partir de las dimensiones. Con Microsoft...
 
Learning Analytics & Exploratory Dialogue
Learning Analytics & Exploratory DialogueLearning Analytics & Exploratory Dialogue
Learning Analytics & Exploratory Dialogue
 
Academic Library Reference Collection
Academic Library Reference CollectionAcademic Library Reference Collection
Academic Library Reference Collection
 
15NTC: What to Do When Technology Isn't Your Problem?
15NTC: What to Do When Technology Isn't Your Problem?15NTC: What to Do When Technology Isn't Your Problem?
15NTC: What to Do When Technology Isn't Your Problem?
 

Similar to Puppet Camp Portland 2014: Masterless Puppet in AWS

Ansible at work
Ansible at workAnsible at work
Ansible at work
Bas Meijer
 
Lessons learned after a year of lambda - AWS Community Day SF 2017
Lessons learned after a year of lambda - AWS Community Day SF 2017Lessons learned after a year of lambda - AWS Community Day SF 2017
Lessons learned after a year of lambda - AWS Community Day SF 2017
Matt Billock
 
AWS DevOps - Terraform, Docker, HashiCorp Vault
AWS DevOps - Terraform, Docker, HashiCorp VaultAWS DevOps - Terraform, Docker, HashiCorp Vault
AWS DevOps - Terraform, Docker, HashiCorp Vault
Grzegorz Adamowicz
 
Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...
Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...
Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...
Nicolas Brousse
 
IoT Google Cloud Functions with Firebase
IoT Google Cloud Functions with FirebaseIoT Google Cloud Functions with Firebase
IoT Google Cloud Functions with Firebase
Shang Yi Lim
 
Yaetos_Meetup_SparkBCN_v1.pdf
Yaetos_Meetup_SparkBCN_v1.pdfYaetos_Meetup_SparkBCN_v1.pdf
Yaetos_Meetup_SparkBCN_v1.pdf
prevota
 
Flutter - Pixel by Pixel
Flutter - Pixel by PixelFlutter - Pixel by Pixel
Flutter - Pixel by Pixel
Thomas Gazzoni
 
Embulk at Treasure Data
Embulk at Treasure DataEmbulk at Treasure Data
Embulk at Treasure Data
Satoshi Akama
 
ISI work
ISI workISI work
ISI work
dgarijo
 
Deep dive into serverless on Google Cloud
Deep dive into serverless on Google CloudDeep dive into serverless on Google Cloud
Deep dive into serverless on Google Cloud
Bret McGowen - NYC Google Developer Advocate
 
Gitlab runner in aws
Gitlab runner in aws Gitlab runner in aws
Gitlab runner in aws
Amit Ghosh
 
The Hack Spectrum: Tips, Tricks, and Hacks for Unity
The Hack Spectrum: Tips, Tricks, and Hacks for UnityThe Hack Spectrum: Tips, Tricks, and Hacks for Unity
The Hack Spectrum: Tips, Tricks, and Hacks for Unity
Ryan Hipple
 
Effective Scala: Programming Patterns
Effective Scala: Programming PatternsEffective Scala: Programming Patterns
Effective Scala: Programming PatternsVasil Remeniuk
 
Lamba scaffold webinar
Lamba scaffold webinarLamba scaffold webinar
Lamba scaffold webinar
Matt Billock
 
Improving Operations Efficiency with Puppet
Improving Operations Efficiency with PuppetImproving Operations Efficiency with Puppet
Improving Operations Efficiency with Puppet
Nicolas Brousse
 
PyConIT 2018 Writing and deploying serverless python applications
PyConIT 2018 Writing and deploying serverless python applicationsPyConIT 2018 Writing and deploying serverless python applications
PyConIT 2018 Writing and deploying serverless python applications
Cesar Cardenas Desales
 
Behat internals for advanced usage. Symfony Camp 2016
Behat internals for advanced usage. Symfony Camp 2016Behat internals for advanced usage. Symfony Camp 2016
Behat internals for advanced usage. Symfony Camp 2016
Sergey Polischook
 
Portland Puppet User Group June 2014: Writing and publishing puppet modules
Portland Puppet User Group June 2014: Writing and publishing puppet modulesPortland Puppet User Group June 2014: Writing and publishing puppet modules
Portland Puppet User Group June 2014: Writing and publishing puppet modules
Puppet
 
June 2014 PDX PUG: Writing and Publishing Puppet Modules
June 2014 PDX PUG: Writing and Publishing Puppet Modules June 2014 PDX PUG: Writing and Publishing Puppet Modules
June 2014 PDX PUG: Writing and Publishing Puppet Modules Puppet
 
Introduction to serverless computing on Google Cloud
Introduction to serverless computing on Google CloudIntroduction to serverless computing on Google Cloud
Introduction to serverless computing on Google Cloud
wesley chun
 

Similar to Puppet Camp Portland 2014: Masterless Puppet in AWS (20)

Ansible at work
Ansible at workAnsible at work
Ansible at work
 
Lessons learned after a year of lambda - AWS Community Day SF 2017
Lessons learned after a year of lambda - AWS Community Day SF 2017Lessons learned after a year of lambda - AWS Community Day SF 2017
Lessons learned after a year of lambda - AWS Community Day SF 2017
 
AWS DevOps - Terraform, Docker, HashiCorp Vault
AWS DevOps - Terraform, Docker, HashiCorp VaultAWS DevOps - Terraform, Docker, HashiCorp Vault
AWS DevOps - Terraform, Docker, HashiCorp Vault
 
Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...
Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...
Puppet Camp Silicon Valley 2015: How TubeMogul reached 10,000 Puppet Deployme...
 
IoT Google Cloud Functions with Firebase
IoT Google Cloud Functions with FirebaseIoT Google Cloud Functions with Firebase
IoT Google Cloud Functions with Firebase
 
Yaetos_Meetup_SparkBCN_v1.pdf
Yaetos_Meetup_SparkBCN_v1.pdfYaetos_Meetup_SparkBCN_v1.pdf
Yaetos_Meetup_SparkBCN_v1.pdf
 
Flutter - Pixel by Pixel
Flutter - Pixel by PixelFlutter - Pixel by Pixel
Flutter - Pixel by Pixel
 
Embulk at Treasure Data
Embulk at Treasure DataEmbulk at Treasure Data
Embulk at Treasure Data
 
ISI work
ISI workISI work
ISI work
 
Deep dive into serverless on Google Cloud
Deep dive into serverless on Google CloudDeep dive into serverless on Google Cloud
Deep dive into serverless on Google Cloud
 
Gitlab runner in aws
Gitlab runner in aws Gitlab runner in aws
Gitlab runner in aws
 
The Hack Spectrum: Tips, Tricks, and Hacks for Unity
The Hack Spectrum: Tips, Tricks, and Hacks for UnityThe Hack Spectrum: Tips, Tricks, and Hacks for Unity
The Hack Spectrum: Tips, Tricks, and Hacks for Unity
 
Effective Scala: Programming Patterns
Effective Scala: Programming PatternsEffective Scala: Programming Patterns
Effective Scala: Programming Patterns
 
Lamba scaffold webinar
Lamba scaffold webinarLamba scaffold webinar
Lamba scaffold webinar
 
Improving Operations Efficiency with Puppet
Improving Operations Efficiency with PuppetImproving Operations Efficiency with Puppet
Improving Operations Efficiency with Puppet
 
PyConIT 2018 Writing and deploying serverless python applications
PyConIT 2018 Writing and deploying serverless python applicationsPyConIT 2018 Writing and deploying serverless python applications
PyConIT 2018 Writing and deploying serverless python applications
 
Behat internals for advanced usage. Symfony Camp 2016
Behat internals for advanced usage. Symfony Camp 2016Behat internals for advanced usage. Symfony Camp 2016
Behat internals for advanced usage. Symfony Camp 2016
 
Portland Puppet User Group June 2014: Writing and publishing puppet modules
Portland Puppet User Group June 2014: Writing and publishing puppet modulesPortland Puppet User Group June 2014: Writing and publishing puppet modules
Portland Puppet User Group June 2014: Writing and publishing puppet modules
 
June 2014 PDX PUG: Writing and Publishing Puppet Modules
June 2014 PDX PUG: Writing and Publishing Puppet Modules June 2014 PDX PUG: Writing and Publishing Puppet Modules
June 2014 PDX PUG: Writing and Publishing Puppet Modules
 
Introduction to serverless computing on Google Cloud
Introduction to serverless computing on Google CloudIntroduction to serverless computing on Google Cloud
Introduction to serverless computing on Google Cloud
 

More from Puppet

Puppet camp2021 testing modules and controlrepo
Puppet camp2021 testing modules and controlrepoPuppet camp2021 testing modules and controlrepo
Puppet camp2021 testing modules and controlrepo
Puppet
 
Puppetcamp r10kyaml
Puppetcamp r10kyamlPuppetcamp r10kyaml
Puppetcamp r10kyaml
Puppet
 
2021 04-15 operational verification (with notes)
2021 04-15 operational verification (with notes)2021 04-15 operational verification (with notes)
2021 04-15 operational verification (with notes)
Puppet
 
Puppet camp vscode
Puppet camp vscodePuppet camp vscode
Puppet camp vscode
Puppet
 
Modules of the twenties
Modules of the twentiesModules of the twenties
Modules of the twenties
Puppet
 
Applying Roles and Profiles method to compliance code
Applying Roles and Profiles method to compliance codeApplying Roles and Profiles method to compliance code
Applying Roles and Profiles method to compliance code
Puppet
 
KGI compliance as-code approach
KGI compliance as-code approachKGI compliance as-code approach
KGI compliance as-code approach
Puppet
 
Enforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automationEnforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automation
Puppet
 
Keynote: Puppet camp compliance
Keynote: Puppet camp complianceKeynote: Puppet camp compliance
Keynote: Puppet camp compliance
Puppet
 
Automating it management with Puppet + ServiceNow
Automating it management with Puppet + ServiceNowAutomating it management with Puppet + ServiceNow
Automating it management with Puppet + ServiceNow
Puppet
 
Puppet: The best way to harden Windows
Puppet: The best way to harden WindowsPuppet: The best way to harden Windows
Puppet: The best way to harden Windows
Puppet
 
Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020
Puppet
 
Accelerating azure adoption with puppet
Accelerating azure adoption with puppetAccelerating azure adoption with puppet
Accelerating azure adoption with puppet
Puppet
 
Puppet catalog Diff; Raphael Pinson
Puppet catalog Diff; Raphael PinsonPuppet catalog Diff; Raphael Pinson
Puppet catalog Diff; Raphael Pinson
Puppet
 
ServiceNow and Puppet- better together, Kevin Reeuwijk
ServiceNow and Puppet- better together, Kevin ReeuwijkServiceNow and Puppet- better together, Kevin Reeuwijk
ServiceNow and Puppet- better together, Kevin Reeuwijk
Puppet
 
Take control of your dev ops dumping ground
Take control of your  dev ops dumping groundTake control of your  dev ops dumping ground
Take control of your dev ops dumping ground
Puppet
 
100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software
Puppet
 
Puppet User Group
Puppet User GroupPuppet User Group
Puppet User Group
Puppet
 
Continuous Compliance and DevSecOps
Continuous Compliance and DevSecOpsContinuous Compliance and DevSecOps
Continuous Compliance and DevSecOps
Puppet
 
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick MaludyThe Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
Puppet
 

More from Puppet (20)

Puppet camp2021 testing modules and controlrepo
Puppet camp2021 testing modules and controlrepoPuppet camp2021 testing modules and controlrepo
Puppet camp2021 testing modules and controlrepo
 
Puppetcamp r10kyaml
Puppetcamp r10kyamlPuppetcamp r10kyaml
Puppetcamp r10kyaml
 
2021 04-15 operational verification (with notes)
2021 04-15 operational verification (with notes)2021 04-15 operational verification (with notes)
2021 04-15 operational verification (with notes)
 
Puppet camp vscode
Puppet camp vscodePuppet camp vscode
Puppet camp vscode
 
Modules of the twenties
Modules of the twentiesModules of the twenties
Modules of the twenties
 
Applying Roles and Profiles method to compliance code
Applying Roles and Profiles method to compliance codeApplying Roles and Profiles method to compliance code
Applying Roles and Profiles method to compliance code
 
KGI compliance as-code approach
KGI compliance as-code approachKGI compliance as-code approach
KGI compliance as-code approach
 
Enforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automationEnforce compliance policy with model-driven automation
Enforce compliance policy with model-driven automation
 
Keynote: Puppet camp compliance
Keynote: Puppet camp complianceKeynote: Puppet camp compliance
Keynote: Puppet camp compliance
 
Automating it management with Puppet + ServiceNow
Automating it management with Puppet + ServiceNowAutomating it management with Puppet + ServiceNow
Automating it management with Puppet + ServiceNow
 
Puppet: The best way to harden Windows
Puppet: The best way to harden WindowsPuppet: The best way to harden Windows
Puppet: The best way to harden Windows
 
Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020Simplified Patch Management with Puppet - Oct. 2020
Simplified Patch Management with Puppet - Oct. 2020
 
Accelerating azure adoption with puppet
Accelerating azure adoption with puppetAccelerating azure adoption with puppet
Accelerating azure adoption with puppet
 
Puppet catalog Diff; Raphael Pinson
Puppet catalog Diff; Raphael PinsonPuppet catalog Diff; Raphael Pinson
Puppet catalog Diff; Raphael Pinson
 
ServiceNow and Puppet- better together, Kevin Reeuwijk
ServiceNow and Puppet- better together, Kevin ReeuwijkServiceNow and Puppet- better together, Kevin Reeuwijk
ServiceNow and Puppet- better together, Kevin Reeuwijk
 
Take control of your dev ops dumping ground
Take control of your  dev ops dumping groundTake control of your  dev ops dumping ground
Take control of your dev ops dumping ground
 
100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software100% Puppet Cloud Deployment of Legacy Software
100% Puppet Cloud Deployment of Legacy Software
 
Puppet User Group
Puppet User GroupPuppet User Group
Puppet User Group
 
Continuous Compliance and DevSecOps
Continuous Compliance and DevSecOpsContinuous Compliance and DevSecOps
Continuous Compliance and DevSecOps
 
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick MaludyThe Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
The Dynamic Duo of Puppet and Vault tame SSL Certificates, Nick Maludy
 

Puppet Camp Portland 2014: Masterless Puppet in AWS