SlideShare a Scribd company logo
Puppet at Scale
using Terraform & ECS
2
Maxime VISONNEAU
Principal DevOps Engineer
@mvisonneau
The story behind this talk..
3
Agenda
 Terraform and ECS?
 Why?
 How?
 Beyond!
4Puppet at Scale using Terraform & ECS
5
TERRAFORM
 Infrastructure as a Code
 Execution plans
 Resource graph
 Change automation
 Open Source
 Strong community
 Enterprise support
https://github.com/hashicorp/terraform
Alternatives to Terraform
6Puppet at Scale using Terraform & ECS
CloudFormation
Tied to AWS Not made for that
7
ECS
 Container management service
 Highly scalable
 Highly available
 Managed through AWS SDK/API/CLI
 Maintained by AWS
Alternatives to ECS
8Puppet at Scale using Terraform & ECS
GO AHEAD!
Why?
9
Use case
Client / Server architecture
 Certificate Authority
 Server workloads
 PuppetDB for reporting, with a human
friendly interface on top of it
Lets keep it opensource for now
10Puppet at Scale using Terraform & ECS
Why not masterless ?
11
So why then ?
12
Because we can!
13
The love of the sport!
14
SPEED!
15
16
0
100
200
300
400
500
600
ECS EC2
seconds
17Puppet at Scale using Terraform & ECS
Pros
 Speed of scale
 Scalability
 Reliability / Availability
 Additionnal level of abstraction
 Enhanced compute resources sharing
 No chicken/egg issue at Puppet is not
configuring itself anymore
Cons
 Complexity
 Operability
The TCO will depend on where you
currently are regarding your
implementation of containers at scale.
How?
18
First things first!
19
The Puppet Code
20Puppet at Scale using Terraform & ECS
One step at a time!
21
The Certificate Authority
22Puppet at Scale using Terraform & ECS
The Puppet Server
23Puppet at Scale using Terraform & ECS
The Puppet DB
24Puppet at Scale using Terraform & ECS
The puppetboard
25Puppet at Scale using Terraform & ECS
PuppetDB
Assembling the pieces together
26
27
And there it is..
28
SHOWTIME!
(time to pray the demo gods)
29
30
Room for improvement
(a big one!)
31
How could we make it better ?
Service discovery
Move away from
load balancers and
enhance portability
Use a unikernel
Improve
immutability of the
base image we use
Monitoring
What we don’t
monitor never
fails
Abstract data
persistence
Will enable the
portability of the
solution onto
another provider
32Puppet at Scale using Terraform & ECS
Change scheduler
Improve operability
and be cloud
provider agnostic
How could we make it better ?
33Puppet at Scale using Terraform & ECS
That’s it!
34
Time for questions
(and answers if possible..!)
35
PuppetConf 2016: Scaling Puppet on AWS ECS with Terraform and Docker – Maxime Visonneau, Trainline

More Related Content

PDF
DevOps Summit 2016 - The immutable Journey
PDF
Kubernetes x PaaS – コンテナアプリケーションのNoOpsへの挑戦
PDF
PuppetConf 2016 Customer Keynote: Cloud, Containers & the Impact on IT - Jeff...
PDF
The pain and gains running Docker in live @Pipedrive
PDF
Unlimited Staging Environments
PPTX
Using Docker in Production
PDF
Intro to Kubernetes Workshop — Innovation Labs July 2020
PDF
OpenStack Preso: DevOps on Hybrid Infrastructure
DevOps Summit 2016 - The immutable Journey
Kubernetes x PaaS – コンテナアプリケーションのNoOpsへの挑戦
PuppetConf 2016 Customer Keynote: Cloud, Containers & the Impact on IT - Jeff...
The pain and gains running Docker in live @Pipedrive
Unlimited Staging Environments
Using Docker in Production
Intro to Kubernetes Workshop — Innovation Labs July 2020
OpenStack Preso: DevOps on Hybrid Infrastructure

What's hot (20)

