LISA 2011 Keynote: The DevOps Transformation

88
The DevOps Transformation Ben Rockwood Director of Systems Engineering Joyent, Inc. From here to there and why Thursday, December 8, 2011

Transcript of LISA 2011 Keynote: The DevOps Transformation

Page 1: LISA 2011 Keynote: The DevOps Transformation

The DevOpsTransformation

Ben RockwoodDirector of Systems Engineering

Joyent, Inc.

From here to there and why

Thursday, December 8, 2011

Page 2: LISA 2011 Keynote: The DevOps Transformation

What is DevOps?

Section 1

Thursday, December 8, 2011

Page 3: LISA 2011 Keynote: The DevOps Transformation

DevOps is a cultural and professional

movement.Adam Jacob

Thursday, December 8, 2011

Page 4: LISA 2011 Keynote: The DevOps Transformation

It’s not a tool (thing).

Thursday, December 8, 2011

Page 5: LISA 2011 Keynote: The DevOps Transformation

It’s not a title (person).

Thursday, December 8, 2011

Page 6: LISA 2011 Keynote: The DevOps Transformation

It’s not just dev & ops.

*dev*ops*Thursday, December 8, 2011

Page 7: LISA 2011 Keynote: The DevOps Transformation

CAMS

• Culture

• Automation

• Measurement

• Sharing

John Willis

Thursday, December 8, 2011

Page 8: LISA 2011 Keynote: The DevOps Transformation

It’s a banner for change.Thursday, December 8, 2011

Page 9: LISA 2011 Keynote: The DevOps Transformation

“We are the music makers,And we are the dreamers of dreams,”

Arthur O'Shaughnessy (1874)

The world is changable, if we only have the courage to break with the status quo (overcome inertia)

Re-envisioning the IT World

Thursday, December 8, 2011

Page 10: LISA 2011 Keynote: The DevOps Transformation

Pro Tip #1

DevOps is a journey of discovery,

not a destination.

Thursday, December 8, 2011

Page 11: LISA 2011 Keynote: The DevOps Transformation

Pro Tip #1

DevOps is a journey of discovery,

not a destination.

Please join the globalconversation!

Thursday, December 8, 2011

Page 12: LISA 2011 Keynote: The DevOps Transformation

DevOps Deconstruction

• Collaboration of People

• Convergence of Process

• Creation & Exploitation of Tools

In that order, not the reverse.

Section 2

Thursday, December 8, 2011

Page 13: LISA 2011 Keynote: The DevOps Transformation

Simon Sinek’s Golden Circle

Why

How you do it

What you do

Ted Talk: Simon Sinek: How great leaders inspire action”

Thursday, December 8, 2011

Page 14: LISA 2011 Keynote: The DevOps Transformation

Simon Sinek’s Golden Circle

Why

How

What

Motivation,Values,Belief

Method

Product(Maps to Neo-Cortex;

Rational Thought & Language)

(Both make up the limbic brain,feelings, behavior, decision making, no language)

Thursday, December 8, 2011

Page 15: LISA 2011 Keynote: The DevOps Transformation

Golden Circle in DevOps

Why?

How?

What?

1: Quality through Collaboration isour motivation

2: Process & Tools is how

3: Build awesomeservices

Thursday, December 8, 2011

Page 16: LISA 2011 Keynote: The DevOps Transformation

DevOps Done Wrong

Why?

How?

What?

3: To improve efficiencyof infrastructure

management

2: Building Processaround automation

1: Automate using Configuration Management

Thursday, December 8, 2011

Page 17: LISA 2011 Keynote: The DevOps Transformation

“Why is the only true source of power. Without it you are

powerless.”

Thursday, December 8, 2011

Page 18: LISA 2011 Keynote: The DevOps Transformation

Wisdom

Understanding

Knowledge

Information

Data

Ackoff’s 5 Contents of the Mind

Thursday, December 8, 2011

Page 19: LISA 2011 Keynote: The DevOps Transformation

Wisdom

Understanding

Knowledge

Information

Data

Who, What, When, WhereHow much..

How to

Why

Insight

Thursday, December 8, 2011

Page 20: LISA 2011 Keynote: The DevOps Transformation

Wisdom

Understanding

Knowledge

Information

Data

Who, What, When, WhereHow much..

How to

Why

Insight

Jr SA/Support

