Infrastructure as Code

(Puppet)

What?

Automation

No Shell scripts 

Infrastructure Provisioning

Deployment/Cfg Management

What?...

Repeatable & Portable

Documentation

Why?

Scalability

Configuration Management

Popular Tools

Puppet

Chef

CF Engine

Ansible

Why?

Manual Installation

Not scalable

ShellShock - The bash bug

Heartbleed 

Puppet

Defines the desired state of a server

package { 'apache2':
    ensure => installed,
}
user { 'manula':
    ensure => present,
}

How puppet works

Master/Agent

Master-less 

source: http://1.bp.blogspot.com/-7Khvw6cmhEE/UpVuIIGrd0I/AAAAAAAAAwQ/sGozkVJcH_g/s1600/puppet_flow.jpg

Demo

Q & A

Infrastructure as Code - Puppet

By Manula Waidyanatha

Infrastructure as Code - Puppet

  • 647