PDF
Kubernetes Kops - Automation Night
PDF
Containerize Your Game Server for the Best Multiplayer Experience
PDF
Lunar Way and the Cloud Native "stack"
PDF
JupyterHub + kubernetes
PDF
Orchestrating VM & Container Deployments
PDF
Docker Essentials Workshop— Innovation Labs July 2020
PDF
How application performance requirements impacted the (r)evolution of the Doc...
PDF
Two Years In Production With Kubernetes - An Experience Report
PPTX
Automating Software Development Life Cycle - A DevOps Approach
PDF
Effective Building your Platform with Kubernetes == Keep it Simple
PPTX
Kubernetes @ Nanit by Chen Fisher
PDF
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
PDF
"Yahoo! JAPAN の Kubernetes-as-a-Service" で加速するアプリケーション開発
PDF
Container orchestration on_aws
PPTX
Continuous Delivery With Selenium Grid And Docker
PDF
Kubelet with no Kubernetes Masters | DevNation Tech Talk
PPTX
Managing Docker Containers In A Cluster - Introducing Kubernetes
PDF
"On-premises" FaaS on Kubernetes
PPTX
Serverless on Kubernetes
PPTX
Cloud Native Okteto Cloud
Kubernetes Kops - Automation Night
Containerize Your Game Server for the Best Multiplayer Experience
Lunar Way and the Cloud Native "stack"
JupyterHub + kubernetes
Orchestrating VM & Container Deployments
Docker Essentials Workshop— Innovation Labs July 2020
How application performance requirements impacted the (r)evolution of the Doc...
Two Years In Production With Kubernetes - An Experience Report
Automating Software Development Life Cycle - A DevOps Approach
Effective Building your Platform with Kubernetes == Keep it Simple
Kubernetes @ Nanit by Chen Fisher
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
"Yahoo! JAPAN の Kubernetes-as-a-Service" で加速するアプリケーション開発
Container orchestration on_aws
Continuous Delivery With Selenium Grid And Docker
Kubelet with no Kubernetes Masters | DevNation Tech Talk
Managing Docker Containers In A Cluster - Introducing Kubernetes
"On-premises" FaaS on Kubernetes
Serverless on Kubernetes
Cloud Native Okteto Cloud
Ad

Viewers also liked (17)

PDF
PuppetConf 2016: Running Puppet Software in Docker Containers – Gareth Rushgr...
PDF
PuppetConf 2016: DevOps Where You Wouldn't Have Expected – Thomas Limoncelli,...
PDF
Functional Hostnames and Why they are Bad
PDF
Puppet and AWS: Getting the best of both worlds
PDF
PuppetConf 2016: Multi-Tenant Puppet at Scale – John Jawed, eBay, Inc.
PDF
PuppetConf 2016: Debugging Diversity – Anjuan Simmons, Assemble Systems
PDF
PuppetConf. 2016: External Data in Puppet 4 – R.I. Pienaar
PDF
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PDF
PuppetConf track overview: Modern Infrastructure
PDF
PuppetConf 2016: Best Practices for Puppet in the Cloud – Randall Hunt, Amazo...
PDF
PuppetConf 2016: Implementing Puppet within a Complex Enterprise – Jerry Caup...
PDF
PuppetConf 2016: Can You Manage Me Now? Humanizing Configuration Management a...
PDF
PuppetConf 2016: Watching the Puppet Show – Sean Porter, Heavy Water Operations
PDF
PuppetConf. 2016: Puppet Best Practices: Roles & Profiles – Gary Larizza, Puppet
PDF
PuppetConf 2016: Successful Puppet Implementation in Large Organizations – Ja...
PPTX
An intro to Docker, Terraform, and Amazon ECS
PPTX
Infrastructure as code: running microservices on AWS using Docker, Terraform,...
PuppetConf 2016: Running Puppet Software in Docker Containers – Gareth Rushgr...
PuppetConf 2016: DevOps Where You Wouldn't Have Expected – Thomas Limoncelli,...
Functional Hostnames and Why they are Bad
Puppet and AWS: Getting the best of both worlds
PuppetConf 2016: Multi-Tenant Puppet at Scale – John Jawed, eBay, Inc.
PuppetConf 2016: Debugging Diversity – Anjuan Simmons, Assemble Systems
PuppetConf. 2016: External Data in Puppet 4 – R.I. Pienaar
PuppetConf 2016: The Challenges with Container Configuration – David Lutterko...
PuppetConf track overview: Modern Infrastructure
PuppetConf 2016: Best Practices for Puppet in the Cloud – Randall Hunt, Amazo...
PuppetConf 2016: Implementing Puppet within a Complex Enterprise – Jerry Caup...
PuppetConf 2016: Can You Manage Me Now? Humanizing Configuration Management a...
PuppetConf 2016: Watching the Puppet Show – Sean Porter, Heavy Water Operations
PuppetConf. 2016: Puppet Best Practices: Roles & Profiles – Gary Larizza, Puppet
PuppetConf 2016: Successful Puppet Implementation in Large Organizations – Ja...
An intro to Docker, Terraform, and Amazon ECS
Infrastructure as code: running microservices on AWS using Docker, Terraform,...
Ad

Similar to PuppetConf 2016: Scaling Puppet on AWS ECS with Terraform and Docker – Maxime Visonneau, Trainline (20)

