dev ops overview (brief)

37
What’s the commotion about Overview of what is happening in the industry around CI/CD and DevOps 10/8/12 © Copyright 2012 Constant Contact Inc.

Upload: igor-moochnick

Post on 18-Jul-2015

171 views

Category:

Technology


2 download

TRANSCRIPT

What’s the commotion aboutOverview of what is happening in the industry

around CI/CD and DevOps

10/8/12 © Copyright 2012 Constant Contact Inc.

Are you aware of what is happening out there?

© Copyright 2013 Constant Contact Inc. 2

© Copyright 2013 Constant Contact Inc. 3

On the Care and Feeding of Feedback Cycles by Elisabeth Hendrickson @ FLOWCON 2013

© Copyright 2013 Constant Contact Inc. 4

On the Care and Feeding of Feedback Cycles by Elisabeth Hendrickson @ FLOWCON 2013

© Copyright 2013 Constant Contact Inc. 5

On the Care and Feeding of Feedback Cycles by Elisabeth Hendrickson @ FLOWCON 2013

Operations sees …

Fragile applications are prone to

failure

Long time required to figure out

“which bit got flipped”

Detective control is a salesperson

Too much time required to restore

service

Too much firefighting and unplanned

work

Planned project work cannot

complete

Frustrated customers leave

Market share goes down

Business misses Wall Street

commitments

Business makes even larger

promises to Wall Street

© Copyright 2013 Constant Contact Inc. 6

More urgent, date-driven projects put into

the queue

Even more fragile code put into production

More releases have increasingly “turbulent

installs”

Release cycles lengthen to amortize “cost

of deployments”

Failing bigger deployments more difficult to

diagnose

Most senior and constrained IT ops

resources have less time to fix underlying

process problems

Ever increasing backlog of infrastructure

projects that could fix root cause and

reduce costs

Ever increasing amount of tension

between IT Ops and Development

Dev sees …

The Downward Spiral (from Gene Kim)

These are business problems!

Pressure on dev teams forces them to take shortcuts and accumulate technical debt

Attention to Automated testing is reduced and the coding is slashed

Assumption that QA will catch the problem - beginning of throw over the wall

QA is starting to run behind the schedule because the amount of work increasing

Dev cycle is increasing by taking time from QA

QA is starting to fortify the wall and put processes in place requiring strict documentation of what has changed

Code gets into a fragile steaming hot pile that no one wants to get close to and even touch

Lead developer gets bored, frustrated and burned out and leaves

Hot pile stays there forever

© Copyright 2013 Constant Contact Inc. 7

© Copyright 2013 Constant Contact Inc. 8

© Copyright 2013 Constant Contact Inc. 9

© Copyright 2013 Constant Contact Inc. 10

Devops Modelling by Patrick Debois @ YOW! 2013

© Copyright 2013 Constant Contact Inc. 11

What is DevOps?

© Copyright 2013 Constant Contact Inc. 12

http://www.devopsdays.org/blog/2010/05/16/the-panel-experiment-and-ignite-devops/

DevOps = CAMS / CLAMS / CALMS

Culture

Automation

(Lean)

Measurement

Sharing

© Copyright 2013 Constant Contact Inc. 13

Culture

Fast feedback

Direct connections

Data-based communication

Enablement, not self-protection

John Willis (the Demming of DevOps)

Inverse incentives:

• measure Ops on # of released features

• Devs on stability of their apps in production

Measurement

Measure everything

Sharing

Share information

Share power

Share knowledge

© Copyright 2013 Constant Contact Inc. 14

Automation

Lightweight tools,

readiness to discard or

change tools

Open-source bias

Automate for leverage

to change

Embrace & adopt

“developer” tools

SCM

Configuration

Management

What is Continuous Delivery?

reduce the cost, time, and risk

of delivering incremental changes to users

© Copyright 2013 Constant Contact Inc. 15

Lean thinking …

Deliver fast

Build quality in

Optimize the whole

Eliminate waste

Amplify learning

Decide late at last responsible moment

You have the best information possible to make your

decision

Empower team

© Copyright 2013 Constant Contact Inc. 17

On the Care and Feeding of Feedback Cycles by Elisabeth Hendrickson @ FLOWCON 2013

Micro-services!

© Copyright 2013 Constant Contact Inc. 18

© Copyright 2013 Constant Contact Inc. 19

v1

v2

Ruby

Java

Canary Releasing

© Copyright 2013 Constant Contact Inc. 20

Examples from the Industry

10/8/12 © Copyright 2012 Constant Contact Inc.

© Copyright 2013 Constant Contact Inc. 23

© Copyright 2013 Constant Contact Inc. 24

© Copyright 2013 Constant Contact Inc. 25

Either you break it or our users will

© Copyright 2013 Constant Contact Inc. 26

Add some Chaos to the system

You Don’t Choose Chaos Monkey …

Chaos Monkey Chooses You

© Copyright 2013 Constant Contact Inc. 27

Histrix Circuit Breaker

Turbine Dashboard

© Copyright 2013 Constant Contact Inc. 28

© Copyright 2013 Constant Contact Inc. 29

© Copyright 2013 Constant Contact Inc. 30

© Copyright 2013 Constant Contact Inc. 31

© Copyright 2013 Constant Contact Inc. 32

http://www.slideshare.net/beamrider9/continuous-deployment-at-etsy-a-tale-of-two-approaches

Etsy

© Copyright 2013 Constant Contact Inc. 33

© Copyright 2013 Constant Contact Inc. 34

© Copyright 2013 Constant Contact Inc. 35

ChatOps @ GitHub

© Copyright 2013 Constant Contact Inc. 36

Books

© Copyright 2013 Constant Contact Inc. 37