Top Banner
Deliver Software Faster Without Rebuilding Everything February 25, 2015
39
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Moving From Infrastructure Automation To True DevOps

Deliver Software Faster Without Rebuilding Everything

February 25, 2015

Page 2: Moving From Infrastructure Automation To True DevOps

2 Copyright 2015. Confidential – Distribution prohibited without permission

Lightning Recap

Summary of “part 1” of this story:

▪ Operations has become a software-defined endeavour

▪ DevOps = applying “Dev Dev” methodologies, practices and tooling to “Ops Dev”

▪ Having two development teams as a result works perfectly well for many

organizations

▪ Creating end-to-end development teams is an option that promises benefits, but

also challenges

▪ Figuring out which approach works best for you, and implementing that, is

“thinking the way the masters think”

Page 3: Moving From Infrastructure Automation To True DevOps

3 Copyright 2015. Confidential – Distribution prohibited without permission

Agenda

▪ “DevOps:” providing a platform

▪ 1 + 1 = 3: What does “Devops” look like?

▪ Finding the approach that’s right for you

▪ So much for “how”…but why?

▪ Where do I go from here?

Page 4: Moving From Infrastructure Automation To True DevOps

4 Copyright 2015. Confidential – Distribution prohibited without permission

Me! Me! Me!

▪ VP Products for XebiaLabs

▪ Lots of enterprise software development on high-performance

systems

▪ Been on both sides of the “Dev…Ops” fence

▪ Active open source contributor and committer:

jclouds, Akka, Gradle and others

▪ Cloud, PaaS & Scala fan

▪ Regular meetup, conference etc. presenter

Page 5: Moving From Infrastructure Automation To True DevOps

5 Copyright 2015. Confidential – Distribution prohibited without permission

Us! Us! Us!

▪ We build software to support DevOps and Continuous Delivery at scale

Page 6: Moving From Infrastructure Automation To True DevOps

6 Copyright 2015. Confidential – Distribution prohibited without permission

“DevOps:” providing a platform

Page 7: Moving From Infrastructure Automation To True DevOps

7 Copyright 2015. Confidential – Distribution prohibited without permission

“DevOps:” providing a platform

Application and platform teams:

▪ Ops/platform team responsible for providing a runtime environment that Just

Works

▪ Application team responsible for developing business logic to run on (a particular

version of the) platform

▪ An easier step to take for many organizations as it aligns with existing org

structure and responsibilities

Page 8: Moving From Infrastructure Automation To True DevOps

8 Copyright 2015. Confidential – Distribution prohibited without permission

“DevOps:” providing a platform

Application and platform teams:

▪ Easy to sell to developers: “It Just Works”

▪ …as long as they can use whichever languages/frameworks/tools they need

▪ Process to update the platform definition/contract needs to be well-defined and

ongoing – win-win not zero sum!

▪ Providing more than one (version of the) platform is always an option

Page 9: Moving From Infrastructure Automation To True DevOps

9 Copyright 2015. Confidential – Distribution prohibited without permission

“DevOps:” providing a platform

In practical terms:

▪ Platform boundary sits pretty close to the application code and configuration layer

▪ Usually takes the form of some kind of “package and configuration format”

▪ Application typically handles business logic

▪ Platform takes care of “operational” concerns such as deployment, logging,

monitoring, failover, auto-scaling etc.

▪ Two versioned deliverables: application version and platform/environment

version: “PaaS model”

Page 10: Moving From Infrastructure Automation To True DevOps

10 Copyright 2015. Confidential – Distribution prohibited without permission

“DevOps:” providing a platform

In practical terms:

▪ Deployment model: “in place update”/application tier is refreshed/updated

▪ Platform takes care of rolling hot deployment, traffic management etc.

▪ Enables very fast, efficient updates, especially in more complex stacks

▪ Platform supports fast determination of whether a problem is an “app” or

“platform” issue, so the responsibilities can be efficiently divided

Page 11: Moving From Infrastructure Automation To True DevOps

11 Copyright 2015. Confidential – Distribution prohibited without permission

“DevOps:” providing a platform

Page 12: Moving From Infrastructure Automation To True DevOps

12 Copyright 2015. Confidential – Distribution prohibited without permission

“DevOps:” providing a platform

Page 13: Moving From Infrastructure Automation To True DevOps

