38
How IBM Scaled DevOps: The IBM Marketplace and Continuous Improvement Ann Marie Fred Software Engineering Manager and DevOps Coach IBM Marketplace Engineering Place Your Picture here February 15, 2016

How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

Embed Size (px)

Citation preview

Page 1: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

How IBM Scaled DevOps: The IBM Marketplace and Continuous Improvement

Ann Marie Fred

Software Engineering Manager and DevOps CoachIBM Marketplace Engineering

Place

Your

Picture

here

February 15, 2016

Page 2: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

2

Objectives

By the end of this session, you should be able to:• Describe characteristics of one exemplary team• Identify some agile best practices that work well for IBM• Understand how we safely deploy changes to production many times

per day• Address challenges with scaling DevOps to a large organization• Jump-start a DevOps transformation and continuously improve your

own organization

Page 3: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

3

Agenda

• A bit of history: DevOps early adopters at IBM• IBM Marketplace Engineering culture and heritage• Delivering to production, frequently and safely• How to rebuild an organization• Getting through roadblocks

Page 4: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

4

Introduction

Why is DevOps important to IBM?• To compete with cloud-native companies, we need to streamline our

engineering and operations.• To foster highly skilled, engaged teams.• To further a culture of innovation and excellence.

Page 5: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

5

A bit of history: DevOps early adopters at IBM

Rational/Tivoli DevOps advanced technology team

2011 2012 2013 2014 2015

First DevOps consulting practices

IBM acquires UrbanCode

DevOps practices within legacy software teams

Service Engage

DevOps enablement training

IBM Design Thinking

Whitewater

IBM Marketplace adopts

squad model

Page 6: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

6

IBM Marketplace culture and heritageCharacteristics of IBM:• Hierarchical• Federated• Diverse

Page 7: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

7

IBM Marketplace culture and heritageWhere we are:• Cloud

•Digital– Marketplace

– Engineering

Page 8: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

8

IBM Marketplace

Page 9: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

9

My IBM

Page 10: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

10

My Products and Services

Page 11: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

11

Heritage• Many thanks to…

Page 12: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

12

Heritage• Squad model: inspired by Spotify

•More later…• Just culture: inspired by Etsy

•Blameless post-mortems• Microservices: inspired by Netflix

Page 13: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

13

Heritage• Lean and Kanban: inspired by Toyota

•Minimum Viable Product (MVP)•Limit work in progress•Pull model

Page 14: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

14

Heritage• Scrum: long history of success within IBM

•Helps coordinate work across squads•Weekly sprints•Rational Team Concert

• Design Thinking: IBM-wide initiative•Design Thinking: Build the right thing•DevOps: Build the thing right

Page 15: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

15

What is the scale?• IBM Digital (parent) is roughly 500 people, approximately 80 squads• IBM Marketplace Engineering is roughly 100 people, approximately

20 squads

• DevOps adoption & “Squad-ification” varies, even within Marketplace Engineering

Page 16: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

16

Making a huge company feel small

Our version of the squad model:• Small and focused• Co-located• Independent• Accountable• Autonomous• Self-managing

Page 17: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

17

Page 18: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

18

What makes us tick?

Squad Roles• Executive coach• Full-stack developers: develop, test, deploy, operate, support• Tech lead and other committers• Dedicated designers (visual, ux, industrial)• Squad lead / product manager / product owner• Project manager• HR manager / release manager / engineering discipline• Scrum master: rotates

Page 19: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

19

The right tools for the job

Experiment, within limits• Free tools and frameworks, no hosting cost• CIO’s office, Whitewater, DevOps Enablement teams• Purchased SaaS tools• Tools hosted by other ops teams• Purchased on-premise tools• Host-your-own

EASY

HARD

Page 20: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

20

Page 21: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

21

Delivering to production, frequently and safely

Page 22: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

22

Characteristics of Continuous Delivery• Tiny, frequent changes• Carefully tested and reviewed• Delivered to production, automatically• During normal business hours• Zero downtime

Page 23: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

23

Continuous Delivery reduces risk

• Quick fixes• Quick feedback• Gradual improvement

Page 24: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

24

Continuous Delivery without fearThese things work together:• Architecture• Development and Test practices• Deployments• Operations

Page 25: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

25

Continuous Delivery: Architecture• Resilient microservices

•Small, easy to maintain•Multiple instances, multiple locations•Fail-over•Graceful degradation

• Bluemix PaaS•We handle the application/service, they handle the infrastructure/operating system

Page 26: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

26

Continuous Delivery: Development and Test• Stringent code reviews• 100% unit test code coverage• Automated integration tests• Automated system tests in production• Automated security tests: Rational AppScan

Page 27: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

27

Continuous Delivery: Deployments• Automated deployments• Blue/green deployments

Page 28: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

28

Continuous Delivery: Operations• Streamlined release management

•Compliance•HA/DR plans•Operations and support plans•At launch, then update periodically

• Monitoring• Alerting• Logging• Feedback (see next slide)

Page 29: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

29

Continuous Delivery: Feedback• A/B Testing• Monitoring feedback

Page 30: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

30

How to build a DevOps organization

This is awesome, but…• Where did we start?• How did we scale up?

Page 31: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

31

Pioneer teams

Page 32: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

32

Pioneer teams

• Start from scratch• Strong leaders• Learn, try, adapt, reject, repeat• No cynicism or defeatism• Do the right thing, ask forgiveness later

Page 33: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

33

Viral effect• From one squad, one project, to many• Simplify access to best tools• Leaders and SMEs teach others• External community support• Formal training• Cross pollination• Adopt and adapt

Page 34: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

34

Learning from failures“Anyone who has never made a mistake has never tried anything new.” – Albert Einstein

Continuous improvement:• Blameless post-mortems• Squad health surveys• Engineering Summit• Retrospectives

Page 35: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

35

Getting through roadblocks

Case studies•Too much red tape•This is taking too long!• I want more plans!•We’re fine, thanks.•Two-speed IT

Page 36: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

36

Questions?

Page 37: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

37

Review of Objectives

Now you can:• Describe characteristics of one exemplary team• Identify some agile best practices that work well for IBM• Understand how we safely deploy changes to production many

times per day• Address challenges with scaling DevOps to a large organization• Jump-start a DevOps transformation and continuously improve

your own organization

Page 38: How IBM Scaled DevOps: DeveloperWeek 2016, Ann Marie Fred

38

Contact Info

[email protected]• @DukeAMO

Thank You!