Systems Engineer

Architect

Thursday, December 8, 2011

Page 21: LISA 2011 Keynote: The DevOps Transformation

Wisdom

Understanding

Knowledge

Information

Data

Who, What, When, WhereHow much..

How to

Why

Insight

Analysis

Synthesis

Systems Thinking

Thursday, December 8, 2011

Page 22: LISA 2011 Keynote: The DevOps Transformation

Systems Thinking

• Systems Thinking is concerned with the interaction of the parts to form a whole

• Systems Dynamics is concerned with the feedback loops between the parts

• “A system can not understand itself.” -W. Edwards Deming

Thursday, December 8, 2011

Page 23: LISA 2011 Keynote: The DevOps Transformation

Pro Tip #2

DevOps starts with why, with a holistic vision,

and supports that vision with process and tools.

Thursday, December 8, 2011

Page 24: LISA 2011 Keynote: The DevOps Transformation

OpsDev

Should be this.

Section 3

Thursday, December 8, 2011

Page 25: LISA 2011 Keynote: The DevOps Transformation

Dev Ops

The reality is usually this.Thursday, December 8, 2011

Page 26: LISA 2011 Keynote: The DevOps Transformation

Requirements ServiceDev OpsSoftware

The Value Stream

Thursday, December 8, 2011

Page 27: LISA 2011 Keynote: The DevOps Transformation

Requirements ServicesDev OpsSoftware

Get it out on time, no defects. Get it up. Keep it up. Cheap.

Goods Services

Silo’ed Priorities

+NFR

Thursday, December 8, 2011

Page 28: LISA 2011 Keynote: The DevOps Transformation

Who’s responsible for quality?

Thursday, December 8, 2011

Page 29: LISA 2011 Keynote: The DevOps Transformation

What is Quality?

• ISO-9000: "Degree to which a set of inherent characteristics fulfills requirements."

• Dr. Juran: "Fitness for use."

• Crosby: "Conformance to requirements."

• 6 Sigma: "Number of defects per million opportunities."

And you wonder how we used waterfall so long....

Thursday, December 8, 2011

Page 30: LISA 2011 Keynote: The DevOps Transformation

What is quality really?

• The degree to which a good or service is what the customer expects it to be.

• Examples: The Big Mac, Velveeta, Steak

Thursday, December 8, 2011

Page 31: LISA 2011 Keynote: The DevOps Transformation

Quality Software

• Does what it purports to do

• Is intuitive and easy to use

• Is quick and responsive; given the task

• Observable (“Whats it doing?!”)

Thursday, December 8, 2011

Page 32: LISA 2011 Keynote: The DevOps Transformation

Quality Service

• Does what it purports to do

• Is intuitive and easy to use (Friendly)

• Is quick and responsive; given the task

• Observable (“Whats it doing?!”)

• Available

• Self-Service if possible

Thursday, December 8, 2011

Page 33: LISA 2011 Keynote: The DevOps Transformation

“Efficiency is doing things right;

effectiveness is doing the right things.”

Peter Drucker

Thursday, December 8, 2011

Page 34: LISA 2011 Keynote: The DevOps Transformation

Pro Tip #3

Quality is a result effectiveness of the interactions

across the entire value stream.

Thursday, December 8, 2011

Page 35: LISA 2011 Keynote: The DevOps Transformation

Agile Manifesto

Individuals and interactions over processes and toolsWorking software over comprehensive documentationCustomer collaboration over contract negotiation

Responding to change over following a plan

2001

Section 4

Thursday, December 8, 2011

Page 36: LISA 2011 Keynote: The DevOps Transformation

Agile Advantages

• Non-Prescriptive

• Simple philosophy became an umbrella

• Applies to both the developer and the product management alike

• Widely known and easy to grok.

Thursday, December 8, 2011

Page 37: LISA 2011 Keynote: The DevOps Transformation

IT Service Management

• Control Objectives for Information and related Technology (CobiT)

• Capability Maturity Model Integration (CMMI) for Service

• IT Infrastructure Library (ITIL)

• ISO Standards: 20K, 27001, 38500

• NIST SP800-53, PCI DSS, FIPS 200, TIA-942

Thursday, December 8, 2011

Page 38: LISA 2011 Keynote: The DevOps Transformation

Making Sense of ITSMSOX

COSO

CobiT

ITILPMBOK