13 Copyright 2015. Confidential – Distribution prohibited without permission

“DevOps:” providing a platform

Page 14: Moving From Infrastructure Automation To True DevOps

14 Copyright 2015. Confidential – Distribution prohibited without permission

“DevOps:” providing a platform

Page 15: Moving From Infrastructure Automation To True DevOps

15 Copyright 2015. Confidential – Distribution prohibited without permission

1 + 1 = 3: What does “Devops” look like?

Page 16: Moving From Infrastructure Automation To True DevOps

16 Copyright 2015. Confidential – Distribution prohibited without permission

1 + 1 = 3: What does “Devops” look like?

Integrated “full stack” development team:

▪ Increasing understanding across “Dev Dev" and "Ops Dev" can allow both teams

to work together on optimizations

▪ Sharing knowledge becomes much easier when there is "cultural affinity"

▪ If both groups are actually developers, this becomes much easier

Page 17: Moving From Infrastructure Automation To True DevOps

17 Copyright 2015. Confidential – Distribution prohibited without permission

1 + 1 = 3: What does “Devops” look like?

Integrated “full stack” development team:

▪ Two types of shared knowledge: up and down the stack, and left to right (i.e. Dev

to Prod) along the process

▪ Of course, nobody can or will understand the entire stack and process...

▪ …it’s the "knowledge overlap" zones that are important

Page 18: Moving From Infrastructure Automation To True DevOps

18 Copyright 2015. Confidential – Distribution prohibited without permission

1 + 1 = 3: What does “Devops” look like?

Emphasize mutual respect:

▪ “Dev Devs" may have a bigger background in coding…

▪ …but the "Ops Devs" will usually have better knowledge of what it takes to

actually get stuff to run

▪ Both should be equally valued in the team, since both are needed to actually get

cool stuff into the hands of your users!

Page 19: Moving From Infrastructure Automation To True DevOps

19 Copyright 2015. Confidential – Distribution prohibited without permission

1 + 1 = 3: What does “Devops” look like?

In practical terms:

▪ Shared foundations are pretty far “down” in the stack: using the same hypervisor,

IaaS or similar

▪ The full stack from that point up is a single versioned entity delivered by the

integrated team: “virtual appliance model”

Page 20: Moving From Infrastructure Automation To True DevOps

20 Copyright 2015. Confidential – Distribution prohibited without permission

1 + 1 = 3: What does “Devops” look like?

In practical terms:

▪ Deployment model “build clone & reroute traffic”, since updating part of the single

versioned entity doesn’t make sense

▪ Need to ensure time to instantiate a full stack doesn’t become a bottleneck

▪ More flexibility => more responsibility: “you build it, you get the pager”

Page 21: Moving From Infrastructure Automation To True DevOps

21 Copyright 2015. Confidential – Distribution prohibited without permission

1 + 1 = 3: What does “Devops” look like?

Page 22: Moving From Infrastructure Automation To True DevOps

22 Copyright 2015. Confidential – Distribution prohibited without permission

1 + 1 = 3: What does “Devops” look like?

Page 23: Moving From Infrastructure Automation To True DevOps

23 Copyright 2015. Confidential – Distribution prohibited without permission

1 + 1 = 3: What does “Devops” look like?

Page 24: Moving From Infrastructure Automation To True DevOps

24 Copyright 2015. Confidential – Distribution prohibited without permission

Finding the approach that’s right for you

Page 25: Moving From Infrastructure Automation To True DevOps

25 Copyright 2015. Confidential – Distribution prohibited without permission

Finding the approach that’s right for you

There is no One Answer To Rule Them All. It depends on your context

▪ Can you build a rock solid, reliable platform that Just Works…and can you force

your developers to develop to its constraints?

▪ Do you have a lot of off-the-shelf software for which exceptions need to be

made?

▪ Is your organizational structure amenable to the idea of having unified (product-

specific?) dev teams for the entire stack, or does a Dev/Ops boundary work

better?

Page 26: Moving From Infrastructure Automation To True DevOps

26 Copyright 2015. Confidential – Distribution prohibited without permission

Finding the approach that’s right for you

Important:

▪ You need to have either shared understanding or a crystal-clear, reliable,

automatable contract (“platform”) otherwise

▪ Both doesn’t hurt but neither is a problem!

▪ Don’t feel pressured to implement any particular toolstack or practice just

