Devops: Enabled Through a Recasting of Operational Roles
-
Upload
cornelia-davis -
Category
Software
-
view
2.069 -
download
1
Transcript of Devops: Enabled Through a Recasting of Operational Roles
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2015 Pivotal. All rights reserved.
Devops: Enabled Through a Recasting of Operational RolesCF Summit Berlin November 2015
2
Cornelia Davis ● @cdavisafc ● [email protected] CTO, Transformation Practice
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2015 Pivotal. All rights reserved. 3
When I first started working on PaaS…
“For us, PaaS is a set of services aimed at developers that helps them develop and test apps without having to worry about the underlying infrastructure. Developers don't want to have to worry about provisioning the servers, storage and backup associated with developing and launching an app.”
… but then I learned
[1] http://www.javaworld.com/article/2078801/java-app-dev/forrester--paas-makes-developers-happy.html [2] http://www.infoworld.com/d/cloud-computing/paas-primer-what-platform-service-and-why-does-it-matter-212696
© 2015 Pivotal Software, Inc. All rights reserved. 4
“Operations is the secret sauce”
http://radar.oreilly.com/2007/10/operations-is-a-competitive-ad.html
© 2015 Pivotal Software, Inc. All rights reserved. 5
The Cloud Platform EvolutionTRADITIONAL IAAS
Virtualization Platform
Operating System
Dat
abas
e
Web
S
erve
r
Mes
sagi
ng
Your Application Code
Physical Servers
Dat
abas
e
Web
S
erve
r
Mes
sagi
ng
Your Application Code
IAAS
Your Application Code
Cloud-native Application
Platform
Virtualized Infrastructure
PAAS
© 2015 Pivotal Software, Inc. All rights reserved. 6
Application Dial Tone
Emits application “dial tone” • Config • Runtime • Logs • Metrics • Health Management • Security • Operations
Your Application Code
Application Platform
Virtualized Infrastructure
© 2015 Pivotal Software, Inc. All rights reserved. 7
Enabling DevopsD
atab
ase
Web
S
erve
r
Mes
sagi
ng
Your Application Code
Application Platform
Virtualized Infrastructure
Application Developers
Application Operations
Platform Operations
© 2015 Pivotal Software, Inc. All rights reserved. 8
App
App
App
App
© 2015 Pivotal Software, Inc. All rights reserved. 9
App App
App App
© 2015 Pivotal Software, Inc. All rights reserved. 10
A A
A A
© 2015 Pivotal Software, Inc. All rights reserved. 11
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
© 2015 Pivotal Software, Inc. All rights reserved. 12
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
A A
...
Started updating job runner_z1 > runner_z1/91. Done (00:01:06) Started updating job runner_z1 > runner_z1/92. Done (00:01:06) Started updating job runner_z1 > runner_z1/93. Done (00:01:06) Started updating job runner_z1 > runner_z1/94. Done (00:01:06) Started updating job runner_z1 > runner_z1/95. Done (00:01:06) Started updating job runner_z1 > runner_z1/96. Failed
!!
© 2015 Pivotal Software, Inc. All rights reserved.
On the… BOSH Agent port: Directory Server port:
… healthy DEA 35560 34567
… unhealthy DEA 34567 Port binding failed
13
Ephemeral Port Range: 32768 to 61000
Developer should not have used port 34567
Dynamically Assigned
Statically Assigned
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2015 Pivotal. All rights reserved. 14
It’s the right level of abstraction!
© 2015 Pivotal Software, Inc. All rights reserved. 15
The Power of AutonomyD
atab
ase
Web
S
erve
r
Mes
sagi
ng
Your Application Code
Application Platform
Virtualized Infrastructure
Platform Team
Application Team
© 2015 Pivotal Software, Inc. All rights reserved. 16
Application Team Drives the SDLC
cmtcmt v201cmt cmt cmt cmt v202 cmt… …
Prod
Acceptance
CI
© 2015 Pivotal Software, Inc. All rights reserved. 17
cmt v201cmt cmt cmt cmt v202 cmt… …
Prod
Acceptance
CI
Application Team Drives the SDLC
© 2015 Pivotal Software, Inc. All rights reserved. 18
Autonomy is Key
cmt v201cmt cmt cmt cmt v202 cmt… …
App
PlatformCVE
Prod
Acceptance
© 2015 Pivotal Software, Inc. All rights reserved. 19
CF – Each Layer Upgradable with Zero Downtime
* Devs may bring a custom buildpack
runtime layer*
OS image
application layer
PCF Buildpack Apps
linux host & kernel
App container
CF Supported
Dev Supported
• Platform Provided • CVEs addressed by Pivotal • Canary-style, zero-
downtime upgrades
• Platform or Application Team Provided
• CVEs addressed by Pivotal (for Platform Provided)
• Blue/Green deployments
• Application Team provided • Blue/Green deployments
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2015 Pivotal. All rights reserved. 20
Autonomy!
Pivotal Confidential–Internal Use Only 21
Virtualized Infrastructure
Infrastructure-centric Operations Model
Your Application Code
Dat
abas
e
Web
S
erve
r
Mes
sagi
ng
IaaS+ (+automation) IT Ops Team
App Team (Dev and Ops)
Pivotal Confidential–Internal Use Only 22
Application-centric Operations
Virtualized Infrastructure
Your Application Code
Dat
abas
e
Web
S
erve
r
Mes
sagi
ng
IaaS+ (+automation)
IT Ops Team
App Team
Your Application Code
Cloud Foundry
Virtualized Infrastructure
Platform Team
App Team (Dev and Ops)
Emits application “dial tone” • Configuration • Runtime • Logs • Metrics • Health Management • Security • Operations
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2015 Pivotal. All rights reserved. 23
Cloud Foundry is the Enabler!
© 2015 Pivotal Software, Inc. All rights reserved. 24
Separate yet Similar Concerns D
atab
ase
Web
S
erve
r
Mes
sagi
ng
Your Application Code
Application Platform
Virtualized Infrastructure
PAAS
Platform Operations
Application DevelopersApplication 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.
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2015 Pivotal. All rights reserved. 25
Transformation!
© Copyright 2014 Pivotal. All rights reserved.© Copyright 2015 Pivotal. All rights reserved.
Thank you!CF Summit Berlin November 2015
26
Cornelia Davis ● @cdavisafc ● [email protected] CTO, Transformation Practice