DevOps with Pivotal

16
DevOps with Pivotal @cote March 2015 1 lides: http:// cote.io / devops -with-pivotal/

Transcript of DevOps with Pivotal

DevOps with Pivotal

@coteMarch 2015

1 Slides: http://cote.io/devops-with-pivotal/

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

[email protected]

Hello!

Conclusions

3

• We all want better designed, higher quality, resilient software, and we want it as frequently as possible

• DevOps is part of the process - the goal of DevOps is facilitating a continuous delivery process for your custom written software

• You get a platform either way, it’s just a matter of who has the responsibility to maintain the platform

• A cloud native platform automates as much as possible and enforces a process that removes variability leading to speed and resilience

• With Pivotal Cloud Foundry, “DevOps” occurs at the application layer (the most valuable layer), while platform operations (a very small team) keeps the platform up and running

Source: Institute for the Future study, April 2015, n=3,600; Cutter Consortium, July 2015.

Organizations are held back by an agility gapWhat is your IT organization's

role in business innovation?

4

Only 25% of respondents felt that their companies were innovating in agile ways.

Things are better, but not everyone has caught up

5 Source: "Operations is a competitive advantage... (Secret Sauce for Startups!)" Jesse Robbins, O'Reilly Radar, 2007.

Technical Goals that lead to DevOps1. Delivering software that runs on the Internet (mobile, web,

etc.)2. The pipeline is the factory, from concept, to code, to

production3. Faster turns, while maintaining quality, uptime, performance

– Lean approach to entire process– Shorten time to customer value– Keep the site up, resilience vs. failure

Consequence: requires Development & Operations to combine

Sources: see The Practice of Cloud System Administration, chapter 8 for an in-depth definition and discussion. Also, see Damon Edward's 2012 piece "Use DevOps to Turn IT into a Strategic Weapon.” Also, The Phoenix Project for a story of DevOps in the style of The Goal.6

DevOps, the word defines itself

7

(1.)DevOps is the practice of operations and development engineers participating together in the entire service lifecycle, from design through the development process to production support.

(2.)DevOps is also characterized by operations staff making use of many of the same techniques as developers for their systems work.

Source: “What Is DevOps?,” The Agile Admin, Dec 2011. For more: Effective DevOps, Jennifer Davis, Katherine Daniels, May, 2016.

Continuous Delivery – the pipeline

8

Build Test/Verify Package repository

VersionControl

InfrastructurePlatform

(IaaS, PaaS, VMs)

ProductionConcerns

(monitoring, scaling, etc.)

Feedback Loop

Specify Code

Development CI/CD Ops

cmt

A platform enables the CD process and removes variability, increasing speed and resilience

cmt V2.1cmt cmt cmt cmt V2.2 cmt

Prod

Test

Dev

Platform supports identical but separate runtime, services, etc. in cloud

Each build can be promoted to production, as needed.

Source: based on Cornelia Davis' presentation "Removing Barriers Between Dev and Ops."9

Magic in 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

? ?

10

The DevOps Organization with PivotalD

atab

ase

Web

S

erve

r

Mes

sagi

ng

Your Application Code

Virtualized Infrastructure/Ia

aS

Cloud Platform

Platform Operations

Application Developers

Application Operations

• Deploys platform• Makes standard runtimes and services

available• Monitors platform• Scales platform

(ensuring sufficient capacity)• Upgrades platform with zero-downtime

• Creates deployable artifact

• Config Prod environment• Deploys application to Prod• Monitors application• Scales application (capacity)• Deploys new app version with

zero downtime.

(Dev and Ops)

Source: based on Cornelia Davis' presentation "Removing Barriers Between Dev and Ops."11

PaaS

The platform for keeping promises

12

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.

Example approach, The Pivotal Way

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

Exploration Discovery

Pivotal Labs & Pivotal Cloud FoundryWorldwide, cross industry adoption

And many more...

14

Further reading

15

Free booklet at http://cote.io/pivotal

Leading the Transformation, 2015 Free at http://cote.io/pivotal

Thanks!@cote | [email protected]: http://cote.io/devops-with-pivotal/

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

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

16