devops & continuous delivery accelerating the delivery of value to the business david myers...

27
DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Upload: eliezer-sport

Post on 29-Mar-2015

216 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

DevOps & Continuous

DeliveryAccelerating the delivery of value to the business

David Myers

February, 2013

Page 2: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

2

Transaction Systems

1960- 1990- 2010-

Web, e-business and SOA

New Era Analytics, Mobile and

Social

Pla

tfo

rms

Dedicated Systems

Single Database

Managed one Solution

Multiple Applications

Some shared data

Post Processing in Warehouses

Batch Processing

Time to Business Action

Interconnected Solutions

Action at real time speeds

Processing occurs NOW !!!

Business impact visualized

Action taken immediately

Strategic and Tactical differentiator

Time

accelerates its reporting process from 20 days to several hours and cuts reporting costs by 50 percent

Customer Insight through Social Anaytics increased Site revenue from product recommendations by 70%

Mobility, big data, analytics, social collaboration and cloud

are creating a new wave of business opportunities and IT

challenges

Page 3: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

3

Social, Local, MobileSmart Infrastructure Analytics

ERPLegacyDB

CRM HR

Manage workloadsand maintain security

Rapid innovationin the cloud

User experience andmobile management

New era systems integrate existing operational

systems with rapid delivery of new client-facing

apps

Page 4: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

4

Continuously deliver software-driven innovationand business value

The need for continuous delivery

Significant pressure on business to:

Innovate to create new business value by employing cloud, mobile and social channels and leveraging big data- Systems of Engagement

Integrate with transactional systems- Systems of Record

Balance speed with risk, compliance and quality

Page 5: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Different application components

evolving at different speeds

Use the Pace-Layered Application Strategy toGuide Your DevOps Strategy – Gartner, Oct 2012

Page 6: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

6

User Experience Today Emerging

Primary Workload Type Systems of Record (Transactional)

Systems of Engagement (+ Record)Big Data, Analytics, Mobile/Social Channels

Delivery Model Planned Incremental (DevOps)

Development and Operations Team Sizes

100s and Costly 10s with built-in DevOps automation

Release Frequency Months to Years Days to Weeks, based on business opportunity

Integration Frequency Weeks Continuous

Infrastructure Deployment Days Minutes

Time to Value Planned Opportunistic

Operational Model Systems Management Built into application, Recovery Oriented Computing, Continuous Availability

Service Sourcing Develop Consume and Assemble(Public and Private)

Impact of evolving customer and market

expectations

Page 7: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

7

Today IT leaders must balance the optimization of existing systems and innovation through new engagement models

Optimization

• Focus on consolidation, virtualization, cost cutting

• Align IT with needs of the CFO

Innovation

• Focus on mobile, intelligent infrastructure,

rapid development

• Align IT with needs of the CMO

Page 8: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

So what is DevOps?

Dev + Ops(Thank you…tip your waitress)

A way of re-integrating IT to deliver business value faster and better

Page 9: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Siloed delivery challenges

Addressed by...Addressed by...

Agile Dev

Customers

Desire for fast and continuous innovation

Line of Business

Requirements

Dev & Test Teams

Code & Tests

Operations Team

Business Services

1st Gap

2nd Gap

DevOps

Page 10: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Agile is not enough…

Agile Dev

Agile builds are piling up

Functional Testing

Acceptance Testing

Production Operator

Setup (weeks)

Install

Test and Ops teams have increased pressures to keep up with increased loads but continue to use waterfall approaches and traditional tools.

Page 11: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

DevOps is…A set of principles and values that facilitate collaboration across disciplines to…

1. Enable rapid evolution of deployed business services

2. Reduce risk, decrease cost, and improve quality

People

Process

Tools

Page 12: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

DevOps Principles and Values

• Collaborate across disciplines

• Develop and test against a

production-like system

• Iterative and frequent

deployments using repeatable and

reliable processes

• Continuously monitor and validate

operational quality characteristics

• Amplify feedback loops

People

Process

Tools

Page 13: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

How do we make this happen?

Automate everything

Version everything

Test everything

Track and Plan everything

Instrument and Audit

everything

Dashboard everything

Application Artifacts

ApplicationCode

InstrumentationandConfiguration

Runtime EnvironmentDefinition

Version

Automate

Test

Track and Plan

Instrument and Audit

Dashboard

13

Page 14: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Today’s landscapeSelective and siloed solutions limit visibility across people, process and tools and create gaps in the delivery process

Big Bang

Release

GAP

SoftwareDevelopment

Manualhandoffs

GAP

OperationsTestLine ofBusiness

Pooralignment

GAP

• Agile developer tools

• Build automation