PRINCE2ASLBISL

ISO 27KNIST SP800-53PCI-DSSFIPS 200...

SAS70

ISO 38,500....

Auditing

Security ControlsBest Practice

ISO 20K Governance Framework

Thursday, December 8, 2011

Page 39: LISA 2011 Keynote: The DevOps Transformation

Problems with ITSM

• Compliance Driven

• Security Focused

• Complex, Complicated, and Bureaucratic

• Pushed down from the top on already over-burdened staff

• Consultant Heavy

• Hard to grok. Most info 2nd hand.

Thursday, December 8, 2011

Page 40: LISA 2011 Keynote: The DevOps Transformation

IT Infrastructure Library

Thursday, December 8, 2011

Page 41: LISA 2011 Keynote: The DevOps Transformation

ITIL Advantage

• Most complete & respected pattern for IT

• Source for Change Management, Event/Incident/Problem Management, CMDB, etc.

• Provides a common terminology for IT

• Chock full of good ideas! Why reinvent the wheel?

Guru session on ITIL, Thursday @ 3:30!

Thursday, December 8, 2011

Page 42: LISA 2011 Keynote: The DevOps Transformation

Visible Ops

Thursday, December 8, 2011

Page 43: LISA 2011 Keynote: The DevOps Transformation

The rules don’t make RPGs fun...the DM does.

It’s all about how you use the rules.

Thursday, December 8, 2011

Page 44: LISA 2011 Keynote: The DevOps Transformation

ITSM in Perspective

• No idea should be rejected without consideration

• Don’t view it as “all in” or “all out”

• Educate yourself on them (many are free) and use it however is most appropriate for your team/organization

Thursday, December 8, 2011

Page 45: LISA 2011 Keynote: The DevOps Transformation

Ars Gratia Artis

• Art for the Sake of Art

• Only satisfies a select few

The Fountain by Marcel Duchamp

Thursday, December 8, 2011

Page 46: LISA 2011 Keynote: The DevOps Transformation

Pro Tip #4

Agile & ITSM are both sourcesfrom which to draw strength,

but never at the expense of your vision.

Thursday, December 8, 2011

Page 47: LISA 2011 Keynote: The DevOps Transformation

Cloud Changed the Game

Section 5

Thursday, December 8, 2011

Page 48: LISA 2011 Keynote: The DevOps Transformation

IT Paradigm Shifts• Virtualization stops being about

consolidation and begins enabling self-service, automated infrastructure without bare metal constraints

• HPC becomes less interesting

• Role of the OS changes

• Broad platform standardization becomes realistic

Thursday, December 8, 2011

Page 49: LISA 2011 Keynote: The DevOps Transformation

Dev Paradigm Shifts

• Dev can bypass IT at will

• Dev has more experience with the APIs that drive cloud than IT (typically)

• The Great Leveler; anyone can be a player

• SCRUM, Continuous Integration, etc. speed up rate of deployment

Thursday, December 8, 2011

Page 50: LISA 2011 Keynote: The DevOps Transformation

“The Rift” Surfaces

• Increased awareness of IT and “Web Operations” sub-culture rift

• Migration of services from heavy iron into virtualized environments changes more than expected

• Over-specialization becomes an issue

• X86 Management is different

Thursday, December 8, 2011

Page 51: LISA 2011 Keynote: The DevOps Transformation

Rise of the Tools

• Commercial & Open Source “Build your own cloud” solutions speed up

• Puppet & Chef arrive alongside CFengine to tame the new complexity

• “Infrastructure As Code” starts looking realistic, as tools are more about CM than deployment

• SaaS allows IT teams to offload undesirable or complex components. (ex: PagerDuty)

Thursday, December 8, 2011

Page 52: LISA 2011 Keynote: The DevOps Transformation

Vagrant

• Create test/dev environments on your laptop

• Configure with CM

• An excellent method for using Operations “Infrastructure as Code” to empower dev, ops, qa, etc.

Thursday, December 8, 2011

Page 53: LISA 2011 Keynote: The DevOps Transformation

Pro Tip #5

The Cloud is here to stay, and its awesome.

Contrary to popular belief, it will generate MORE demand for SA’s,

not less.

Thursday, December 8, 2011

Page 54: LISA 2011 Keynote: The DevOps Transformation

Operations Management

“Operations management is an area of management concerned with overseeing, designing, and

