DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified...

41
DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems Engineering Joyent Wednesday, August 29, 12

Transcript of DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified...

Page 1: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

DevOps DemystifiedAn Introduction to the Ideas that are Driving DevOps

Ben RockwoodDirector of Systems Engineering Joyent

Wednesday, August 29, 12

Page 2: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

DevOps Components

• Collaboration of People

• Convergence of Process

• Creation & Exploitation of Tools

Wednesday, August 29, 12

Page 3: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

DevOps Supports Flow

Requirements ServiceDev OpsSoftware

Customers

Wednesday, August 29, 12

Page 4: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Part I:Collaboration of People

Wednesday, August 29, 12

Page 5: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

"Whats a community, whats a culture? Its a group of people with a common set of values and

beliefs.

When we're surrounded by people who believe what we believe, something remarkable happens...

trust emerges."

- Simon Sinek

Wednesday, August 29, 12

Page 6: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

What is Culture?

c : the set of shared attitudes, values, goals, and practices that characterizes an institution or organization

Webster

Wednesday, August 29, 12

Page 7: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Attributes of Culture

• Shared Values

• Shared Goals

• Shared Practices

• Shared Attitudes

Wednesday, August 29, 12

Page 8: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Implementing Culture

• Determine your core values

• Create goals which meet business needs that are consistent with your values

• Create practices which simplify the process toward those goals

• Test against these with the attitudes of your employees

Wednesday, August 29, 12

Page 9: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Altering Culture

• Listen carefully to the attitudes of employees

• Determine which values aren't being embraced; do you need to change the values?

• Examine the current goals of the organization

• Adjust the practices to be always driving toward the goals.

Wednesday, August 29, 12

Page 10: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Deming’s Seven Deadly Diseases of Management#1:

Lack of constancy of purpose to plan product and service that will have a market and keep the company in business,

and provide jobs.

Wednesday, August 29, 12

Page 11: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Sinek’s Golden Circle

Why

How

What

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

Logical

Emotional

Wednesday, August 29, 12

Page 12: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

This is your customer.

Wednesday, August 29, 12

Page 13: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

We build this....

Wednesday, August 29, 12

Page 14: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

So she can do this.

Wednesday, August 29, 12

Page 15: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Part II:Convergence of

Process

Wednesday, August 29, 12

Page 16: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

“Efficiency is doing things right;

effectiveness is doing the right things.”

Peter Drucker

Wednesday, August 29, 12

Page 17: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Influencing Fields of Study

• Agile

• Operations Management (OM)

• Systems Thinking & Dynamics

• Theory of Constraints (TOC)

• LEAN (TPS)

• IT Service Management (ITSM) - ITIL

Wednesday, August 29, 12

Page 18: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

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

Wednesday, August 29, 12

Page 19: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Agile Operations

• The birthing idea that became DevOps

• SCRUM doesn’t work for Operations

• The ideas are sound, but incomplete for Ops and can re-enforce silos

Wednesday, August 29, 12

Page 20: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Why SCRUM Doesn’t Work for Ops

• There are 4 types of work:

• Business Projects (New Service)

• Internal Projects (Implement CM)

• Planned Changes (Tickets)

• Unplanned Changes (Break-fix, Interupts)

“When IT Fails: A Business Novel” - Gene Kim, et al.

Wednesday, August 29, 12

Page 21: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Operations Management• The traditional study of management

• You learn this as part of an MBA

• Includes the study of:

• Scheduling, Project Management, Process Measurement, Quality, Scheduling, etc.

• Previously focused on manufacturing, today focused on service industries (like us)

• Includes TOC, LEAN/TPS, Six Sigma, etc.

Wednesday, August 29, 12

Page 22: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Systems Thinking

• A system is a whole that cannot be divided into independent parts

• The essential properties of a system are those which none of its parts have

• A system is not the sum of the behavior of its parts, but its the product of their interactions

