Why puppet? Why now?

Preview:

Citation preview

Why Puppet? Why now?

Puppet Camp, London 2015 David Mytton, CEO, Server Density

David Mytton

serverdensity.com/knocknock

Agenda

• Objection handling

• Cloud

• Use cases

• Basics - why Puppet?

Why Puppet?

Why config management?• Similar: why source control?

Why config management?

• Infrastructure as code

• Similar: why source control?

Why config management?

• Infrastructure as code

• Versioned infrastructure

• Similar: why source control?

Why config management?

• Infrastructure as code

• Versioned infrastructure

• Consistency

• Similar: why source control?

Why config management?

• Infrastructure as code

• Versioned infrastructure

• Consistency

• Similar: why source control?

• Readability

Why config management?

• Infrastructure as code

• Versioned infrastructure

• Consistency

• Similar: why source control?

• Readability

• Audits

Use cases• Package deployment

Use cases

• Versions (pinning)

• Package deployment

Use cases

• Versions (pinning)

• Config files / templates

• Package deployment

Use cases

• Versions (pinning)

• Config files / templates

• Tweaks, fixes, patches

• Package deployment

Why Puppet?• PuppetDB: Your infrastructure in a database

Why Puppet?

• Hiera: Your config in a database

• PuppetDB: Your infrastructure in a database

Why Puppet?

• Hiera: Your config in a database

• Facter: Your infrastructure analytics

• PuppetDB: Your infrastructure in a database

Why Puppet?

• Hiera: Your config in a database

• Facter: Your infrastructure analytics

• Forge: Open source your infrastructure

• PuppetDB: Your infrastructure in a database

Why Puppet?

• Hiera: Your config in a database

• Facter: Your infrastructure analytics

• Forge: Open source your infrastructure

• PuppetDB: Your infrastructure in a database

• PE Console: Your infrastructure GUI

Objection handling• I only have a few servers

Objection handling

• Do you plan to grow?

• I only have a few servers

Objection handling

• Do you plan to grow?

• I only have a few servers

• Do you want a consistent environment?

Objection handling

• Do you plan to grow?

• I only have a few servers

• Do you want a consistent environment?

• Destroy/redeploy

Objection handling• It’s too complex

Objection handling

• Initial investment

• It’s too complex

Objection handling

• Initial investment

• It’s too complex

• Saves time with changes later

Objection handling

• Initial investment

• It’s too complex

• Saves time with changes later

• Similar: programming libraries -> Forge

Objection handling• I’ll just SSH manually

Objection handling

• Mistakes

• I’ll just SSH manually

Objection handling

• Mistakes

• I’ll just SSH manually

• Security

Objection handling

• Mistakes

• I’ll just SSH manually

• Security

• Audit

Objection handling• I’ll write a few shell scripts

Objection handling

• Scale

• I’ll write a few shell scripts

Objection handling

• Scale

• I’ll write a few shell scripts

• Idempotency

Objection handling

• Scale

• I’ll write a few shell scripts

• Idempotency

• Version control?

Cloud• Re-deploy around failures

Cloud• Re-deploy around failures

• Consistency across many instances

Cloud• Re-deploy around failures

• Consistency across many instances

• Managing large clusters

Cloud• Re-deploy around failures

• Consistency across many instances

• Managing large clusters

• Querying facts

Use cases• Deploys

Use cases

Use cases

Use cases

Use cases• Deploys

• Docs

Use cases• Deploys

• Docs

• Failover

Why Puppet?

• Hiera: Your config in a database

• Facter: Your infrastructure analytics

• PuppetDB: Your infrastructure in a database

ありがとうございます

david@serverdensity.com

@davidmytton

Recommended