devops day 10 traps to avoid

16
10 traps to avoid during a devops transition @AlainDELAFOSSE Eric MATTERN

Post on 22-Oct-2014

917 views

Category:

Technology


0 download

DESCRIPTION

DevOps Traps to avoid when you are working on a DevOps Transition

TRANSCRIPT

Page 1: DevOps day 10 traps to avoid

10 traps to avoid during a devops transition

@AlainDELAFOSSEEric MATTERN

Page 2: DevOps day 10 traps to avoid

2

DevOps begins

DevOps OperationsAgileMethodologies

Business Developers

DevOps started on interaction between developers and operations

Release

Analysis

Dev &

Bugfixing

Tests

Deployment

Changes

Monitoring

Incident detectionAnalysis

ProblemManagement

Page 3: DevOps day 10 traps to avoid

3

Trap 1- Think it’s only tooling

Processes

Culture

Tooling

Page 4: DevOps day 10 traps to avoid

4

Trap 2- Start with the wrong tooling strategy(1/2)

•Manage and deploy OS & Software images

•Less flexibility

•Infrastructure and Deployment Coverage

•Automate deployment using a market solution

•Stick on requirements

•Numerous bricks available

•Requires Integration work

-A-

Build own

solution

-B-

Deployment

Tool

-C-

Appliance

Images

-D-

Adopt PAAS

Approach

DependencyManagement:

Middleware and OS

Page 5: DevOps day 10 traps to avoid

5

Trap 2- Start with the wrong tooling strategy(2/2)

Clone Configure Develop Package Configure Deploy

Infrastructure / OS Software

-A- Build own solution

-B- Deployment tool

-C- Appliance images

-D- PAAS

Page 6: DevOps day 10 traps to avoid

6

Trap 3- Think only server deployment (1/2)

OS & SoftwareConfiguration items

Software components

and middleware dependencies

OS & SoftwareConfiguration items

Software components

and middleware dependencies

Infrastructure configuration and provisioning

Deployment orchestration

OS & SoftwareConfiguration items

Configuration ManagementConfiguration Management

Software Deployment

Software Deployment

Platform Deployment

Platform Deployment

Page 7: DevOps day 10 traps to avoid

7

Trap 3- Think only server deployment (2/2)

CFEngine

Puppet

Chef

FabricAnsible

Capistrano

Control Tier

Salt

RunDeck

FuncmCollective

Page 8: DevOps day 10 traps to avoid

8

Trap 4– Trying to automate data & database

� Database schemes and data are tricky to automate

● Upgrades and rollbacks

� Not an infrastructure size challenge

� Configuration challenge: failover, replication, logs, crons, backups.

� Automation make sense but update process is challenging: clean install every time with migration scripts

� Think about new database schemes ? new databases where structure is easier to update ?

Try to uncouple database changes from code changes

Page 9: DevOps day 10 traps to avoid

9

Trap 4– Trying to automate data & database

Databases and Data are tricky to

automate

Upgrades/depmixing data and

DDL

Rarely an infrastructure size

challenge

Config challenge: failover,

replication, logs, crons, backups.

Try to uncouple database changes from code changes

New database schemes ? NoSQL databases where data structure updates are easier

Mixing data and DDL and DML, scripts updates, duration

Page 10: DevOps day 10 traps to avoid

10

Trap 5- Rebranding teams/persons as DevOps

Re-name teams

Setting DevOps as title or function

Create a new team

Forget the name

Empower your teams to foster the transition!

Don’t Do

Page 11: DevOps day 10 traps to avoid

11

Trap 6- Underevaluate the cultural shift

CollaborationLong and difficult

journey

Devops cultural aspects

• Sense of continuousimprovement

• Collaboration level

• Transparency

Re-use AGILE transitions practices

Page 12: DevOps day 10 traps to avoid

12

Trap 7- If you don’t measure it, you can’t value it

Define goals Find metrics Expose KPI’s

• Deployment metrics examples :

• Deployment rate and delay

• Releases quality: number of rollbacks

• Rollback delay

• Effort and delay for configuration update

• Dev/ops releases ratio against number of servers/components/releases

• …

Contextualizemetrics to

your goal and context

Evaluate progression & share the success

Page 13: DevOps day 10 traps to avoid

13

Trap 8- Forget continuous improvement loops

Capture Feedbacks

• Regular internaluser meetings

• Pair deploying

Formalize and categorize

Process evolution/Tools bugfixes or improvements

Backlog

• Milestones and prioritization

Improve

• Implement and deploy

� Devops is a endless journey

� Setup a continuous improvement loop : tools and processes

Don’t specialize resources on maintenance, think transversal and collaborative: virtual team.

Page 14: DevOps day 10 traps to avoid

14

Trap 9- Focus only on deployment process

MonitoringSucks

•Common dashboards usingOPS,DEV and BIZ metrics

•Stop servercentric

•Logs management

•Monitoring==test (cucumber)

Performance management

•Continuous integration with automatic stress tests and performance analysis plugins

•Scalability and Capacity management

•AutomaticScaling

Incident/Problemmanagement

• Bring dev into ops room when incidents are popping.

• Capture production logs and expose to dev.

BCP/DRP design

•Collaborative design of the business continuity and disaster recovery plans

•Cloud BCP hot deployment

Security management

•Continuous integration with flaw detections plugins

• There are other processes /areas where collaboration between dev

and ops make sense.

Page 15: DevOps day 10 traps to avoid

15

Trap 10– Conflict with

�Some production environments do require strong service management

�Devops doesn’t enforce a specific organization or processes

�Devops will seed the ITIL processes by bringing new tools and new practices

ITIL Process New tool New practices

Change management Configuration updates automation through Chef,Puppet

Automatic change logging and audit

Release and Deployment management

Software deployment tools Continuous deploymentBlue/Green deployment

Capacity management Platform deployment tool (Coupling IAAS+ Software deployment)

Live scaling

Service Continuity management

Platform deployment tool (Coupling IAAS+ Software deployment)

Cold BCP deployment through platform deployment automation

Page 16: DevOps day 10 traps to avoid

Thank You…

….Questions ?

Contact : Eric MATTERN [email protected]