SlideShare a Scribd company logo
Adapting Deployment Pipelines for
Complex Applications
Eric Minick,
IBM UrbanCode Technical Evangelist
eminick@us.ibm.com
@ericminick

© 2013 IBM Corporation
© 2013 IBM Corporation
Acknowledgements and Disclaimers:
Availability. References in this presentation to IBM products, programs, or services do not imply that they will be available in all
countries in which IBM operates.
The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are
provided for informational purposes only, and are neither intended to, nor shall have the effect of being, legal or other guidance or
advice to any participant. While efforts were made to verify the completeness and accuracy of the information contained in this
presentation, it 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, this presentation or any other materials. Nothing contained in this presentation 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.
All customer examples described are presented as illustrations of how those customers have used IBM products and the results they
may have achieved. Actual environmental costs and performance characteristics may vary by customer. Nothing contained in these
materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific
sales, revenue growth or other results.
© Copyright IBM Corporation 2013. All rights reserved.



U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.

IBM, the IBM logo, ibm.com,WebSphere, Rational, and IBM Mobile Enterrise are trademarks or registered trademarks of International
Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked
on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law
trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law
trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at
www.ibm.com/legal/copytrade.shtml
Other company, product, or service names may be trademarks or service marks of others.

© 2013 IBM Corporation
Presenting Today
Eric is a DevOps Evangelist where he
helps customers get the most out of
their build, deploy and release
processes.

Eric Minick
eminick@us.ibm.com
@EricMinick

Today he works with customers and
industry leaders to figure out this
DevOps thing.
Agenda
 Introduction to Continuous Delivery
 Continuous Delivery & Complex Apps
 Adapting apps to CD
 Adapting CD to complex apps
 Q&A
What is Continuous Delivery?
Why?
“Normal” CD

build

dev
test

system
test

UAT

sign-off

staging

prod
The Build Pipeline
 Perform a build
–and execute unit tests

 Promote build to a test environment & test
–Repeat N times

 Release

build

dev
test

system
test

UAT

sign-off

staging

prod
Continuous Delivery is a DevOps Strategy
 Successful implementation requires assistance from
developers, operations, and others
 Cooperation and coordination between developers and
operations must improve
Agenda
 Introduction to Continuous Delivery
 Continuous Delivery & Complex Apps
 Adapting apps to CD
 Adapting CD to complex apps
 Q&A
The Hard Part is Coordination

Image from wisc.edu
Complex apps have related builds
 Builds of one part of the app depend on another
 A change in one “pipeline” could impact another pipeline
 Tests cross-cut builds pipelines
Multiple tier apps
 Different tiers, different teams, different builds
JPetStore Application

 How do we align the changes?
Apache

SIT
WEB

Tomcat

MID
DB

JPetStore
Content

PROD
WEB

JPetStore
WAR
JPetStore
DB

MID
DB
Modern architectures make it worse

Image from ischool.tv
Prod deployments aren’t of one build*

*Except these
Build pipelines in coupled systems
build

build
build
build
build
build
build
build
build
build
build
build

dev
test
dev
test
dev
test
dev
test
dev
test
dev
test
dev
test
dev
test
dev
test
dev
test
dev
test
dev
test

system
test
system
test
system
test
system
test
system
test
system
test
system
test
system
test
system
test
system
test
system
test
system
test

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod

UAT

sign-off

staging

prod
Some pieces aren’t built

Databases

Content
Reports / ETL

dev
test

system
test

UAT

sign-off

staging

prod

build

dev
test

system
test

UAT

sign-off

staging

prod

build

Infrastructure

build

dev
test

system
test

UAT

sign-off

staging

prod

build

dev
test

system
test

UAT

sign-off

staging

prod

build

dev
test

system
test

UAT

sign-off

staging

prod

build

dev
test

system
test

UAT

sign-off

staging

prod
The Build Pipeline fails to:
X