Dr. Russell Ackoff

Wednesday, August 29, 12

Page 23: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

The Systems Challenge

• Image the company just burned down and you have to start over from scratch... how would you do things differently?

• If you can’t image change without constraints, how can you think that you’ll know what to do with constraints?

Wednesday, August 29, 12

Page 24: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Systems Dynamics

• Mathematical study of interactions within a system

• All interactions are feedback loops; cause and effect relationships

• Works back from events, to patterns, to the system itself to improve the system as a whole

Dr. Jay Forrester

Wednesday, August 29, 12

Page 25: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Theory of Constraints (TOC)1. Identify the system's constraint

2. Decide how to Exploit the system's constraint

3. Subordinate everything else to above decision

4. Elevate the system's constraint(s)

5. If, as a result of these steps, the constraint has moved, return to Step 1. Don't let INERTIA become the constraint.

“The Goal” - Dr. Goldratt

Wednesday, August 29, 12

Page 26: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

TOC: Drum-Buffer-Rope• Drum: The beat at which everything moves

• Buffer: A cache of work before the constraint

• Rope: A pull method to draw work through the system

25 8

Buffer: 8 unitsDrum: 2/hr.

Rope

Wednesday, August 29, 12

Page 27: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

LEAN

• Draws principles from the Toyota Production System (TPS)

• TPS was created by Ohno at Toyota, but draws on Deming, Drucker, Toyoda, Shingo, Shewhart, Ford, etc, etc, etc.

• Focus on eliminating waste and creating a pull based system

Wednesday, August 29, 12

Page 28: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

LEAN Concepts• Kaizen: Continuous Improvement

• Kanban: Just in Time (JIT) pull signalling system

• Jidoka: “Autonomation” automation with a human touch.

• Polka-Yoke: Mistake Proofing

• 5S: Sorting, Simplifying, Sweeping, Standardizing, Sustaining

• 5 Why: Root cause analysis method

• Muda (Waste): Removal of all non-value add actionWednesday, August 29, 12

Page 29: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Part III:Creation & Exploitation

of Tools

Wednesday, August 29, 12

Page 30: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Common “DevOps” Tools

• Chef, Puppet, CFengine

• Nagios

• Ganglia, Graphite + statsd, Munin

• Splunk, Logstash, Graylog2

• Rundeck, MCollective

• Collins, Juju, Crowbar

• Git, Mercurial, Subversion

Wednesday, August 29, 12

Page 31: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

DevOps Tools?

• awk, sed, grep

• LDAP & Kerberos

• sudo, RBAC/BSM

• rsyslogd

• NFS/CIFS

• Post-It Notes

Wednesday, August 29, 12

Page 32: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Best DevOps Tool

Wednesday, August 29, 12

Page 33: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

What is a DevOps Tool?

Any tool that:

A) Aids the convergence of process B) Aids in the collaboration of people

TOOLS MUST SUPPORT FLOW!

Wednesday, August 29, 12

Page 34: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Example 1: Beer

A) Aids the convergence of process: ?? B) Aids in the collaboration of people: ??

Wednesday, August 29, 12

Page 35: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Example 2: Metrics

A) Aids the convergence of process: ?? B) Aids in the collaboration of people: ??

Wednesday, August 29, 12

Page 36: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Summary

Wednesday, August 29, 12

Page 37: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

It’s about customers

Wednesday, August 29, 12

Page 38: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

It’s about flow

Wednesday, August 29, 12

Page 39: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

It’s about pride of workmanship

Wednesday, August 29, 12

Page 40: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

If your not having fun,your doing it wrong.

Wednesday, August 29, 12

Page 41: DevOps Demystified - Cuddletechcuddletech.com/slides/DevOps-Demystified.pdf · DevOps Demystified An Introduction to the Ideas that are Driving DevOps Ben Rockwood Director of Systems

Thank You.

Wednesday, August 29, 12