devops with pivotal

12
1 1 DevOps with Pivotal @cote, Sep 2015

Upload: michael-cote

Post on 10-Jan-2017

1.597 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: DevOps with Pivotal

11

DevOps with Pivotal@cote, Sep 2015

Page 2: DevOps with Pivotal

2

Conclusions 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

Page 3: DevOps with Pivotal

3

@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

More: http://cote.io or [email protected]

Hello!

Page 4: DevOps with Pivotal

4

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

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

Organizations are held back by an IT agility gap

What is your IT organization's role in business innovation?

Page 5: DevOps with Pivotal

5

Things are better, but not every one has caught up

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

Page 6: DevOps with Pivotal

6

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.

Page 7: DevOps with Pivotal

7

DevOps is required for Continuous Delivery

Build Test/Verify Package repository

VersionControl

InfrastructurePlatform

(IaaS, PaaS, VMs)

ProductionConcerns

(monitoring, scaling, etc.)

Feedback Loop

Specify Code

Development CI/CD Ops

Page 8: DevOps with Pivotal

8

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."

Page 9: DevOps with Pivotal

9

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

? ?

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

Page 10: DevOps with Pivotal

10

The DevOps Organization with PivotalD

atab

ase

Web

S

erve

r

Mes

sagi

ng

Your Application Code

PaaS

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."

Page 12: DevOps with Pivotal

1212

Thanks!@cote | [email protected]

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

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