Configuration Management: Stability in Your Pipeline sascha bates - - PowerPoint PPT Presentation

configuration management stability in your pipeline
SMART_READER_LITE
LIVE PREVIEW

Configuration Management: Stability in Your Pipeline sascha bates - - PowerPoint PPT Presentation

Configuration Management: Stability in Your Pipeline sascha bates Saturday, November 2, 13 sascha bates blog.brattyredhead.com Twin Cities Infracoders Meetup @sascha_d The Ship Show Podcast Saturday, November 2, 13 Automation Consultant


slide-1
SLIDE 1

Configuration Management: Stability in Your Pipeline sascha bates

Saturday, November 2, 13
slide-2
SLIDE 2

blog.brattyredhead.com Twin Cities Infracoders Meetup @sascha_d The Ship Show Podcast

sascha bates

Saturday, November 2, 13
slide-3
SLIDE 3

Automation Consultant sascha@opscode.com

Saturday, November 2, 13
slide-4
SLIDE 4

credentials?

In love with CM since 2010 victim and perpetuator of inconsistency

  • ver the years
Saturday, November 2, 13
slide-5
SLIDE 5

The Problem

Environments Run Amok

Saturday, November 2, 13
slide-6
SLIDE 6

configuration management homogenous environments consistent process

Environments Run Amok

Saturday, November 2, 13
slide-7
SLIDE 7

A tool is just a tool

Saturday, November 2, 13
slide-8
SLIDE 8

it’s what you do with it that matters

Saturday, November 2, 13
slide-9
SLIDE 9

Environments... who cares?

Saturday, November 2, 13
slide-10
SLIDE 10

This Never Happens

incorrect/incomplete deployment instructions

Saturday, November 2, 13
slide-11
SLIDE 11

This Never Happens

wrong database connection string deployed to Production

Saturday, November 2, 13
slide-12
SLIDE 12

This Never Happens

smtp server fixed by hand then forgotten

Saturday, November 2, 13
slide-13
SLIDE 13

This Never Happens

test apache server with special configs

Saturday, November 2, 13
slide-14
SLIDE 14

This Never Happens

ssh keys pushed by hand

Saturday, November 2, 13
slide-15
SLIDE 15

What Happened?

Saturday, November 2, 13
slide-16
SLIDE 16

Two Failures

Saturday, November 2, 13
slide-17
SLIDE 17

Two Failures

Communication

Saturday, November 2, 13
slide-18
SLIDE 18

Two Failures

Communication Ownership

Saturday, November 2, 13
slide-19
SLIDE 19

Communication

people gotta talk

Saturday, November 2, 13
slide-20
SLIDE 20

Communication

people gotta talk

DEVOPS

Saturday, November 2, 13
slide-21
SLIDE 21

Communication

people gotta talk

DEVOPS

BASIC HUMANITY

Saturday, November 2, 13
slide-22
SLIDE 22

Technical Ownership

Dev and Test are the Cinderellas of Environments

Saturday, November 2, 13
slide-23
SLIDE 23

Environments

are complex

Saturday, November 2, 13
slide-24
SLIDE 24

Environments

are unloved

Saturday, November 2, 13
slide-25
SLIDE 25

Environments

become unloveable

Saturday, November 2, 13
slide-26
SLIDE 26

Environments

are necessary

Saturday, November 2, 13
slide-27
SLIDE 27

So Many Things...

and none of them belong in your code build

Saturday, November 2, 13
slide-28
SLIDE 28

packages and versions

So Many Things...

and none of them belong in your code build

Saturday, November 2, 13
slide-29
SLIDE 29

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

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

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

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

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

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

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 Saturday, November 2, 13
slide-37
SLIDE 37

Configuration Management

to the rescue

Saturday, November 2, 13
slide-38
SLIDE 38

Eliminate Mistakes Ensure Consistency Automate Complexity Separation of Duties

Saturday, November 2, 13
slide-39
SLIDE 39

Eliminate Mistakes

people out of the pipeline

Saturday, November 2, 13
slide-40
SLIDE 40

Eliminate Mistakes

people out of the pipeline

Saturday, November 2, 13
slide-41
SLIDE 41

Ensure Consistency

  • ne OS build to rule them all
Saturday, November 2, 13
slide-42
SLIDE 42

Ensure Consistency

  • ne OS build to rule them all

easy

Saturday, November 2, 13
slide-43
SLIDE 43

Ensure Consistency

  • ne OS build to rule them all

easy fast

Saturday, November 2, 13
slide-44
SLIDE 44

Ensure Consistency

  • ne OS build to rule them all

easy fast reliable

Saturday, November 2, 13
slide-45
SLIDE 45

Ensure Consistency

  • ne OS build to rule them all

easy fast reliable server builds

Saturday, November 2, 13
slide-46
SLIDE 46

Ensure Consistency

Packages

yum install tomcat

  • r

download random tomcat; install

Saturday, November 2, 13
slide-47
SLIDE 47

Ensure Consistency

Packages

yum install tomcat

  • r

download random tomcat; install

Saturday, November 2, 13
slide-48
SLIDE 48

Ensure Consistency

Packages

yum install tomcat

  • r

download random tomcat; install

W R O N G

Saturday, November 2, 13
slide-49
SLIDE 49

Ensure Consistency

Packages

package 'apache' do version ‘2.2.9’ action :install end

Saturday, November 2, 13
slide-50
SLIDE 50

Ensure Consistency

Packages

package 'apache' do version node[‘apache’][‘version’] action :install end

Saturday, November 2, 13
slide-51
SLIDE 51

Ensure Consistency

Central Configurations

locate environment- specific configurations

  • utside the codebase
Saturday, November 2, 13
slide-52
SLIDE 52

Automate Complexity

your 5 year old bash scripts not cutting it

Saturday, November 2, 13
slide-53
SLIDE 53

Automate Complexity

stop running around to multiple servers

Saturday, November 2, 13
slide-54
SLIDE 54

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

Separation of Duties

Saturday, November 2, 13
slide-56
SLIDE 56

confidence

Saturday, November 2, 13