Enabling small batches with cloud native

Post on 25-Jan-2017

754 views 0 download

transcript

Enabling small batches with cloud native@coteMarch 2016

Slides: http://cote.io/small-batches-with-cloud-native/

2

• @cote – Director, Technical Marketing at Pivotal for Pivotal Cloud Foundry

• Former industry analyst at 451 Research and RedMonk

• Corporate strategy & M&A at Dell

• Former software developer• Podcasts: cote.io/podcasts• More: http://cote.io or

cote@pivotal.io

Hello!

3

Transient Advantage

4

Thriving in an age of transient advantage

DevOps adoption with PCFAutomated build pipeline

Spring + PCF

Agile software transformation

Major IT transformation

700+ apps

Re-writing software the modern way

Sources: “Transient Advantage,” Rita McGrath, HBR, June 2013. "Bringing Pivotal Cloud Foundry to The Home Depot – A Tale of People, Process and Technology," Oct 14th, 2015.

An IT department apocalypse is coming

5

What is your IT

organization's role in business

innovation?

Source: ”Cutter Benchmark Review, May 2015, n=80 organizations.

IT can be used to keep the lights on, or invent new lights

Analog Digital

• Email• Calendaring• Invoicing

Tech in use

• Collaboration• Get paid

Biz Benefit

• ERP• CRM• “System of record”

Tech in use

• Automate existing biz• Measure, Command,

control

Biz Benefit

• Social• Mobile• “System of engagement”

Tech in use

• Customer service• New GTM channels• Marginal improvement of

existing processes• Keep up with new UIs

Biz Benefit

• CI/CD, DevOps• PaaS• Big Data, analytics

Tech in use

• Continual learning org• Find, create new business

processes & markets• Unique positioning with SW

Biz Benefit

Tech models, accelerates existing biz process Tech changes and creates new biz processes

Smells: Long cycles, “upgrades” Iterations, “delivery”

7

Small Batches

The “Lean Startup” Approach, Hypothesis Driven Development, aka, “The Scientific Method

8

• Deploy to production each time, avoid waterscrumfall

• Relies on:- Product approach- Small batch oriented

pipeline and process- Cloud native automation

Inception

Hypothesize

Validate w/real use(r)s

Did it work?

Sources: The Lean Startup, Eric Ries, 2011. The Lean Enterprise, Barry O'Reilly, Jez Humble, and Joanne Molesky. See also overview of this approach at the IRS from Dec 2015.

Continuous Delivery – the pipeline

9

Build Test/Verify Package repository

VersionControl

InfrastructurePlatform

(IaaS, PaaS, VMs)

ProductionConcerns

(monitoring, scaling, etc.)

Feedback Loop

Specify Code

Development CI/CD Ops

Details of the pipeline

CommitTests

IntegrationTests

Deployable Artifact

Deploy to CF Test Env

Deploy to Prod

• Developer crafted (before impl.)• Stubs/mocks external services• Developer executed (before commit)• CI executed (after commit)

(after commit)• Developer or QA crafted• CI executed• Runtime context (buildpack applied)• Binds to test services (DB, messaging, etc.)

• “cf push”• Runtime context (buildpack applied)• Binds to test services (DB, messaging, etc.)• Periodic smoke tests

• “cf push”• Runtime context (buildpack applied)• Binds to prod services (DB,

messaging, etc.)• Periodic smoke tests• Monitoring

? ?

Example approach, The Pivotal Way

11 Source: Pivotal Labs, March 2016. See also “Agile Transformation in the Age of the 3rd Platform,” Al Hilwa , IDC, Feb 2016 (unpublished)

Exploration Discovery

Go big with small batches

• Vitality drove engagement from 3% to 30%+

• Cue Apple Watch app: “Two people built the app and got it into the AppStore in five weeks.”

Source: Humana keynote, CF Summit 2015. "Application Modernization, Service By Microservice," Forrester, Dec 2015. See also BMC Software case study in The Concise Executive Guide to Agile and Cutter Executive Report, Vol. 9, No. 9, 2008.

"We did an analysis of hundreds of projects over a multi-year period. The ones that delivered in less than a quarter succeeded about 80% of the time, while the ones that lasted more than a year failed at about the same rate. We're simply not very good at large efforts.”

-Dev leader, large financial institution

12

13

You’ll Need a Platform

Continuous DeliveryRelease once every 6 months

More Bugs in production

Release early and oftenHigher Quality of Code

DevOpsNot my problem

Separate tools, varied incentives, opaque process

Shared responsibilityCommon incentives, tools, process and

culture

MicroservicesTightly coupled components

Slow deployment cycles waiting on integrated tests teams

Loosely coupled componentsAutomated deploy without waiting on

individual components

Pivotal Cloud Foundry, layers & capabilities

15

Application Framework

Runtime Platform

Infrastructure Automation

Infrastructure

Dev

Dev

Ops

BOSH

Spring BootSpring Cloud

Contract: 12 factor app

Contract: BOSH Release

Contract: Cloud Provider Interface

IT Ops

Culture Cloud Native Framework Tools

Go

Source: “Get Started on Pivotal's Cloud Foundry Stack,” Coté/The New Stack, Jan 2016.

16

Pivotal Labs & Pivotal Cloud FoundryWorldwide, cross industry adoption

And many more...

17

Thanks!@cote | cote@pivotal.ioSlides: http://cote.io/small-batches-with-cloud-native/

“We are uncovering better ways of developing software by doing it and

helping others do it.”- The Agile Manifesto, 2001