redesigning business operations in the production of goods and/or

services.”

Wikipedia

Section 6

Thursday, December 8, 2011

Page 55: LISA 2011 Keynote: The DevOps Transformation

What is Operations?

Executives

Finance Operations Marketing

Operations is doing what you do.

Thursday, December 8, 2011

Page 56: LISA 2011 Keynote: The DevOps Transformation

OM Subjects• Operations

Strategy

• Product & Service Development

• Project Management

• Process Measurement

• Financial Analysis

• Quality Management

• Forecasting

• Wait-Line Theory

• Scheduling

• LEAN

• Six Sigma

• TOC ...and more.

Thursday, December 8, 2011

Page 57: LISA 2011 Keynote: The DevOps Transformation

A Brief History of Operations Management

Understanding the genesis of theideas we now take for granted as

common sense.

Thursday, December 8, 2011

Page 58: LISA 2011 Keynote: The DevOps Transformation

Fredrick Winslow Taylor

• “The Principles of Scientific Management” (1911)

• Applied scientific method to work.

• Generally blamed for everything.

Thursday, December 8, 2011

Page 59: LISA 2011 Keynote: The DevOps Transformation

Henry Ford

• Father of “Mass Production”

• Built the Model T from 1908 ($850, $20K) to 1927 ($290, $3K).

• No formal education, worked at Edison Co from 1891 to 1899.

Thursday, December 8, 2011

Page 60: LISA 2011 Keynote: The DevOps Transformation

Alfred Sloan• President of GM in 1923

• Did for big management what Ford did for manufacturing

• Involvement with MIT later became the Sloan Business School.

• BS EE from MIT

Thursday, December 8, 2011

Page 61: LISA 2011 Keynote: The DevOps Transformation

Sakichi Toyoda• Started Toyoda

Automatic Loom Works 1927

• Invented Jidoka (autonomous automation) [Fault Management], and “5 Whys”

• Started making cars in 1933

Thursday, December 8, 2011

Page 62: LISA 2011 Keynote: The DevOps Transformation

W.A. Shewhart

• Invented PDSA Continuous Improvement Cycle

• Worked at Bell Labs from 1925 to 1956

• Father of Statistical Process Control

• PhD in Physics

Thursday, December 8, 2011

Page 63: LISA 2011 Keynote: The DevOps Transformation

W. Edwards Deming• Student of Shewhart

• Sent to Japan after WW2 and taught the Japanese (1950)

• Father of the Quality movement

• Ignored in US until late 1970’s

• BS EE, MS/PhD Math

Thursday, December 8, 2011

Page 64: LISA 2011 Keynote: The DevOps Transformation

Taiichi Ohno• Created the Toyota

Production System in late 1940’s, refined through the 1950’s

• Father of Just-in-Time, Kanban, etc.

• Learned from Ford’s book “Today & Tomorrow” & Deming

Thursday, December 8, 2011

Page 65: LISA 2011 Keynote: The DevOps Transformation

Shigeo Shingo

• Technical man behind TPS

• Father of SMED, Poka-Yoke (“mistake-proofing”), “Zero Quality Control”, etc.

Thursday, December 8, 2011

Page 66: LISA 2011 Keynote: The DevOps Transformation

Damon Edwards Israel Gat

http://dev2ops.org/blog/2011/8/11/full-video-of-israel-gat-interview-agile-in-enterprise-devop.html

Thursday, December 8, 2011

Page 67: LISA 2011 Keynote: The DevOps Transformation

Peter Drucker

• Father of Modern Management

• Wrote 39 management books between 1939 and 2005

Thursday, December 8, 2011

Page 68: LISA 2011 Keynote: The DevOps Transformation

Ludwig von Bertalanffy

• Father of Systems Theory

• Wrote “General Systems Theory”, published in US following WW2.

Thursday, December 8, 2011

Page 69: LISA 2011 Keynote: The DevOps Transformation

Russell Ackoff

• Friend of Deming

• Pioneer in Operations Research (OR) in 1957 and Systems Theory

• (imho, the Feynman of OR)

• BS Architecture, PhD Philosophy of Science

Thursday, December 8, 2011

Page 70: LISA 2011 Keynote: The DevOps Transformation

Armand V. Feigenbaum

• Coined the term “Total Quality Control” (1961), which later became “Total Quality Management” (TQM)

