iaac

infrastructure as a code

Chef

puppet

app
env
desktop/laptop
Network
Storage

lifecycle events

build/
provision
configure environment
integrate
update/ patch
deploy
 app
tear down
install
  OS

approaches

Manual
Scripts
IaaC
Golden Images
Scripts
  • Automate repeatable tasks
  • Procedural Programs
  • Focus on HOW
HOW
WHAT
IaaC
user
name = xyz
uid  = 5001
pass = xxx
Resource
user
Resource

P

P

P

Providers
translate
ruby
dsl
IaaC
  • Declartive Approach
  • Revision Control
  • Recreate the Infrastructure out of code repo
  • Migration and DR
  • Absolute Consistency

story

  • Flexible
  • Scalable

Pull Model

convergent

approach

user
name = xyz
uid  = 5001
pass = aaa
user
name = xyz
uid  = 7888
useradd
usermod
user
name = xyz
passwd
user
name = xyz
pass = bbb
uid = 5001
pass = aaa

desired state

code    |    data

properties
code

attributes

data bags

recipes

templates

cookbooks

properties
code

templates

manifests

modules

parameters

hiera

cookbooks

reuse

cookbooks

reuse

Iterative approach to automation

where to use chef/Puppet?

build/
provision
configure environment
integrate
update/ patch
deploy
 app
tear down
install
  OS

cloud/provisioner/razor/plugins

images

audit and compliance
software delivery
application ops/devops
developer
storage admin
build and release engg
network engineer
systems administrator

who is it for

General Purpose Testing Tool
one stop devops solution
CI Tool
agent less system
SCM Tool
UI Oriented Tool

what it IS NOT

thank you

IAAC : Introduction to Chef and Puppet

By School of Devops

IAAC : Introduction to Chef and Puppet

DEVOPS 101 - Introduction to IaaC with Chef and Puppet

  • 2,293