top lessons learned from the devops handbook

64
@RealGeneKim 1 WELCOMES YOU TO THE #DevOpsSummit17

Upload: xebialabs

Post on 21-Jan-2018

363 views

Category:

Software


7 download

TRANSCRIPT

Page 1: Top Lessons Learned From The DevOps Handbook

@RealGeneKim1

WELCOMES YOU TO THE

#DevOpsSummit17

Page 2: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Gene Kim | KEYNOTE

9

Page 3: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Session ID:Gene Kim

Top Lessons Learned SinceThe Phoenix Project Was Released

Page 4: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

The DownwardSpiral

Page 5: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Page 6: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Page 7: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

IT Ops And Dev At War

7

Page 8: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Page 9: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

IT Operations

CBS Photo Archive/Star Trek: The Original Series/Getty Images

Page 10: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

The Developers

Page 11: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

The Product Managers

Source: Flickr: birdsandanchors

Page 12: Top Lessons Learned From The DevOps Handbook

@RealGeneKim“Hot Fuzz”: Rogue Pictures

Page 13: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Session ID:

Surprise #1:

The Business Value Of DevOps Is Even Higher Than We Thought

Page 14: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

High Performers Are More Agile

46x 440xmore frequent

deployments

faster lead times

than their peers

Source: Puppet/DORA: 2017 State Of DevOps Report: https://puppet.com/resources/whitepaper/state-of-devops-report

Page 15: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

High Performers Are More Reliable

5x 96xlower change

failure rate

faster mean time

to recover (MTTR)

Source: Puppet/DORA: 2017 State Of DevOps Report: https://puppet.com/resources/whitepaper/state-of-devops-report

Page 16: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

High Performers Are More Secure And Controlled

2x 29%less time spent

remediating

security issues

more time spent

on new work

Source: Puppet Labs 2016 State Of DevOps Report: https://puppet.com/resources/white-paper/2016-state-of-devops-report

Page 17: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

High Performers Win In The Marketplace

2x 2xmore likely to

exceed profitability,

market share &

productivity goals

more likely to achieve

organizational and

mission goals, customer

satisfaction, quantity &

quality goalsSource: Puppet/DORA: 2017 State Of DevOps Report: https://puppet.com/resources/whitepaper/state-of-devops-report

Page 18: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

High Performers Win In The Marketplace

2.2xhigher employee

Net Promoter Score

Source: Puppet Labs 2016 State Of DevOps Report: https://puppet.com/resources/white-paper/2016-state-of-devops-report

50%higher market

capitalization growth

over 3 years*

Page 19: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

“deploys / day”

“deploys / day / dev”

Page 20: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

High (linear)

Low

Med

Source: Puppet Labs 2015 State Of DevOps: https://puppetlabs.com/2015-devops-report

de

plo

ys

/ d

ay

# of developers

Page 21: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

We can achieve all the goals, dreams and aspirations of our

business…

Page 22: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Session ID:

Surprise #2:

DevOps Is As Good For Ops…

Page 23: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Session ID:

Surprise #2:

DevOps Is As Good For Ops…...As It Is For Dev!

Page 24: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Deploy Smaller Changes, More Frequently *

Source: http://www.facebook.com/note.php?note_id=14218138919

Page 25: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

“As a lifelong Ops practitioner, I know we need DevOps to make our work humane.

In the past, I’ve worked every holiday, on my birthday, my spouse’s birthday, and even on the day my son was born.”

Nathan ShimekEngineering Manager, New Context

@nathan_shimek

Page 26: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

CSG: COBOL App + 20 tech stacks

Source: Scott Prugh, Chief Architect, CSG, Inc.

And the customer got the feature in half the

time!

Apps supporting bill printing and customer care for 50MM customer, 6B transactions per month

20 technology platforms, including mainframe VSAM and DB2, Java, desktop client

Moved from 2 to 4 releases per year

Shared Operations Team performed daily deployments to UAT

Page 27: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Developers Carry Pagers

“We found that when we woke up developers at

2am, defects got fixed faster than ever”

– Patrick Lightbody,

VP Prod Mgmt, New Relic

“You build it, you run it.”

– Werner Vogels

CTO, Amazon

Page 28: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

“As a developer, the most satisfying points in my career?

“It’s when I wrote the code, pushed the button to deploy it, watched the metrics to see if it actually worked in production, and fixed it if it broke.”

Tim TischlerDirector of Operations EngineeringNike, Inc.

Page 29: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Session ID:

Surprise #3:

The Importance Of MeasuringCode Deployment Lead Time

Page 30: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

“deploys per day”

vs.

“lead time”

Page 31: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

“What is your lead time for changes?”

“How long does it take to go from code committed to code successfully

running in production?”

Page 32: Top Lessons Learned From The DevOps Handbook

@RealGeneKimSource: The DevOps Handbook

Change Committed Into Version Control

Page 33: Top Lessons Learned From The DevOps Handbook

@RealGeneKimSource: The DevOps Handbook

Change Committed Into Version Control

Page 34: Top Lessons Learned From The DevOps Handbook

@RealGeneKimSource: The DevOps Handbook

Change Committed Into Version Control

Page 35: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

What Is The One Question That Predicts Performance With

Startling Accuracy?

Page 36: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

“To what degree do we fear doing deployments?”

Source: Puppet Labs 2015 State Of DevOps: https://puppetlabs.com/2015-devops-report

Page 37: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Session ID:

Surprise #4:

The Surprising Implications Of Conway’s Law

Page 38: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Conway’s Law

Eric S. Raymond: “If you have four groups

working on a compiler, you’ll get a four pass

compiler”

(summarizing results of Dr. Melvin Conway’s

experiment in 1968)