• Continuous integration

• Test infrastructure automation

• Test Management

• Test Automation

• Cloud, virtualization

• Infrastructure provisioning automation

• App and middleware deployment automation

• Portfolio management

• Business process management

• Big Data/Analytics

14

Page 15: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

experience delays in integration,

configuration and testing of applications

41%experience delays

due to troubleshooting and fine-tuning issues

in production

45%applications rolledback due to qualityissues escaping into production

51%

to deliver a simple change

Up to

4-6 Weeks

average time to isolate a defect

3-4 Weeks

Challenges meeting market & business pressures with quality software

SoftwareDevelopment

Test OperationsLineof Business

GAP GAP GAP

15

Page 16: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Time is now for DevOps

Production Cloud

Development and Test Cloud

Cloud Computing

DevOpsAgile Development

OperationalDiscipline

BusinessAgility

Trends accelerating the need for Continuous Delivery

Page 17: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

17

So what is Cloud Computing?

A user experience and a business modelCloud computing is an emerging style of IT delivery in which applications, data, and IT resources are rapidly provisioned and provided as standardized offerings to users over the web in a flexible pricing model

An infrastructure management and services delivery methodologyCloud computing is a way of managing large numbers of highly virtualized resources such that, from a management perspective, they resemble a single large resource. This can then be used to deliver services with elastic scaling

Monitor & ManageServices & Resources

CloudAdministrator

DatacenterInfrastructure

Service Catalog,ComponentLibrary

Service Consumers

Component Vendors/Software Publishers

Publish & UpdateComponents,Service Templates

IT Cloud

AccessServices

Page 18: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Installation Instructions

RedHat Linux

Apache Web Server

Python

1. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

2. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

1. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.

2. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur,

3. adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.

1. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?

2. Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur,

3. vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?

Traditional Dev - Ops Hand-off

Page 19: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Infrastructureas Code

Source Control Management

Source Artifacts

.jsp

.java

.html

chef recipes

.sh

Provisioning using Cloud

Page 20: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Delivery Pipeline Fundamentals

Deploy

EnvironmentRunning System

Source Control Management

Source Artifacts

.jsp

.java

.html

chef recipes

.sh

Deployable Artifacts

Build, Package,& Unit TestApplication Binaries & Platform Configuration

Library

Page 21: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Pattern of incremental adoption

Maturity

Continuous

Integration

Build Automatio

n

Build Automatio

n

Multi-Phase

Automated Testing

Continuous Deploy

and Release

Page 22: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Continuous Delivery Pipeline:An iterative set of quality checks and verifications that each piece of application code must pass during lifecycle phases before being released to production.

Customers

Build ProductionIntegrationTest

Business Owners

Application Release Management & Automation

IaaS PaaS

DevOps Vision for Continuous DeliverySystems of Record Systems of

Engagement

Page 23: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Results using DevOpsSearch Algorithm Release Process at Google

Release Automation at Etsy

Release Process at Wealthfront

Release Automation at flipkart

Page 24: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Examples from Etsy2009 2012

6-14 hours 15 mins

“The deployment army” 1 person

Highly orchestrated and infrequent

Rapid release cycle

Special event – highly disruptive Commonplace – happens so often we cannot keep up

Blocked for 6-14 hours, plus minimum of 6 hours for redeploy

Blocked for 15 minutes, next deploy will only take 15 mins.

Release branch,database schemas,data transforms,packaging,rolling restarts,cache purging,scheduled downtime

Mainline,minimal linkingand building,rsync,site up

SlowComplexSpecial

FastSimpleCommon

http://www.slideshare.net/mikebrittain/continuous-delivery-the-dirty-details

Page 25: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

30+ deploys a day…• How do you build features so quickly?

o Software Deploy ≠ Product Launcho Deploys frequently gated by config flags (canary releases)o Validate in production, hidden from public.

• What’s in a deploy?o Small incremental changes to the applicationo New classes, methods, controllerso Graphics, stylesheets, templateso Copy/content changeso Turning flags on/off, or ramping up

• Quickly responding to issueso Security, bugs, traffic, load shedding,o adding/removing infrastructure.o Tweaking config flags or releasing patches.

• No Release Manager

Page 26: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

Where to get more information?

• Enterprise DevOps blogo http://ibm.co/JrPVGR

• 6 Ways for Enterprises to Adopt DevOps blogo http://ibm.co/xq71xY

• Pulse 2012 DevOps Interviewo http://ibm.co/OBqS2z

Page 27: DevOps & Continuous Delivery Accelerating the delivery of value to the business David Myers February, 2013

27

© Copyright IBM Corporation 2012. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.

www.ibm.com/software/rational