PDF
One-Man Ops
PDF
Best aws course syllabus 2025 .pdf
PPTX
ECS and Docker at Okta
PDF
AWS DevOps - Terraform, Docker, HashiCorp Vault
PPTX
Controlled Evolution with Puppet and AWS
PDF
Microservices Architecture with AWS @ AnyMind Group
PDF
AnyMind Group Tech Talk - Microservices architecture with AWS
PDF
The Evolving Design Patterns of Puppet Enterprise - PuppetConf 2014
PPTX
Controlled Evolution with Puppet and AWS
PDF
Running at Scale: Practical Performance Tuning with Puppet - PuppetConf 2013
PDF
Cloud Computing of the college .pdf
PDF
Certified Cloud Computing Specialist (CCCS)
PPTX
AWS ECS LESSONS LEARNED
PPTX
Docker on Amazon ECS
PPTX
Open stack jobs avoiding the axe
PDF
Integrating Puppet with Cloud Infrastructures-Remco Overdijk
PPTX
Gradient Clouds Infographics by Slidesgo.pptx
PDF
London Hug 19/5 - Terraform in Production
PPTX
AWS ECS workshop
PPTX
Introduction to AWS and Docker on ECS
One-Man Ops
Best aws course syllabus 2025 .pdf
ECS and Docker at Okta
AWS DevOps - Terraform, Docker, HashiCorp Vault
Controlled Evolution with Puppet and AWS
Microservices Architecture with AWS @ AnyMind Group
AnyMind Group Tech Talk - Microservices architecture with AWS
The Evolving Design Patterns of Puppet Enterprise - PuppetConf 2014
Controlled Evolution with Puppet and AWS
Running at Scale: Practical Performance Tuning with Puppet - PuppetConf 2013
Cloud Computing of the college .pdf
Certified Cloud Computing Specialist (CCCS)
AWS ECS LESSONS LEARNED
Docker on Amazon ECS
Open stack jobs avoiding the axe
Integrating Puppet with Cloud Infrastructures-Remco Overdijk
Gradient Clouds Infographics by Slidesgo.pptx
London Hug 19/5 - Terraform in Production
AWS ECS workshop
Introduction to AWS and Docker on ECS

More from Puppet (20)

PPTX
Puppet Community Day: Planning the Future Together
PPTX
The Evolution of Puppet: Key Changes and Modernization Tips
PPTX
Can You Help Me Upgrade to Puppet 8? Tips, Tools & Best Practices for Your Up...
PPTX
Bolt Dynamic Inventory: Making Puppet Easier
PPTX
Customizing Reporting with the Puppet Report Processor
PPTX
Puppet at ConfigMgmtCamp 2025 Sponsor Deck
PPTX
The State of Puppet in 2025: A Presentation from Developer Relations Lead Dav...
PPTX
Let Red be Red and Green be Green: The Automated Workflow Restarter in GitHub...
PDF
Puppet camp2021 testing modules and controlrepo
PPTX
Puppetcamp r10kyaml
PDF
2021 04-15 operational verification (with notes)
PPTX
Puppet camp vscode
PDF
Modules of the twenties
PDF
Applying Roles and Profiles method to compliance code
PPTX
KGI compliance as-code approach
PDF
Enforce compliance policy with model-driven automation
PDF
Keynote: Puppet camp compliance
PPTX
Automating it management with Puppet + ServiceNow
PPTX
Puppet: The best way to harden Windows
PPTX
Simplified Patch Management with Puppet - Oct. 2020
Puppet Community Day: Planning the Future Together
The Evolution of Puppet: Key Changes and Modernization Tips
Can You Help Me Upgrade to Puppet 8? Tips, Tools & Best Practices for Your Up...
Bolt Dynamic Inventory: Making Puppet Easier
Customizing Reporting with the Puppet Report Processor
Puppet at ConfigMgmtCamp 2025 Sponsor Deck
The State of Puppet in 2025: A Presentation from Developer Relations Lead Dav...
Let Red be Red and Green be Green: The Automated Workflow Restarter in GitHub...
Puppet camp2021 testing modules and controlrepo
Puppetcamp r10kyaml
2021 04-15 operational verification (with notes)
Puppet camp vscode
Modules of the twenties
Applying Roles and Profiles method to compliance code
KGI compliance as-code approach
Enforce compliance policy with model-driven automation
Keynote: Puppet camp compliance
Automating it management with Puppet + ServiceNow
Puppet: The best way to harden Windows
Simplified Patch Management with Puppet - Oct. 2020

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
August Patch Tuesday
PDF
Mushroom cultivation and it's methods.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Spectroscopy.pptx food analysis technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Tartificialntelligence_presentation.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
A comparative analysis of optical character recognition models for extracting...
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
Univ-Connecticut-ChatGPT-Presentaion.pdf
August Patch Tuesday
Mushroom cultivation and it's methods.pdf
A Presentation on Artificial Intelligence
Network Security Unit 5.pdf for BCA BBA.
Encapsulation_ Review paper, used for researhc scholars
Unlocking AI with Model Context Protocol (MCP)
Spectroscopy.pptx food analysis technology
MIND Revenue Release Quarter 2 2025 Press Release
Agricultural_Statistics_at_a_Glance_2022_0.pdf
A comparative study of natural language inference in Swahili using monolingua...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Heart disease approach using modified random forest and particle swarm optimi...
Programs and apps: productivity, graphics, security and other tools
Tartificialntelligence_presentation.pptx
Group 1 Presentation -Planning and Decision Making .pptx
A comparative analysis of optical character recognition models for extracting...

PuppetConf 2016: Scaling Puppet on AWS ECS with Terraform and Docker – Maxime Visonneau, Trainline