Slide 1

Slide 1 text

Configuration Management: Stability in Your Pipeline sascha bates Saturday, November 2, 13

Slide 2

Slide 2 text

blog.brattyredhead.com Twin Cities Infracoders Meetup @sascha_d The Ship Show Podcast sascha bates Saturday, November 2, 13

Slide 3

Slide 3 text

Automation Consultant [email protected] Saturday, November 2, 13

Slide 4

Slide 4 text

credentials? In love with CM since 2010 victim and perpetuator of inconsistency over the years Saturday, November 2, 13

Slide 5

Slide 5 text

The Problem Environments Run Amok Saturday, November 2, 13

Slide 6

Slide 6 text

configuration management homogenous environments consistent process Environments Run Amok Saturday, November 2, 13

Slide 7

Slide 7 text

A tool is just a tool Saturday, November 2, 13

Slide 8

Slide 8 text

it’s what you do with it that matters Saturday, November 2, 13

Slide 9

Slide 9 text

Environments... who cares? Saturday, November 2, 13

Slide 10

Slide 10 text

This Never Happens incorrect/incomplete deployment instructions Saturday, November 2, 13

Slide 11

Slide 11 text

This Never Happens wrong database connection string deployed to Production Saturday, November 2, 13

Slide 12

Slide 12 text

This Never Happens smtp server fixed by hand then forgotten Saturday, November 2, 13

Slide 13

Slide 13 text

This Never Happens test apache server with special configs Saturday, November 2, 13

Slide 14

Slide 14 text

This Never Happens ssh keys pushed by hand Saturday, November 2, 13

Slide 15

Slide 15 text

What Happened? Saturday, November 2, 13

Slide 16

Slide 16 text

Two Failures Saturday, November 2, 13

Slide 17

Slide 17 text

Two Failures Communication Saturday, November 2, 13

Slide 18

Slide 18 text

Two Failures Communication Ownership Saturday, November 2, 13

Slide 19

Slide 19 text

Communication people gotta talk Saturday, November 2, 13

Slide 20

Slide 20 text

Communication people gotta talk DEVOPS Saturday, November 2, 13

Slide 21

Slide 21 text

Communication people gotta talk DEVOPS BASIC HUMANITY Saturday, November 2, 13

Slide 22

Slide 22 text

Technical Ownership Dev and Test are the Cinderellas of Environments Saturday, November 2, 13

Slide 23

Slide 23 text

Environments are complex Saturday, November 2, 13

Slide 24

Slide 24 text

Environments are unloved Saturday, November 2, 13

Slide 25

Slide 25 text

Environments become unloveable Saturday, November 2, 13

Slide 26

Slide 26 text

Environments are necessary Saturday, November 2, 13

Slide 27

Slide 27 text

So Many Things... and none of them belong in your code build Saturday, November 2, 13

Slide 28

Slide 28 text

packages and versions So Many Things... and none of them belong in your code build Saturday, November 2, 13

Slide 29

Slide 29 text

packages and versions mail servers So Many Things... and none of them belong in your code build Saturday, November 2, 13

Slide 30

Slide 30 text

packages and versions mail servers multiple data centers So Many Things... and none of them belong in your code build Saturday, November 2, 13

Slide 31

Slide 31 text

packages and versions mail servers multiple data centers database users and passwords So Many Things... and none of them belong in your code build Saturday, November 2, 13

Slide 32

Slide 32 text

packages and versions mail servers multiple data centers database users and passwords connection strings So Many Things... and none of them belong in your code build Saturday, November 2, 13

Slide 33

Slide 33 text

packages and versions mail servers multiple data centers database users and passwords connection strings integration URLs So Many Things... and none of them belong in your code build Saturday, November 2, 13

Slide 34

Slide 34 text

packages and versions mail servers multiple data centers database users and passwords connection strings integration URLs deployments So Many Things... and none of them belong in your code build Saturday, November 2, 13

Slide 35

Slide 35 text

packages and versions mail servers multiple data centers database users and passwords connection strings integration URLs deployments batch jobs So Many Things... and none of them belong in your code build Saturday, November 2, 13

Slide 36

Slide 36 text

Saturday, November 2, 13

Slide 37

Slide 37 text

Configuration Management to the rescue Saturday, November 2, 13

Slide 38

Slide 38 text

Eliminate Mistakes Ensure Consistency Automate Complexity Separation of Duties Saturday, November 2, 13

Slide 39

Slide 39 text

Eliminate Mistakes people out of the pipeline Saturday, November 2, 13

Slide 40

Slide 40 text

Eliminate Mistakes people out of the pipeline Saturday, November 2, 13

Slide 41

Slide 41 text

Ensure Consistency one OS build to rule them all Saturday, November 2, 13

Slide 42

Slide 42 text

Ensure Consistency one OS build to rule them all easy Saturday, November 2, 13

Slide 43

Slide 43 text

Ensure Consistency one OS build to rule them all easy fast Saturday, November 2, 13

Slide 44

Slide 44 text

Ensure Consistency one OS build to rule them all easy fast reliable Saturday, November 2, 13

Slide 45

Slide 45 text

Ensure Consistency one OS build to rule them all easy fast reliable server builds Saturday, November 2, 13

Slide 46

Slide 46 text

Ensure Consistency Packages yum install tomcat or download random tomcat; install Saturday, November 2, 13

Slide 47

Slide 47 text

Ensure Consistency Packages yum install tomcat or download random tomcat; install Saturday, November 2, 13

Slide 48

Slide 48 text

Ensure Consistency Packages yum install tomcat or download random tomcat; install W RON G Saturday, November 2, 13

Slide 49

Slide 49 text

Ensure Consistency Packages package 'apache' do version ‘2.2.9’ action :install end Saturday, November 2, 13

Slide 50

Slide 50 text

Ensure Consistency Packages package 'apache' do version node[‘apache’][‘version’] action :install end Saturday, November 2, 13

Slide 51

Slide 51 text

Ensure Consistency Central Configurations locate environment- specific configurations outside the codebase Saturday, November 2, 13

Slide 52

Slide 52 text

Automate Complexity your 5 year old bash scripts not cutting it Saturday, November 2, 13

Slide 53

Slide 53 text

Automate Complexity stop running around to multiple servers Saturday, November 2, 13

Slide 54

Slide 54 text

Automate Complexity stop running around to multiple servers app version 1.2.2 bump 1.3.0 trigger deployment actions across multiple tiers Saturday, November 2, 13

Slide 55

Slide 55 text

Separation of Duties Saturday, November 2, 13

Slide 56

Slide 56 text

confidence Saturday, November 2, 13