Configuration Management For future infrastructure Gareth Rushgrove Puppet Labs
@garethr
Gareth Rushgrove
Gareth Rushgrove
What is configuration management?
Any input to your infrastructure is configuration Gareth Rushgrove
Configuration management is about managing all of those inputs over time Gareth Rushgrove
Configuration management is about managing all of those inputs over time Gareth Rushgrove
This talk
A little history Gareth Rushgrove
Emerging patterns Gareth Rushgrove
Immutable infrastructure Infrastructure APIs Autonomous systems Simpler hosts Gareth Rushgrove
Immutable infrastructure Infrastructure APIs Autonomous systems Simpler hosts Gareth Rushgrove
Immutable infrastructure Infrastructure APIs Autonomous systems Simpler hosts Gareth Rushgrove
Immutable infrastructure Infrastructure APIs Autonomous systems Simpler hosts Gareth Rushgrove
Future infrastructure as code Gareth Rushgrove
A little history
1950s research, 1960s 480 series, 1991 MIL- HDBK-61, 1998 ANSI- EIA-649 Gareth Rushgrove
Military Handbook Configuration Management Guidance MIL-HDBK-61B Gareth Rushgrove
Identification Control Status accounting Verification and audit Gareth Rushgrove
National Consensus Standard for Configuration Management EIA-649 Gareth Rushgrove
Configuration management verifies that a system is identified and documented in sufficient detail Gareth Rushgrove
Configuration management verifies that a system performs as intended Gareth Rushgrove
Service management, ITIL, ISO 20000 Gareth Rushgrove
Infrastructure as code Gareth Rushgrove
Gareth Rushgrove
Immutable infrastructure
Build once, run many times Gareth Rushgrove
Amazon Machine Images Gareth Rushgrove
End-to-end automation to avoid the golden image problem Gareth Rushgrove
Gareth Rushgrove
Containers Gareth Rushgrove
Gareth Rushgrove
Docker as the user interface Gareth Rushgrove
How immutable are your docker containers? Gareth Rushgrove
Infrastructure with APIs
Infrastructure as a service Gareth Rushgrove
Gareth Rushgrove
Gareth Rushgrove
Gareth Rushgrove
Platform as a service Gareth Rushgrove
Gareth Rushgrove
Gareth Rushgrove
Gareth Rushgrove
OSv Gareth Rushgrove
Gareth Rushgrove
Not just compute, but network and storage too Gareth Rushgrove
Gareth Rushgrove
Not just *nix Gareth Rushgrove
Gareth Rushgrove
Configuration at a distance Gareth Rushgrove
Configuring autonomous systems
We’re increasingly managing higher level systems Gareth Rushgrove
If servers are cattle not pets, we need to talk about fields and farms Gareth Rushgrove
Autoscaling groups Gareth Rushgrove
Gareth Rushgrove
Gareth Rushgrove
Simpler hosts
Combinatorial package explosion Gareth Rushgrove
Gareth Rushgrove
OSTree Gareth Rushgrove
Gareth Rushgrove
Gareth Rushgrove
Gareth Rushgrove
CoreOS is a firmware for running containers John Vincent - http://blog.lusis.org/blog/2014/11/21/a-few-things/ Gareth Rushgrove
Moving configuration from hosts to the network Gareth Rushgrove
Etcd, Consul, Zookeeper Gareth Rushgrove
Future infrastructure as code
From: Host centric Localised Executable for integration Gareth Rushgrove
To: Cluster centric Distributed HTTP for integration Gareth Rushgrove
Going from Puppet to etcd Gareth Rushgrove
Gareth Rushgrove
Where similar interfaces exist we can provide abstractions Gareth Rushgrove
Gareth Rushgrove
garethr/key_value_config Gareth Rushgrove
Going from etcd to Puppet with Hiera Gareth Rushgrove
Gareth Rushgrove
garethr/hiera-etcd Gareth Rushgrove
Installing systems Gareth Rushgrove
Gareth Rushgrove
Gareth Rushgrove
More interestingly, using systems via APIs Gareth Rushgrove
Gareth Rushgrove
garethr/garethr-docker Gareth Rushgrove
Gareth Rushgrove
Gareth Rushgrove
puppetlabs/puppetlabs-aws Gareth Rushgrove
Gareth Rushgrove
garethr/digitalocean Gareth Rushgrove
Gareth Rushgrove
I want a pony Gareth Rushgrove
Managing an autoscaling CoreOS/Atomic cluster in AWS… Gareth Rushgrove
…with configuration in etcd/consul… Gareth Rushgrove
…with the network in VPC /Weave… Gareth Rushgrove
…with docker containers arranged by Kubernetes… Gareth Rushgrove
All from the Puppet DSL Gareth Rushgrove
Conclusions
The future is already here — it's just not very evenly distributed. William Gibson Gareth Rushgrove
Manage. Not just provision Gareth Rushgrove
Gareth Rushgrove
Recommend
More recommend