SlideShare a Scribd company logo
1 of 68
Download to read offline
Puppet at the centre of everything
David Mytton

Woop Japan!
Server Density Architecture

•100 servers - Ubuntu 12.04
Server Density Architecture

•100 servers - Ubuntu 12.04

•50% virtual
Server Density Architecture

•100 servers - Ubuntu 12.04

•50% virtual

•Nginx, Python, MongoDB
Server Density Architecture

•100 servers - Ubuntu 12.04

•50% virtual

•Nginx, Python, MongoDB

•25TB data per month
• Config

Use cases
• Config

• Failover

Use cases
• Config

• Failover

• Code deploys

Use cases
• Config

• Failover

• Code deploys

• System updates

Use cases
• Base manifest

Config
• Base manifest

• Sub manifests

Config
• base
• softlayer
• softlayer-dedicated
• rackspace
• ...
Failover

• /etc/hosts
<%= metrics2IP %> alerts.honshuu.prod
audit.honshuu.prod auth.honshuu.prod
cloud.honshuu.prod datastore.honshuu.prod
inventory.honshuu.prod ...
Failover

• /etc/hosts
108.168.254.33

puppet
Dealing with outages

Expected
Dealing with outages

Really test your vendors
Dealing with outages

Simulations
• Commit

Code deploys
• Commit

• Build

Code deploys
• Commit

• Build

• Deploy

Code deploys
/opt/puppet/bin/mco puppetd runonce -I <host>
• Commit

• Build

• Deploy

• Puppet run

Code deploys
Code deploys
Advantages

APIs
Code deploys
Advantages

APIs
Already there
Code deploys
Advantages

APIs
Already there

System facts
Code deploys
Disadvantages

Slow
Code deploys
Disadvantages

Slow
Puppet run already
Code deploys
Disadvantages

Slow
Puppet run already

Eventually consistent
• Bash script

System updates
System updates

• Bash script

• Remote commands
System updates

• Bash script

• Remote commands

• Notifications
System updates

• Bash script

• Remote commands

• Notifications

• Canaries
•Build master (buildbot): VM x2 CPU 2.0Ghz, 2GB
RAM – $89/m

Colo experiment

•Build slave (buildbot): VM x1 CPU 2.0Ghz, 1GB
RAM
– $40/m

•Staging load balancer: VM x1 CPU 2.0Ghz, 1GB
RAM – $40/m

•Staging server 1: VM x2 CPU 2.0Ghz, 8GB RAM
– $165/m

•Staging server 2: VM x1 CPU 2.0Ghz, 2GB RAM
– $50/m

•Puppet master: VM x2 CPU 2.0Ghz, 2GB RAM
– $89/m
Colo experiment

•Dell 1U R415
•x2 8C AMD 2.8Ghz

•32GB RAM
Colo experiment

•Dell 1U R415
•x2 8C AMD 2.8Ghz

•32GB RAM

•Dual PSU, NIC
Colo experiment

•Dell 1U R415
•x2 8C AMD 2.8Ghz

•32GB RAM

•Dual PSU, NIC

•x4 1TB SATA hot swappable
Dedicated?
Dedicated?

•Hardware replacement
Dedicated?

•Hardware replacement

•Managed/support
Dedicated?

•Hardware replacement

•Managed/support

•Networking
Colo?
•Hardware spec/value

Colo?
•Hardware spec/value

•Total cost

Colo?
•Hardware spec/value

•Total cost

•Internal skills?

Colo?
•Hardware spec/value

•Total cost

•Internal skills?

•More fun?!

Colo?
•£300-350/kWh/m

•4.5A = £520/m

•9A = £900/m

Colo: Power
David Mytton
@davidmytton

david@serverdensity.com
blog.serverdensity.com

Woop Japan!

More Related Content

What's hot

Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Ontico
 