Page 39: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

The Birth And Death Of Etsy Sprouter

A story about teams of engineers implementing

changes

2008: Devs and DBAs

2009: Devs and DBAs and Sprouter team

2010: Devs

Page 40: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Lesson:The Organization and

The Architecture Of Our SoftwareMust Be Congruent

Page 41: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Lead Time = 9 months

Source: Damon Edwards (@damonedwards)

Page 42: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Architecture Enables Teams To…

…make large scale changes to the design of its system without the permission of someone outside the team, or depending on other teams

...complete its work without fine-grained communication and coordination with people outside the team

...deploy and release its product or service on demand, independently of other services the product or service depends upon

...do most of its testing on demand, without requiring an integrated test environment

...perform deployments during normal business hours with negligible downtime

Source: Puppet/DORA: 2017 State Of DevOps Report: https://puppet.com/resources/whitepaper/state-of-devops-report

Page 43: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Session ID:

Surprise #5:

DevOps EnablesDynamic, Learning Organizations…

Page 44: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Dr. Steven Spear

“While designing perfectly safe systems is likely beyond our abilities, safe systems are close to achievable” when the four following conditions are met…”

Source: Dr. Steven Spear

Page 45: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Dr. Steven Spear’s Four Capabilities

1. See problems as they occur

2. Swarm and solve problems to create new knowledge

3. Spread new knowledge throughout the organization

4. Leaders create new leaders

Source: Dr. Steven Spear

Page 46: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

DevOps Practices In Capability 3

Single, shared source code repositories

Blameless post-mortems

Chaos Monkeys

Page 47: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

DevOps Practices In Capability 3

Learning days and internal technology conferences

Embracing open source

Internal architecture to propagate best known patterns (“buoys, not boundaries”)

Functional organizations

Page 48: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

You Don’t Choose Chaos Monkey…Chaos Monkey Chooses You

Page 49: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Capability 4

Leading by developing

The job of leaders is not to command and control, but to create other capable leaders who can perpetuate this system of work

Source: Dr. Steven Spear

“My goal is not to direct and control, but to guide and enable”

Page 50: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Session ID:

Surprise #6:

DevOps Is For The Unicorns…...And The Horses, Too

Page 51: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

DevOps Enterprise: Lessons Learned

On Nov. 7-9, we held the third DevOps Enterprise Summit, a conference for horses, by horses

Speakers included fifty leaders from:

Barclays, ING Bank, UK HMRC, Hiscox, Zurich Insurance, LV, UK GDS, iTV, Unilever, SAP, Macy’s, Disney, Target, GE Capital, Western Union, Sherwin Williams, Blackboard, Nordstrom, Telstra, US Department of Homeland Security, CSG, Raytheon, IBM, Ticketmaster, MITRE, Marks and Spencer, Barclays Capital, Microsoft, Nationwide Insurance, Capital One, Gov.UK, Fidelity, Rally Software, Neustar, Walmart, PNC, ADP, …

Page 52: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Observations

They were using the same technical practices and getting the same

sort of metrics as the unicorns

Target: 100+ deploys per week, < 10 incidents per month, enabled 53

business initiatives

Capital One: 100s of deploys per day, lead time of minutes

Macy’s: 1,500 manual tests every 10 days, now 100Ks automated tests run

daily

Disney: Has embedded nearly 100 Ops engineers into LOB teams across the

enterprise

Nationwide Insurance: Retirement Plans app (COBOL on mainframe)

Raytheon: testing and certification from months to a day

Nordstrom: 20% lead time reduction into executive bonuses

Page 53: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Mieke DeenenProject Manager Deployment AutomationUWV, Netherlands

Page 54: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Page 55: Top Lessons Learned From The DevOps Handbook

@RealGeneKimSource: Puppet/DORA: 2017 State Of DevOps Report: https://puppet.com/resources/whitepaper/state-of-devops-report

Page 56: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Leaders Cannot Do It Alone

Teams with the least transformational leaders (the bottom third) were one-half as likely to be high IT performers

Leaders cannot do it alone! Teams with the top 10% of transformational leaders performed no better than the median

Source: Puppet/DORA: 2017 State Of DevOps Report: https://puppet.com/resources/whitepaper/state-of-devops-report

Page 57: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Leaders Affect Outcomes Through…

Source: Puppet/DORA: 2017 State Of DevOps Report: https://puppet.com/resources/whitepaper/state-of-devops-report

Page 58: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Aspirational Suggestion

Congratulations for engineering yourselves into a unique situation where you can affect how much organizations fear performing deployments

Find ways to enable your “pocket of greatness” to be leveraged throughout your entire organization

May require partnering with developers, Dev and Ops leadership, and architecture

The rewards are worth it

Page 59: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Why Do I Think This Is Important?

Page 60: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Page 61: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Page 62: Top Lessons Learned From The DevOps Handbook

@RealGeneKimSource: Pingdom

Page 63: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

The DevOps Handbook

5+ years in the making

23 chapters

48 case studies

98,124 words

48 images

503 endnotes

192 footnotes

Page 64: Top Lessons Learned From The DevOps Handbook

@RealGeneKim

Want More Learn More?

To receive the following:

A copy of this presentation

The 140 page excerpt of The DevOps Handbook

The 140 page excerpt of The Phoenix Project

Videos and slides from DevOps Enterprise 2014-2017

Whitepaper from DevOps Research and Assessment

The DevOps Enterprise Forum Guidance Papers

Link to the DevOps Audit Defense Toolkit

One hour excerpt of The Phoenix Project audiobook

Just pick up your phone, and send an email:

To: [email protected]

Subject: devops

[email protected]

devops