Account for deployment time dependencies

X

Model things that aren’t built

X

Deal with incremental updates
Now what?

Work hard to salvage build pipelines

Or

Use a different model
Agenda
 Introduction to Continuous Delivery
 Continuous Delivery & Complex Apps
 Adapting apps to CD
 Adapting CD to complex apps
 Q&A
Adapting apps to CD: Principals
1. Everything is a “build”
2. Builds are promoted independent of other builds
So we need great architecture

photo credit: http://www.flickr.com/photos/ishmaelo/256431712/
Build of Build Pattern
Challenges: My “mega build” is big, and is always fully
deployed. My components don’t know if they went to Prod

Comp.

dev

Build

test

Comp.

dev

Build

test

Comp.

dev

Build

test

Mega
Build

system
test

UAT

sign-off

staging

prod
A Build of Builds

Comp.
Build

test

Comp.

dev

Build

.

dev

test

Comp.

dev

Build

test

Mega
Build

system
test

UAT

sign-off

staging

prod
Enforce Backwards Compatibility
 Build and immediately deploy to integration testing
 If integration tests fail, the build is rejected and the old build
of that component is redeployed to integration testing
Enforce Backwards Compatibility
 Build and immediately deploy to integration testing
 If integration tests fail, the build is rejected and the old build
of that component is redeployed to integration testing
 Challenges: Good integration tests, extra engineering to
support new and old versions, etc.
Database Expand / Contract

Goal: Backwards compatible, zero downtime
database deployments.
Never remove objects old / active users of the
database need. Only add new objects. Once all
clients are using the new objects, remove the
old.

See: http://exortech.com/blog/2009/02/01/weekly-release-blog-11-zerodowntime-database-deployment/
Database Expand / Contract
 Goal: Backwards compatible, zero downtime database
deployments.
 Never remove objects old / active users of the database
need. Only add new objects. Once all clients are using the
new objects, remove the old.
 Challenges: a significant and not always easy change to how
organizations develop DB updates.
See: http://exortech.com/blog/2009/02/01/weekly-release-blog-11-zerodowntime-database-deployment/
Agenda
 Introduction to Continuous Delivery
 Continuous Delivery & Complex Apps
 Adapting apps to CD
 Adapting CD to complex apps
 Q&A
Adapting CD to our Apps

 Account for deployment time dependencies
 Model things that aren’t built
 Deal with incremental updates
Use the “Build of Builds” model as a start

Comp.

dev

Build

test

Comp.

dev

Build

test

Comp.

dev

Build

test

Mega
Build

system
test

UAT

sign-off

staging

prod
Shift to “Release Sets” or “Snapshots”
 We don’t need a new build
– we need a name for a collection of builds.

 Delay the creation of these until integration tests pass, and
create based on the successful integration tests
build

dev
test

system
test

build

dev
test

system
test

build

dev
test

system
test

Snapshots at “Application”
or “System” level.
UAT

Signoff

Stagin
g

Prod
Don’t require “build”
 Extracts from existing systems, artifact repos, or source
control are OK to get deployable version.

Build

dev
test

system
test

Snapshots at “Application”
or “System” level.
Config
Extract

dev
test

system
test

Fetch from
SCM

dev
test

system
test

UAT

Signoff

Stagin
g

Prod
Support multiple incremental moves
 Incremental requires:
–Multiple versions of a component in snapshots
–Awareness when tracking what is where
–Order awareness when performing rollbacks.
Creating a Snapshot
Component Versions / Builds

Snapshot

Web

1

2

3

3

Mid. Code

1

2

3

2

Mid. Config

1

2

3

3

DB

1

2

3

1

2
Pipeline with Snapshots

Web
Mid.
Code

Fetch from
SCM

Build

dev
test

system
test

dev
test

system
test

Snapshot
3

UAT

2

Mid. Config

DB

Config
Extract

dev
test

system
test

Fetch from
SCM

dev
test