Steve Singer - Managing PostgreSQL with Puppet @ Postgres Open
Steve Singer - Managing PostgreSQL with Puppet @ Postgres OpenSteve Singer - Managing PostgreSQL with Puppet @ Postgres Open
Steve Singer - Managing PostgreSQL with Puppet @ Postgres Open
PostgresOpen
 

What's hot (19)

Puppet Development Workflow
Puppet Development WorkflowPuppet Development Workflow
Puppet Development Workflow
 
SaltConf14 - Matthew Williams, Flowroute - Salt Virt for Linux contatiners an...
SaltConf14 - Matthew Williams, Flowroute - Salt Virt for Linux contatiners an...SaltConf14 - Matthew Williams, Flowroute - Salt Virt for Linux contatiners an...
SaltConf14 - Matthew Williams, Flowroute - Salt Virt for Linux contatiners an...
 
Introduction to ansible
Introduction to ansibleIntroduction to ansible
Introduction to ansible
 
Distributed automation sel_conf_2015
Distributed automation sel_conf_2015Distributed automation sel_conf_2015
Distributed automation sel_conf_2015
 
Steamlining your puppet development workflow
Steamlining your puppet development workflowSteamlining your puppet development workflow
Steamlining your puppet development workflow
 
Make your Ansible playbooks maintainable, flexible, and scalable
Make your Ansible playbooks maintainable, flexible, and scalableMake your Ansible playbooks maintainable, flexible, and scalable
Make your Ansible playbooks maintainable, flexible, and scalable
 
Ansible Crash Course
Ansible Crash CourseAnsible Crash Course
Ansible Crash Course
 
Cloud infrastructures - Slide Set 6 - BOSH | anynines
Cloud infrastructures - Slide Set 6 - BOSH | anyninesCloud infrastructures - Slide Set 6 - BOSH | anynines
Cloud infrastructures - Slide Set 6 - BOSH | anynines
 
Delivering a production Cloud Foundry Environment with Bosh | anynines
Delivering a production Cloud Foundry Environment with Bosh | anyninesDelivering a production Cloud Foundry Environment with Bosh | anynines
Delivering a production Cloud Foundry Environment with Bosh | anynines
 
Ansible in CI
Ansible in CIAnsible in CI
Ansible in CI
 
Nexenta at VMworld Hands-on Lab
Nexenta at VMworld Hands-on LabNexenta at VMworld Hands-on Lab
Nexenta at VMworld Hands-on Lab
 
HTTPS and Ansible
HTTPS and AnsibleHTTPS and Ansible
HTTPS and Ansible
 
Server Simulator
Server SimulatorServer Simulator
Server Simulator
 
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
Как сделать высоконагруженный сервис, не зная количество нагрузки / Олег Обле...
 
Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014
 
Ceph Day Beijing - Welcome to Beijing Ceph Day
Ceph Day Beijing - Welcome to Beijing Ceph DayCeph Day Beijing - Welcome to Beijing Ceph Day
Ceph Day Beijing - Welcome to Beijing Ceph Day
 
OpenNebulaConf 2016 - Icinga2 - APIFY them all by Achim Ledermüller, Netways ...
OpenNebulaConf 2016 - Icinga2 - APIFY them all by Achim Ledermüller, Netways ...OpenNebulaConf 2016 - Icinga2 - APIFY them all by Achim Ledermüller, Netways ...
OpenNebulaConf 2016 - Icinga2 - APIFY them all by Achim Ledermüller, Netways ...
 
Steve Singer - Managing PostgreSQL with Puppet @ Postgres Open
Steve Singer - Managing PostgreSQL with Puppet @ Postgres OpenSteve Singer - Managing PostgreSQL with Puppet @ Postgres Open
Steve Singer - Managing PostgreSQL with Puppet @ Postgres Open
 
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
Nagios Conference 2014 - Spenser Reinhardt - Detecting Security Breaches With...
 

Viewers also liked

Certificate learning and teaching
Certificate learning and teachingCertificate learning and teaching
Certificate learning and teaching
Gul Hasan
 