• Together with Deming and others ideas, became basis for ISO-9000

• PhD Econ MIT

Thursday, December 8, 2011

Page 71: LISA 2011 Keynote: The DevOps Transformation

The US Decline

• 1973 Oil Crisis deals a nasty blow to the US Mass Production system

• Japanese weather the storm thanks to Kanban (Just in Time; Toyota Production System)

• In 1980’s Japanese quality puts US to shame

• Deming in NBC documentary in 1980, publishes first book in 1983

Thursday, December 8, 2011

Page 72: LISA 2011 Keynote: The DevOps Transformation

Eliyahu Goldratt• Created the “Theory of

Constraints”

• Published in his novel “The Goal” (1984)

• Applied TOC to other areas such as project management (“Critical Chain”), sales (“Mafia Offer”), etc.

Thursday, December 8, 2011

Page 73: LISA 2011 Keynote: The DevOps Transformation

James Womack, et al

• Coined “Lean” in 1988 HBR Article.

• Becomes “The Machine that Change the World” (1990) which brought TPS to the masses.

Thursday, December 8, 2011

Page 74: LISA 2011 Keynote: The DevOps Transformation

On the Shoulders of Giants

• There is a continuous chain of ideas being condensed and re-applied again and again throughout the 20th Century.

• Today its largely rolled into “Lean”

• Many of our “new” ideas are not new at all, they are new applications of proven ideas that are simply new to this field.

• Many of the OM pioneers were geeks.

Thursday, December 8, 2011

Page 75: LISA 2011 Keynote: The DevOps Transformation

Thursday, December 8, 2011

Page 76: LISA 2011 Keynote: The DevOps Transformation

Pro Tip #6

“Those who cannot remember the past are condemned to repeat it”

George Santayana

These things aren’t going away, a little education will serve you for years to come.

Thursday, December 8, 2011

Page 77: LISA 2011 Keynote: The DevOps Transformation

The 3 Aspects of DevOps

dev>OPS

DEV<ops

DEV<>OPS

Thursday, December 8, 2011

Page 78: LISA 2011 Keynote: The DevOps Transformation

dev>OPS

• Operations centric focus on DevOps

• Adopts “Infrastructure as Code” ideal

• Considers SCRUM, Kanban, and Agile Operations Concepts

• Gets serious about metrics and holistic/qualitative monitoring

Thursday, December 8, 2011

Page 79: LISA 2011 Keynote: The DevOps Transformation

DEV<ops

• Development centric focus on DevOps

• Adopts continuous deployment

• Embedded metrics and increased focus on operational performance

• Dev’s learn about operational challenges

Thursday, December 8, 2011

Page 80: LISA 2011 Keynote: The DevOps Transformation

DEV<>OPS

• Full collaboration between teams

• Boundaries between them blur

• Both teams are accountable, full participation in emergencies and postmortem meetings

• Dev access to prod environment

• Joy.

Thursday, December 8, 2011

Page 81: LISA 2011 Keynote: The DevOps Transformation

Transitioning

• If at all possible, go directly to DEV<>OPS and grow together

• If not, do what you can to set the stage, measure results and make allies to build a case for management support.

Thursday, December 8, 2011

Page 82: LISA 2011 Keynote: The DevOps Transformation

The Most PowerfulTool in the DevOps

Arsenal?

Thursday, December 8, 2011

Page 83: LISA 2011 Keynote: The DevOps Transformation

Thursday, December 8, 2011

Page 84: LISA 2011 Keynote: The DevOps Transformation

Other Tools to Start

• Office Hours

• Sit together

• Join the other teams meetings

• Ask lots of questions

• Implement the “No Asshole Rule”

• Have fun

Thursday, December 8, 2011

Page 85: LISA 2011 Keynote: The DevOps Transformation

Pro Tip #7

If it ain’t fun, it ain’t workin’.

Thursday, December 8, 2011

Page 86: LISA 2011 Keynote: The DevOps Transformation

Collaboration of People

Convergence of Process

Creation & Exploitation of Tools

* Measure Everything* Have a systems view* Focus on effectiveness & quality* Learn from others and the past* Encourage pride of workmanship (fun)

Thursday, December 8, 2011

Page 87: LISA 2011 Keynote: The DevOps Transformation

Thank You.

Thursday, December 8, 2011