system
test

3

1

2

Stage

Signoff

Prod
In story form
 A change to a component, creates a new version (often by
doing a build).
In story form
 A change to a component, creates a new version (often by
doing a build).
 The new version is vetted, and then tested in an integration
environment.
In story form
 A change to a component, creates a new version (often by
doing a build).
 The new version is vetted, and then tested in an integration
environment.
 When the integrated system passes tests, a snapshot of all
the component versions in the system is created.
In story form
 A change to a component, creates a new version (often by
doing a build).
 The new version is vetted, and then tested in an integration
environment.
 When the integrated system passes tests, a snapshot of all
the component versions in the system is created.
 Snapshot deployments don’t redeploy unchanged
components
In story form
 A change to a component, creates a new version (often by
doing a build).
 The new version is vetted, and then tested in an integration
environment.
 When the integrated system passes tests, a snapshot of all
the component versions in the system is created.
 Snapshot deployments don’t redeploy unchanged
components

 The snapshot is promoted & released
In Summary
 Today, continuous delivery on complex systems is hard to
coordinate.
 Two options
1.

Strict development standards to force our systems into the build
promotion model

2.

A shift towards snapshot deployments that accommodate projects
“as they are”
References
http://urbancode.com/resources
http://ibm.com/devops/

 Enterprise CD Maturity Model
 Death to Manual Deployments!
 Build & Deployment Automation for the Lean Economy

 ITIL Release Management and Automation
Urbancode.com/blogs/
Twitter.com/UrbanCode
Facbebook.com/UrbanCodeSoft

Slideshare.net/Urbancode
Yes, we sell products for this
 IBM UrbanCode Deploy
–Application Deployment Automation

 IBM UrbanCode Release
–Coordination across many applications
Questions?

eminick@us.ibm.com
@EricMinick
www.ibm.com/software/rational
© 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.
© 2013 IBM Corporation
46

More Related Content

What's hot (20)

PDF
Adopting DevOps in a Hybrid Cloud Featuring UrbanCode Deploy with Bluemix
IBM UrbanCode Products
 
PDF
Continuous Delivery in the Enterprise - with IBM UrbanCode
IBM UrbanCode Products
 
PDF
Death to Manual Deployments
IBM UrbanCode Products
 
PDF
DevOps and the Case for ROI to Executives
IBM UrbanCode Products
 
PPTX
Delivering Applications Continuously to Cloud
IBM UrbanCode Products
 
PDF
Helping Organizations Realize the Value of DevOps with Continuous Software De...
IBM UrbanCode Products
 
PDF
Continuous Application Delivery to WebSphere - Featuring IBM UrbanCode
IBM UrbanCode Products
 
PPTX
UrbanCode Deploy course and product overview slides
IBM Rational software
 
PDF
IBM DevOps Enabling continuous integration & delivery
Roberto Pozzi
 
PDF
Adopting DevOps for 2-Speed IT
IBM UrbanCode Products
 
PDF
Introduction to IBM UrbanCode Deploy and Release
Rob Cuddy
 
PDF
Integrations, UI Enhancements and Cloud – See What’s New with IBM UrbanCode D...
IBM UrbanCode Products
 
PPTX
Urban code - DevOps - cost reduction
Chris Sparshott
 
PPTX
DevOps Drive-In: Automate Database Deployments in Your Continuous Delivery Pi...
Serena Software
 
PDF
Shift Happens - Rapidly Rolling Forward During Production Failure
IBM UrbanCode Products
 
PDF
Deployment Automation for Hybrid Cloud and Multi-Platform Environments
IBM UrbanCode Products
 
PPTX
DevOps, Databases and The Phoenix Project UGF4042 from OOW14
Kyle Hailey
 
PDF
The Future of DevOps and UrbanCode
IBM UrbanCode Products
 
PPTX
Mobile to Mainframe - the Challenges of Enterprise DevOps Adoption
Sanjeev Sharma
 