Edmond pet hospital
Edmond pet hospitalEdmond pet hospital
Edmond pet hospital
JaylonJesse
 
Landbrugets økonomiske resultater - indkomstprognoser - december 2013
Landbrugets økonomiske resultater - indkomstprognoser - december 2013Landbrugets økonomiske resultater - indkomstprognoser - december 2013
Landbrugets økonomiske resultater - indkomstprognoser - december 2013
Projekt Vi&Di
 
Vishnu Sankar New-updated resume with photo
Vishnu Sankar New-updated resume with photoVishnu Sankar New-updated resume with photo
Vishnu Sankar New-updated resume with photo
VISHNU SANKAR
 

Viewers also liked (18)

Certificate learning and teaching
Certificate learning and teachingCertificate learning and teaching
Certificate learning and teaching
 
현금바카라 사이트 주소창에 = mas77.com 인터넷바카라 카지노게임 게임 라이브카지노 사이트
현금바카라 사이트 주소창에 = mas77.com 인터넷바카라 카지노게임 게임 라이브카지노 사이트 현금바카라 사이트 주소창에 = mas77.com 인터넷바카라 카지노게임 게임 라이브카지노 사이트
현금바카라 사이트 주소창에 = mas77.com 인터넷바카라 카지노게임 게임 라이브카지노 사이트
 
Edmond pet hospital
Edmond pet hospitalEdmond pet hospital
Edmond pet hospital
 
라이브바카라 사이트 주소창에 = mas77.com 온라인바카라 현금카지노 게임 인터넷카지노 사이트
라이브바카라 사이트 주소창에 = mas77.com 온라인바카라 현금카지노 게임 인터넷카지노 사이트 라이브바카라 사이트 주소창에 = mas77.com 온라인바카라 현금카지노 게임 인터넷카지노 사이트
라이브바카라 사이트 주소창에 = mas77.com 온라인바카라 현금카지노 게임 인터넷카지노 사이트
 
바카라사이트 사이트 주소창에 = mas77.com 라이브바카라 온라인바카라 게임 현금카지노 사이트
바카라사이트 사이트 주소창에 = mas77.com 라이브바카라 온라인바카라 게임 현금카지노 사이트 바카라사이트 사이트 주소창에 = mas77.com 라이브바카라 온라인바카라 게임 현금카지노 사이트
바카라사이트 사이트 주소창에 = mas77.com 라이브바카라 온라인바카라 게임 현금카지노 사이트
 
Landbrugets økonomiske resultater - indkomstprognoser - december 2013
Landbrugets økonomiske resultater - indkomstprognoser - december 2013Landbrugets økonomiske resultater - indkomstprognoser - december 2013
Landbrugets økonomiske resultater - indkomstprognoser - december 2013
 
Vishnu Sankar New-updated resume with photo
Vishnu Sankar New-updated resume with photoVishnu Sankar New-updated resume with photo
Vishnu Sankar New-updated resume with photo
 
مرض جونز
مرض جونزمرض جونز
مرض جونز
 
Londra_sviluppo_programma_M5S_241113
Londra_sviluppo_programma_M5S_241113Londra_sviluppo_programma_M5S_241113
Londra_sviluppo_programma_M5S_241113
 
2011-13..
2011-13..2011-13..
2011-13..
 
Altitude Reservation
Altitude ReservationAltitude Reservation
Altitude Reservation
 
HH QUALCOMM how to minimize the power consumption of your app
HH QUALCOMM how to minimize the power consumption of your appHH QUALCOMM how to minimize the power consumption of your app
HH QUALCOMM how to minimize the power consumption of your app
 
Altitude eComm
Altitude eCommAltitude eComm
Altitude eComm
 
Schrijven voor social media
Schrijven voor social mediaSchrijven voor social media
Schrijven voor social media
 
Diploma
DiplomaDiploma
Diploma
 