because some “leading Devops company” does so!

Page 27: Moving From Infrastructure Automation To True DevOps

27 Copyright 2015. Confidential – Distribution prohibited without permission

Finding the approach that’s right for you

Important:

▪ It’s OK to come up with different answers for different teams, departments,

business units etc.

Page 28: Moving From Infrastructure Automation To True DevOps

28 Copyright 2015. Confidential – Distribution prohibited without permission

Finding the approach that’s right for you

Page 29: Moving From Infrastructure Automation To True DevOps

29 Copyright 2015. Confidential – Distribution prohibited without permission

So much for “how”…but why?

Page 30: Moving From Infrastructure Automation To True DevOps

30 Copyright 2015. Confidential – Distribution prohibited without permission

So much for “how”…but why?

Let’s take a step back

▪ Yes, we all benefit from better runtime platforms, shared learning and

understanding etc.

▪ But: try to phrase that as a quantifiable benefit for your CIO!

▪ Shared focus across all teams: building stuff and getting it running

▪ Getting stuff running more efficiently and better = faster time to market + reduced

cost + higher quality = quantifiable benefit

Page 31: Moving From Infrastructure Automation To True DevOps

31 Copyright 2015. Confidential – Distribution prohibited without permission

So much for “how”…but why?

Common goals

▪ Being DevOps

▪ Faster time to market

− Usually mashed up into “Continuous Delivery is the goal of DevOps” or something like that

▪ Fewer failed end-user transactions

▪ Faster MTTR

▪ Reduced expenditure delivering applications

▪ Reduced expenditure running applications

▪ Etc. etc.

Page 32: Moving From Infrastructure Automation To True DevOps

32 Copyright 2015. Confidential – Distribution prohibited without permission

So much for “how”…but why?

Common goals

▪ “None” (don’t pick this one!)

▪ Faster time to market

− Usually mashed up into “Continuous Delivery is the goal of DevOps” or something like that

▪ Fewer failed end-user transactions

▪ Faster MTTR

▪ Reduced expenditure delivering applications

▪ Reduced expenditure running applications

▪ Etc. etc.

Page 33: Moving From Infrastructure Automation To True DevOps

33 Copyright 2015. Confidential – Distribution prohibited without permission

So much for “how”…but why?

Choose business-relevant goals. Example (GE Capital):

▪ “Blackboard to production time”

▪ “Failed customer interactions”

▪ “Reduced audit effort”

Page 34: Moving From Infrastructure Automation To True DevOps

34 Copyright 2015. Confidential – Distribution prohibited without permission

So much for “how”…but why?

Page 35: Moving From Infrastructure Automation To True DevOps

35 Copyright 2015. Confidential – Distribution prohibited without permission

Where do I go from here?

The XebiaLabs booth, naturally! Except that the booths are already done ;-)

Page 36: Moving From Infrastructure Automation To True DevOps

36 Copyright 2015. Confidential – Distribution prohibited without permission

Where do I go from here?

Action Plan

1. Identify major goals for the overall initiative and state them in a measurable way

2. Pick one or two “showcase” teams/projects/departments to which these goals

apply. These need to be visible/high-profile enough for improvements to make a

noticeable difference at the decision-maker level

3. Find out which approach (“DevOps” or “Devops”) is most appropriate to the

showcases

4. Run a timeboxed experiment to trial the tools (XebiaLabs tools, naturally! ;-))

and processes you want to implement for the showcases to build confidence,

gain experience and uncover challenges

Page 37: Moving From Infrastructure Automation To True DevOps

37 Copyright 2015. Confidential – Distribution prohibited without permission

Where do I go from here?

Action Plan

5. Take a baseline of whatever metrics you are going to use to measure progress

against your goals

6. Apply the chosen toolkit and process from the sandbox to the showcase project

7. Regularly measure progress against the baseline and making those results

highly visible – whether good or not so good. Secrecy does not build trust

Page 38: Moving From Infrastructure Automation To True DevOps

38 Copyright 2015. Confidential – Distribution prohibited without permission

More Info

▪ Get started today!

www.xebialabs.com

www.xebialabs.com/products

▪ Stay informed:

blog.xebialabs.com

@XebiaLabs

youtube.com/xebialabs

Page 39: Moving From Infrastructure Automation To True DevOps

Thank You!