PPT
IBM Pulse 2013 session - DevOps for Mobile Apps
Sanjeev Sharma
 
Adopting DevOps in a Hybrid Cloud Featuring UrbanCode Deploy with Bluemix
IBM UrbanCode Products
 
Continuous Delivery in the Enterprise - with IBM UrbanCode
IBM UrbanCode Products
 
Death to Manual Deployments
IBM UrbanCode Products
 
DevOps and the Case for ROI to Executives
IBM UrbanCode Products
 
Delivering Applications Continuously to Cloud
IBM UrbanCode Products
 
Helping Organizations Realize the Value of DevOps with Continuous Software De...
IBM UrbanCode Products
 
Continuous Application Delivery to WebSphere - Featuring IBM UrbanCode
IBM UrbanCode Products
 
UrbanCode Deploy course and product overview slides
IBM Rational software
 
IBM DevOps Enabling continuous integration & delivery
Roberto Pozzi
 
Adopting DevOps for 2-Speed IT
IBM UrbanCode Products
 
Introduction to IBM UrbanCode Deploy and Release
Rob Cuddy
 
Integrations, UI Enhancements and Cloud – See What’s New with IBM UrbanCode D...
IBM UrbanCode Products
 
Urban code - DevOps - cost reduction
Chris Sparshott
 
DevOps Drive-In: Automate Database Deployments in Your Continuous Delivery Pi...
Serena Software
 
Shift Happens - Rapidly Rolling Forward During Production Failure
IBM UrbanCode Products
 
Deployment Automation for Hybrid Cloud and Multi-Platform Environments
IBM UrbanCode Products
 
DevOps, Databases and The Phoenix Project UGF4042 from OOW14
Kyle Hailey
 
The Future of DevOps and UrbanCode
IBM UrbanCode Products
 
Mobile to Mainframe - the Challenges of Enterprise DevOps Adoption
Sanjeev Sharma
 
IBM Pulse 2013 session - DevOps for Mobile Apps
Sanjeev Sharma
 

Viewers also liked (11)

PPTX
Pipeline as code - new feature in Jenkins 2
Michal Ziarnik
 
PPTX
Continuous integration at scale
Vivek Singh
 
PPTX
DevOps @ Scania - Perforce on Tour, Berlin 2015
Anders Lundsgård
 
PPTX
Fundamentals of Deploy and Release
IBM UrbanCode Products
 
PPTX
2012 01-jenkins-udeploy
IBM UrbanCode Products
 
PPTX
An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...
Anders Lundsgård
 
PDF
Deploying to and Configuring WebSphere Application Server with UrbanCode Deploy
IBM DevOps
 
PPTX
Delivery Pipeline as Code: using Jenkins 2.0 Pipeline
Slawa Giterman
 
PPT
CI and CD with Jenkins
Martin Málek
 
PDF
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Robert McDermott
 
PDF
(Declarative) Jenkins Pipelines
Steffen Gebert
 
Pipeline as code - new feature in Jenkins 2
Michal Ziarnik
 
Continuous integration at scale
Vivek Singh
 
DevOps @ Scania - Perforce on Tour, Berlin 2015
Anders Lundsgård
 
Fundamentals of Deploy and Release
IBM UrbanCode Products
 
2012 01-jenkins-udeploy
IBM UrbanCode Products
 