69. russische staatsonderneming wint strijd om wodka
69. russische staatsonderneming wint strijd om wodka69. russische staatsonderneming wint strijd om wodka
69. russische staatsonderneming wint strijd om wodka
 
Storytelling: cómo construir una gran historia
Storytelling: cómo construir una gran historiaStorytelling: cómo construir una gran historia
Storytelling: cómo construir una gran historia
 
Get Scared
Get ScaredGet Scared
Get Scared
 

Similar to Puppet at the centre of everything by David Mytton

Taking devops to the Next Level - Max Martin
Taking devops to the Next Level - Max MartinTaking devops to the Next Level - Max Martin
Taking devops to the Next Level - Max Martin
Devopsdays
 
Facing enterprise specific challenges – utility programming in hadoop
Facing enterprise specific challenges – utility programming in hadoopFacing enterprise specific challenges – utility programming in hadoop
Facing enterprise specific challenges – utility programming in hadoop
fann wu
 
My sqlstrategyroadmap
My sqlstrategyroadmapMy sqlstrategyroadmap
My sqlstrategyroadmap
slidethanks
 

Similar to Puppet at the centre of everything by David Mytton (20)

Puppet Camp Munich 2013: Puppet at the centre of everything
Puppet Camp Munich 2013: Puppet at the centre of everything Puppet Camp Munich 2013: Puppet at the centre of everything
Puppet Camp Munich 2013: Puppet at the centre of everything
 
Puppet at the Centre of Everything
Puppet at the Centre of EverythingPuppet at the Centre of Everything
Puppet at the Centre of Everything
 
HadoopCon- Trend Micro SPN Hadoop Overview
HadoopCon- Trend Micro SPN Hadoop OverviewHadoopCon- Trend Micro SPN Hadoop Overview
HadoopCon- Trend Micro SPN Hadoop Overview
 
High Performance WordPress II
High Performance WordPress IIHigh Performance WordPress II
High Performance WordPress II
 
Superb Supervision of Short-lived Servers with Sensu
Superb Supervision of Short-lived Servers with SensuSuperb Supervision of Short-lived Servers with Sensu
Superb Supervision of Short-lived Servers with Sensu
 
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...
 
Data as a Service
Data as a Service Data as a Service
Data as a Service
 
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The SequelVMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
 
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
 
Taking devops to the Next Level - Max Martin
Taking devops to the Next Level - Max MartinTaking devops to the Next Level - Max Martin
Taking devops to the Next Level - Max Martin
 
Facing enterprise specific challenges – utility programming in hadoop
Facing enterprise specific challenges – utility programming in hadoopFacing enterprise specific challenges – utility programming in hadoop
Facing enterprise specific challenges – utility programming in hadoop
 
My sqlstrategyroadmap
My sqlstrategyroadmapMy sqlstrategyroadmap
My sqlstrategyroadmap
 
MySQL Strategy&Roadmap
MySQL Strategy&RoadmapMySQL Strategy&Roadmap
MySQL Strategy&Roadmap
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
Pandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise Plugin
 
Ninja, Choose Your Weapon!
Ninja, Choose Your Weapon!Ninja, Choose Your Weapon!
Ninja, Choose Your Weapon!
 
Production Ready Containers from IBM and Docker
Production Ready Containers from IBM and DockerProduction Ready Containers from IBM and Docker
Production Ready Containers from IBM and Docker
 
Running MySQL on Linux
Running MySQL on LinuxRunning MySQL on Linux
Running MySQL on Linux
 
VMworld Europe 2014: Virtual SAN Best Practices and Use Cases
VMworld Europe 2014: Virtual SAN Best Practices and Use CasesVMworld Europe 2014: Virtual SAN Best Practices and Use Cases
VMworld Europe 2014: Virtual SAN Best Practices and Use Cases
 
Apache Spark v3.0.0
Apache Spark v3.0.0Apache Spark v3.0.0
Apache Spark v3.0.0
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Puppet at the centre of everything by David Mytton