Yashasree barve power of dev ops - ai 2012 - 1.0-share

44
The power of DevOps Transforming a big Enterprise group into a super agile one Yashasree Barve Tata Consultancy Services

description

My presentation at Agile India 2012 about how we deployed DevOps in our Agile Enterprise.

Transcript of Yashasree barve power of dev ops - ai 2012 - 1.0-share

Page 1: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

The power of DevOpsTransforming a big Enterprise group into a super agile one

Yashasree BarveTata Consultancy Services

Page 2: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

About Me

Technologist @ TCS since last 14 years

An Agile Developer & Architect since 2007

&

I'm lovin' it

Page 3: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Not so long ago

There lived an Enterprise

Page 4: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

An Enterprise with

Well Established Development Group

Page 5: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Page 6: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

An Enterprise with

A well established Operations Group

with Well set processes

Page 7: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Page 8: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

An Enterprise with

Well defined Environments

Page 9: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Page 10: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Page 11: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Brought us many advantages

• Happy Sponsors

• Great Return on Investment

• Reduced Time to Market

Page 12: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Page 13: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

agile = to be able to move quickly

Page 14: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Being agile for Dev Team

Test Match

ReleaseOnce in 3 months

One Day T 20

ReleaseOnce per month

ReleaseMany times a week

Page 15: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Being agile for Ops team

SomeTickets

MoreTickets

Many ManyMore Tickets

Page 16: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Being agile

Really brought in its own

Challenges

Page 17: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

We faced challenges such as

High time

to take

changes

to

production

Overhead

of processes

to move code

across

environments

Discomfort

With frequent

releases &

~zero

documentation

Longer time

to debug

issues

in production

Low

confidence

in

deployments

Page 18: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

It all often ended in

Page 19: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Main Reasons for This Divide

Not to forget

Different Hierarchies & Departments

Page 20: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

For us DevOps started as

Page 21: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

&

Building Relationship

Page 22: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

What is DevOps?

Well I think

It is

What we can make out of it

Page 23: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

What DevOps meant to us

Page 24: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Piloting DevOps

The most widely used Application

in the Enterprise

Page 25: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Structure of our team

Page 26: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Thinking out aloud

How we aligned ourselves to DevOps

ProcessTechnology

People

Page 27: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

The People Challenges

“WE” don’t know how “THEY” function

Page 28: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Face Time – It Matters

• Sitting Together

• Video Conference

• Tele Conference

• WebEx

Page 29: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Collaborate

• Deploy / Debug production issues together

• Testing Party Together

• Proactively Inform issues to one another

Page 30: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Dare to Share

• Agile

• Functionality

• Deployment

• Monitoring Tools

• Most troublesome modules

Dev Team Ops Team

Page 31: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Optimal Documentation

• Ops team now accesses the story board

• Dev Team updates a Wiki page to detail deployment requests for production– Date of deployment– Tag number– Functional changes that go in the release

Page 32: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Process Challenges

• Heavy processes to move code to production

• Debugging production issues

• Ops team did not appreciate Agile

Page 33: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Getting Engaged

Page 34: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Opening doors to Ops

Page 35: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Opened doors for Dev also

Read only access to app directory

Access to Error Logs

Access to Execute Tasks

Page 36: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Engineering Practices

Automated deployment scripts

Continuous Integration

AUTOMATION

Page 37: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Less Tickets Movement

• No more tickets for Deployments till QA

• Just drop an email with a CC to a group

• Ticket auto-generated for tracking purpose

Page 38: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Led us to Ticketless travel

Page 39: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Ticket Busters

• Identify the most troublesome tickets through Support teams

• Bust those through Do It Yourself screens

Page 40: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Technology Enablers

• Virtualization: Spin off servers on the fly

• Hoptoad – The Error App– Debug prod issues faster– Analyze a trend of issues proactively

Page 41: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

How it helped

• Frictionless Teams and Deployments

• Light processes

• Ops team felt belonged to a product

• Ops team now prepared to cater to frequent releases

• More confidence about the product

• Open and Approachable Environment

Page 42: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Challenges we faced

• Resistance to change and being open

• Security concerns

• Working shifts

• Extra work!

Page 43: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Road Ahead

• Ticketless travel to production

• Expanding to other technologies

• Continue Collaboration

• Extend to other Agile teams as well as Ops teams

So Wish us Luck!

Page 44: Yashasree barve   power of dev ops - ai 2012 - 1.0-share

Agile India 2012 Presentation by Yashasree Barve

Happy to take Questions

Hope This Session Helps!

Thank you

?