what is devops? - scale · pdf filedev devops ops w a ll of i on c onfus. ... dev manager ops...

59
John Willis Damon Edwards What is DevOps?

Upload: haanh

Post on 12-Feb-2018

227 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

John Willis Damon Edwards

What is DevOps?

Page 2: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)
Page 3: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Agile Infrastructure

FullyAutomated

Infrastructure

Agile Operations

DevOps

Cloudy DeliveryModels

Page 4: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

“We are in a period of combinatorial innovation”

• Abstract and fault tolerant components

• Integrated network accessible services

• Unlimited infrastructureHal Varian

Chief Economist, Google

Page 5: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Hierarchy Theory

“The rate of evolution of any system is dependent upon the organization of

its subsystems”

 Herbert SimonTheory of Hierarchy and

Componentisation

Page 6: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

6

A Parable of Two Watch Makers

Technological evolution (and revolution)

Introductions of new products

Strong and unpredictable demand fluctuations

Page 7: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Operations: The Elephant in the Room

“Once we move to software as a service, everything we thought we knew about competitive advantage has to be rethought.”

Tim O'ReillyOperations: The New Secret Sauce

Page 8: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Operations: The Strategic Weapon

“This advantage is the ability to consistently create and deploy reliable software to an unreliable platform that scales horizontally.”

Jesse Robbins Operations is a competitive advantage... (Secret Sauce for Startups!)

Page 9: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

1. Scale

2. Velocity of Innovation

How can we compete today?

Page 10: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

What is DevOps?

Page 11: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

What is DevOps?

Page 12: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

What is DevOps?

What are DevOps problems?

Page 13: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Ah-ha! Ka-ching!

Business Process

Page 14: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Ops

Ah-ha! Ka-ching!

Dev

Page 15: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Ah-ha! Ka-ching!Wall o

f C

onfu

sio

n

OpsDev

Page 16: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Dev OpsDevOps

Wallof iononfusC

Page 17: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Ah-ha!

Application Lifecycle Result

Page 18: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Ah-ha! Ka-ching!

Application Lifecycle

Page 19: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Ah-ha!

Application Lifecycle

Page 20: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Ah-ha! Ka-ching!

Application Lifecycle

Day 0 Day n

Page 21: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Ah-ha!

Ah-ha!

Result

Result

Ah-ha!

Result

Ah-ha!

Result

Ah-ha!

Result

Page 22: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Ah-ha!

Ah-ha!

Result

Result

Ah-ha!

Result

Ah-ha!

Result

Ah-ha!

Result

Page 23: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Sounds good...But what can I do?

Page 24: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

CAMS

Page 25: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

CultureAMS

Page 26: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Spock ScottyLittle bit weird

Sits closer to the bossThinks too hard

Pulls levers & turns knobsEasily excitedYells a lot in emergencies

John Allspaw and Paul Hammond Velocity 2009

Page 27: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Peopleover

Processover

Tools

Page 28: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

“Make the problem the enemy”

Jody MulkeyCIO, Shopzilla

Page 29: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

“You can’t directly change culture. But you can change behavior, and behavior becomes culture”

Lloyd TaylorVP Infrastructure, ngmoco:)

Page 30: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

CultureAutomationMS

Page 31: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Web Operations 1.0 Web Operations 2.0

Get fully automated. Period.

Page 32: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Infrastructure as Code

‣ Version control

‣ Process control

‣ Application control

http://www.flickr.com/photos/asten/2159525309/sizes/l/

Page 33: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Infrastructure as code...

“10th floor test”Can you automatically restore your services if you:

1. Toss a random server out the window

2. Toss a random engineer out the window

adapted from Steve Traugott / Infrastructures.org

Page 34: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Use toolchains...

Open Source Provisioning Toolchain / DevOps Toolchain Project

Bcfg2cfengineChefPuppetSmart Frog

Application Service Orchestration

System Configuration

Cloud or VMImage

Launch

OSInstall

KickstartJumpstartCobblerOpenQRMxCAT

XenlxcopenVZEucalyptusKVM

CapistranoControlTierFabricFuncmCollective

Cloud: OS Install:

Command and Control

Configuration

Bootstrapping

Prov

isio

ning

Act

ivity

Page 35: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Copyright © 2010 Opscode, Inc - All Rights Reserved 35

Load Balancer

Web Server Web Server

DB Master

DiskDisk

DB Slave DB Slave

Disk

Provisioning Configuration Integration

Page 36: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

CultureAutomationMeasurementS

Page 37: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Measure Everything

• Performance Metrics• Process Data• People Data•Heuristics

Page 38: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Am I actually measuring my...

processes?

people?

(hint: we are here to make those two things better)

Page 39: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

CultureAutomationMeasurementSharing

Page 40: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

1. Request Demand sharing!

2. DevOps Days

3. Meetups

4. Mailing ListsDevOps Toolchain (Google Group)

Agile Systems Administration (Google Group)

DevOps (Google Group)

5. #DevOps ... Tweet, Tweet, Tweet

Page 41: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

CultureAutomationMeasurementSharing

Page 42: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Other things to think about...

Page 43: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Become Test Driven...

Page 44: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

1. Quality is everyone’s responsibility

2. Traditional “QA” doesn’t scale

Initial realizations...

Page 45: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

What does that mean for QA?

QA is not a team that “does”

QA is a cross-cutting concern

QA must leverage automation

Page 46: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Think Test Driven...

Do it in isolation

• Verify components in isolation (“unit”)

• Verify integrated components or subsystems (“functional”)

• End-to-end system tests (“system”)

on demand, low minutes

Do it with a crowd

• Performance

• User interaction analysis

• Traffic analysis

• A/B Testing / Feature Flags

• Operational unit tests

continuous, real-time

Page 47: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)
Page 48: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Write a test!

Page 49: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

“Application code is a business liability. Tests are a business asset”

Lee ThompsonCTO, Consumer Travel, HP

Page 50: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Continuous Delivery

Page 51: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Principles of Continuous Delivery

• Repeatable, Reliable Release Process• Automate Almost Everything• Keep Everything in Version Control• Bring the Pain Forward• Build Quality In • Done Means Released• Everyone is Responsible • Continuous Improvement

Page 52: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Continuous Delivery in a Nutshell

• Source Code Management• Test Driven Development• Continuous Integration• Continuous Deployment• Infrastructure as Code• Fully Automated Infrastructure• Continuos Improvement

Page 53: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Org structures are not sacred!

Page 54: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Anti-Pattern #1:

Dev

ManagerOps

Manager

Page 55: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

Anti-Pattern #2:

If responsibility for full lifecycle of a service is more than 3 degrees

away from the actual process

Page 56: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

What Developers want...

Self-service

Infrastructure is the app(and vice versa)

Not systems administrators

Faster feedback

Page 57: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

What Operations wants...

Get out of the muck

Spend time adding value

To get to say “Yes” more

Be “agile”

Page 58: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

And one little pet peeve...

DevOps is not a job title!

Page 59: What is DevOps? - SCALE · PDF fileDev DevOps Ops W a ll of i on C onfus. ... Dev Manager Ops ... What Developers want... Self-service Infrastructure is the app (and vice versa)

John [email protected]/botchagalupe

Damon [email protected]/damonedwards