An agile journey - Scania Connected Services at Meetup Go Agile - Stockholm (...
Anders Lundsgård
 
Deploying to and Configuring WebSphere Application Server with UrbanCode Deploy
IBM DevOps
 
Delivery Pipeline as Code: using Jenkins 2.0 Pipeline
Slawa Giterman
 
CI and CD with Jenkins
Martin Málek
 
Anatomy of a Continuous Integration and Delivery (CICD) Pipeline
Robert McDermott
 
(Declarative) Jenkins Pipelines
Steffen Gebert
 
Ad

Similar to Adapting Deployment Pipelines for Complex Applications (20)

PDF
How to implement continuous delivery with enterprise java middleware?
Thoughtworks
 
PPTX
Continuous Delivery in the Enterprise
IBM UrbanCode Products
 
PPTX
ContinuousDelivery-101
Kishore Bhatia
 
PPTX
From Continuous Integration to DevOps
IBM UrbanCode Products
 
PDF
From ci to cd - LavaJug 2012
Henri Gomez
 
PDF
Continuous Delivery of a Cloud Deployment at a Large Telecommunications Provider
M Kevin McHugh
 
PDF
DBD 2414 - Iterative Web-Based Designer for Software Defined Environments (In...
Michael Elder
 
PDF
Beyond Build Pipelines - Continuous Delivery's Messy Reality
DevOps.com
 
PPTX
Continuous delivery applied (RJUG)
Mike McGarr
 
PPTX
Continuous Delivery in the Enterprise
IBM UrbanCode Products
 
PDF
Getting to Walk with DevOps
Eklove Mohan
 
PDF
How to implement continuous delivery with enterprise java middleware?
ThoughtWorks Studios
 
PDF
Implementing Continuous Delivery with Enterprise Middleware
XebiaLabs
 
PPTX
Continuous Delivery Overview
Luca Minudel
 
PPTX
From Continuous Integration to DevOps - Japan Innovate 2013
Sanjeev Sharma
 
PDF
Práticas, Técnicas e Ferramentas para Continuous Delivery com ALM
Marcelo Sousa Ancelmo
 
PPTX
Rising Above the Noise: Continuous Integration, Delivery and DevOps
IBM UrbanCode Products
 
PDF
Continuous Everything
Andrea Tino
 
PPTX
Continuous delivery applied (DC CI User Group)
Mike McGarr
 
PPT
How to Build a DevOps Toolchain
IBM UrbanCode Products
 
How to implement continuous delivery with enterprise java middleware?
Thoughtworks
 
Continuous Delivery in the Enterprise
IBM UrbanCode Products
 
ContinuousDelivery-101
Kishore Bhatia
 
From Continuous Integration to DevOps
IBM UrbanCode Products
 
From ci to cd - LavaJug 2012
Henri Gomez
 
Continuous Delivery of a Cloud Deployment at a Large Telecommunications Provider
M Kevin McHugh
 
DBD 2414 - Iterative Web-Based Designer for Software Defined Environments (In...
Michael Elder
 
Beyond Build Pipelines - Continuous Delivery's Messy Reality
DevOps.com
 
Continuous delivery applied (RJUG)
Mike McGarr
 
Continuous Delivery in the Enterprise
IBM UrbanCode Products
 
Getting to Walk with DevOps
Eklove Mohan
 
How to implement continuous delivery with enterprise java middleware?
ThoughtWorks Studios
 
Implementing Continuous Delivery with Enterprise Middleware
XebiaLabs
 
Continuous Delivery Overview
Luca Minudel
 
From Continuous Integration to DevOps - Japan Innovate 2013
Sanjeev Sharma
 
Práticas, Técnicas e Ferramentas para Continuous Delivery com ALM
Marcelo Sousa Ancelmo
 
Rising Above the Noise: Continuous Integration, Delivery and DevOps
IBM UrbanCode Products
 
Continuous Everything
Andrea Tino
 
Continuous delivery applied (DC CI User Group)
Mike McGarr
 
How to Build a DevOps Toolchain
IBM UrbanCode Products
 
Ad

More from IBM UrbanCode Products (14)

PDF
Using UrbanCode Deploy to Migrate to WebSphere Application Server Version 9
IBM UrbanCode Products
 
PPTX
What's New with IBM UrbanCode Deploy
IBM UrbanCode Products
 
PDF
Digital Disruption with DevOps - Reference Architecture Overview
IBM UrbanCode Products
 
PDF
Using Blueprints to Overcome Multi-speed IT Challenges
IBM UrbanCode Products
 
PDF
Efficient DevOps: Standardizing Chaotic Culture at NBCUniversal
IBM UrbanCode Products
 
PDF
Leading the Transformation: Applying DevOps and Agile Principles at Scale
IBM UrbanCode Products
 
PDF
Securing the Automation of Application Deployment with UrbanCode Deploy
IBM UrbanCode Products
 
PDF
A True Story of Why QA Loves DevOps
IBM UrbanCode Products
 
PDF
Building a DevOps Team that Isn't Evil
IBM UrbanCode Products
 
PDF
Continuous Delivery with Jenkins Enterprise and IBM UrbanCode Deploy
IBM UrbanCode Products
 
PDF
Release and Deploy Sessions at IBM InterConnect 2015
IBM UrbanCode Products
 
PDF
Using Lean Thinking to Identify and Address Delivery Pipeline Bottlenecks
IBM UrbanCode Products
 
PDF
Shift Left - Approach and practices with IBM
IBM UrbanCode Products
 
PDF
Leading DevOps Application Release and Deployment - Best Practices for Organi...
IBM UrbanCode Products
 
Using UrbanCode Deploy to Migrate to WebSphere Application Server Version 9
IBM UrbanCode Products
 
What's New with IBM UrbanCode Deploy
IBM UrbanCode Products
 
Digital Disruption with DevOps - Reference Architecture Overview
IBM UrbanCode Products
 
Using Blueprints to Overcome Multi-speed IT Challenges
IBM UrbanCode Products
 
Efficient DevOps: Standardizing Chaotic Culture at NBCUniversal
IBM UrbanCode Products
 
Leading the Transformation: Applying DevOps and Agile Principles at Scale
IBM UrbanCode Products
 
Securing the Automation of Application Deployment with UrbanCode Deploy
IBM UrbanCode Products
 
A True Story of Why QA Loves DevOps
IBM UrbanCode Products
 
Building a DevOps Team that Isn't Evil
IBM UrbanCode Products
 
Continuous Delivery with Jenkins Enterprise and IBM UrbanCode Deploy
IBM UrbanCode Products
 
Release and Deploy Sessions at IBM InterConnect 2015
IBM UrbanCode Products
 
Using Lean Thinking to Identify and Address Delivery Pipeline Bottlenecks
IBM UrbanCode Products
 
Shift Left - Approach and practices with IBM
IBM UrbanCode Products
 
Leading DevOps Application Release and Deployment - Best Practices for Organi...
IBM UrbanCode Products
 

Recently uploaded (20)

PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
July Patch Tuesday
Ivanti
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
July Patch Tuesday
Ivanti
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 

Adapting Deployment Pipelines for Complex Applications

  • 1. Adapting Deployment Pipelines for Complex Applications Eric Minick, IBM UrbanCode Technical Evangelist [email protected] @ericminick © 2013 IBM Corporation © 2013 IBM Corporation
  • 2. Acknowledgements and Disclaimers: Availability. References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are provided for informational purposes only, and are neither intended to, nor shall have the effect of being, legal or other guidance or advice to any participant. While efforts were made to verify the completeness and accuracy of the information contained in this presentation, it 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, this presentation or any other materials. Nothing contained in this presentation 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. All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results. © Copyright IBM Corporation 2013. All rights reserved.  U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. IBM, the IBM logo, ibm.com,WebSphere, Rational, and IBM Mobile Enterrise are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml Other company, product, or service names may be trademarks or service marks of others. © 2013 IBM Corporation
  • 3. Presenting Today Eric is a DevOps Evangelist where he helps customers get the most out of their build, deploy and release processes. Eric Minick [email protected] @EricMinick Today he works with customers and industry leaders to figure out this DevOps thing.
  • 4. Agenda  Introduction to Continuous Delivery  Continuous Delivery & Complex Apps  Adapting apps to CD  Adapting CD to complex apps  Q&A
  • 5. What is Continuous Delivery?
  • 8. The Build Pipeline  Perform a build –and execute unit tests  Promote build to a test environment & test –Repeat N times  Release build dev test system test UAT sign-off staging prod
  • 9. Continuous Delivery is a DevOps Strategy  Successful implementation requires assistance from developers, operations, and others  Cooperation and coordination between developers and operations must improve
  • 10. Agenda  Introduction to Continuous Delivery  Continuous Delivery & Complex Apps  Adapting apps to CD  Adapting CD to complex apps  Q&A
  • 11. The Hard Part is Coordination Image from wisc.edu
  • 12. Complex apps have related builds  Builds of one part of the app depend on another  A change in one “pipeline” could impact another pipeline  Tests cross-cut builds pipelines
  • 13. Multiple tier apps  Different tiers, different teams, different builds JPetStore Application  How do we align the changes? Apache SIT WEB Tomcat MID DB JPetStore Content PROD WEB JPetStore WAR JPetStore DB MID DB
  • 14. Modern architectures make it worse Image from ischool.tv
  • 15. Prod deployments aren’t of one build* *Except these
  • 16. Build pipelines in coupled systems build build build build build build build build build build build build dev test dev test dev test dev test dev test dev test dev test dev test dev test dev test dev test dev test system test system test system test system test system test system test system test system test system test system test system test system test UAT sign-off staging prod UAT sign-off staging prod UAT sign-off staging prod UAT sign-off staging prod UAT sign-off staging prod UAT sign-off staging prod UAT sign-off staging prod UAT sign-off staging prod UAT sign-off staging prod UAT sign-off staging prod UAT sign-off staging prod UAT sign-off staging prod
  • 17. Some pieces aren’t built Databases Content Reports / ETL dev test system test UAT sign-off staging prod build dev test system test UAT sign-off staging prod build Infrastructure build dev test system test UAT sign-off staging prod build dev test system test UAT sign-off staging prod build dev test system test UAT sign-off staging prod build dev test system test UAT sign-off staging prod
  • 18. The Build Pipeline fails to: X Account for deployment time dependencies X Model things that aren’t built X Deal with incremental updates
  • 19. Now what? Work hard to salvage build pipelines Or Use a different model
  • 20. Agenda  Introduction to Continuous Delivery  Continuous Delivery & Complex Apps  Adapting apps to CD  Adapting CD to complex apps  Q&A
  • 21. Adapting apps to CD: Principals 1. Everything is a “build” 2. Builds are promoted independent of other builds
  • 22. So we need great architecture photo credit: http://www.flickr.com/photos/ishmaelo/256431712/
  • 23. Build of Build Pattern Challenges: My “mega build” is big, and is always fully deployed. My components don’t know if they went to Prod Comp. dev Build test Comp. dev Build test Comp. dev Build test Mega Build system test UAT sign-off staging prod
  • 24. A Build of Builds Comp. Build test Comp. dev Build . dev test Comp. dev Build test Mega Build system test UAT sign-off staging prod
  • 25. Enforce Backwards Compatibility  Build and immediately deploy to integration testing  If integration tests fail, the build is rejected and the old build of that component is redeployed to integration testing
  • 26. Enforce Backwards Compatibility  Build and immediately deploy to integration testing  If integration tests fail, the build is rejected and the old build of that component is redeployed to integration testing  Challenges: Good integration tests, extra engineering to support new and old versions, etc.
  • 27. Database Expand / Contract Goal: Backwards compatible, zero downtime database deployments. Never remove objects old / active users of the database need. Only add new objects. Once all clients are using the new objects, remove the old. See: http://exortech.com/blog/2009/02/01/weekly-release-blog-11-zerodowntime-database-deployment/
  • 28. Database Expand / Contract  Goal: Backwards compatible, zero downtime database deployments.  Never remove objects old / active users of the database need. Only add new objects. Once all clients are using the new objects, remove the old.  Challenges: a significant and not always easy change to how organizations develop DB updates. See: http://exortech.com/blog/2009/02/01/weekly-release-blog-11-zerodowntime-database-deployment/
  • 29. Agenda  Introduction to Continuous Delivery  Continuous Delivery & Complex Apps  Adapting apps to CD  Adapting CD to complex apps  Q&A
  • 30. Adapting CD to our Apps  Account for deployment time dependencies  Model things that aren’t built  Deal with incremental updates
  • 31. Use the “Build of Builds” model as a start Comp. dev Build test Comp. dev Build test Comp. dev Build test Mega Build system test UAT sign-off staging prod
  • 32. Shift to “Release Sets” or “Snapshots”  We don’t need a new build – we need a name for a collection of builds.  Delay the creation of these until integration tests pass, and create based on the successful integration tests build dev test system test build dev test system test build dev test system test Snapshots at “Application” or “System” level. UAT Signoff Stagin g Prod
  • 33. Don’t require “build”  Extracts from existing systems, artifact repos, or source control are OK to get deployable version. Build dev test system test Snapshots at “Application” or “System” level. Config Extract dev test system test Fetch from SCM dev test system test UAT Signoff Stagin g Prod
  • 34. Support multiple incremental moves  Incremental requires: –Multiple versions of a component in snapshots –Awareness when tracking what is where –Order awareness when performing rollbacks. Creating a Snapshot Component Versions / Builds Snapshot Web 1 2 3 3 Mid. Code 1 2 3 2 Mid. Config 1 2 3 3 DB 1 2 3 1 2
  • 35. Pipeline with Snapshots Web Mid. Code Fetch from SCM Build dev test system test dev test system test Snapshot 3 UAT 2 Mid. Config DB Config Extract dev test system test Fetch from SCM dev test system test 3 1 2 Stage Signoff Prod
  • 36. In story form  A change to a component, creates a new version (often by doing a build).
  • 37. In story form  A change to a component, creates a new version (often by doing a build).  The new version is vetted, and then tested in an integration environment.
  • 38. In story form  A change to a component, creates a new version (often by doing a build).  The new version is vetted, and then tested in an integration environment.  When the integrated system passes tests, a snapshot of all the component versions in the system is created.
  • 39. In story form  A change to a component, creates a new version (often by doing a build).  The new version is vetted, and then tested in an integration environment.  When the integrated system passes tests, a snapshot of all the component versions in the system is created.  Snapshot deployments don’t redeploy unchanged components
  • 40. In story form  A change to a component, creates a new version (often by doing a build).  The new version is vetted, and then tested in an integration environment.  When the integrated system passes tests, a snapshot of all the component versions in the system is created.  Snapshot deployments don’t redeploy unchanged components  The snapshot is promoted & released
  • 41. In Summary  Today, continuous delivery on complex systems is hard to coordinate.  Two options 1. Strict development standards to force our systems into the build promotion model 2. A shift towards snapshot deployments that accommodate projects “as they are”
  • 42. References http://urbancode.com/resources http://ibm.com/devops/  Enterprise CD Maturity Model  Death to Manual Deployments!  Build & Deployment Automation for the Lean Economy  ITIL Release Management and Automation Urbancode.com/blogs/ Twitter.com/UrbanCode Facbebook.com/UrbanCodeSoft Slideshare.net/Urbancode
  • 43. Yes, we sell products for this  IBM UrbanCode Deploy –Application Deployment Automation  IBM UrbanCode Release –Coordination across many applications
  • 45. www.ibm.com/software/rational © 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. © 2013 IBM Corporation
  • 46. 46

Editor's Notes

  • #7: Small batch sizes:Reduce riskLower the “waste” of unreleased featuresNatural extension of the “test your builds” mentality of CIAddress the deployment bottleneck in Operations.