Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler,...

41
Continuously deploying infrastructure with Puppet Sam Kottler @samkottler https://github.com/skottler [email protected]

TAGS:

description

Puppet Camp NYC 2014 Closing Keynote: "Continuous delivery of Puppet-based infrastructure (Intermediate)" presented by Sam Kottler, Digital Ocean

Transcript of Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler,...

Page 1: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Continuously deploying

infrastructure with Puppet

Sam Kottler @samkottler

https://github.com/skottler [email protected]

Page 2: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean
Page 3: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Why do all (suddenly) seem to Care about

this thing?

Page 4: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Deliverability

Page 5: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

“Changeability”

Page 6: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Immutability for stateless services

!(more on that later)

Page 7: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

The “what” is just a subset of the “How”

Page 8: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Images

Page 9: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Packages

Page 10: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

appliances

Page 11: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Environments

Page 12: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Configuration is the heart of the

build process

Page 13: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Immutability

Page 14: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Stateless systems often do hold some

form of state

Page 15: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

There are still (lots of) unsolved problems around

orchestration

Page 16: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

The result is sometimes Binary

Page 17: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Single Node convergence

Page 18: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Production is generally Composed of many different

roles

Page 19: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

The pinnacle of infrastructure

integration is multi-node orchestration

Page 20: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean
Page 21: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean
Page 22: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

But what about isolation?

Page 23: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Deliverables

Page 24: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Humans are bad at repetitive tasks

Page 25: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Does it work?

Page 26: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

rspec-puppet

Page 27: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Beaker

Page 28: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

puppet agent -t

Page 29: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

How do we get it live?

Page 30: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Capistrano

Page 31: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

r10k

Page 32: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Kafo

Page 33: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

…In production

Does it Work?

Page 34: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Run puppet via monitoring systems

Page 35: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

is it Proper?

Page 36: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

puppet-lint

Page 37: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Recap!

Page 38: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Integrate!

Page 39: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Validate!

Page 40: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

deliver it!

Page 41: Closing Keynote: Continuous delivery of Puppet-based infrastructure (Intermediate) - Sam Kottler, Digital Ocean

Thanks!Sam Kottler @samkottler

[email protected] https://github.com/skottler