16
A NEW PLATFORM FOR A NEW ERA 1

Pivotal CF and Continuous Delivery

Embed Size (px)

Citation preview

Page 1: Pivotal CF and Continuous Delivery

A NEW PLATFORM FOR A NEW ERA

1

Page 2: Pivotal CF and Continuous Delivery

2

Masters in Computer Science20 Years of Enterprise Software Development and Architecture

Page 3: Pivotal CF and Continuous Delivery

Embrace Change

3

BUILD, DEPLOY, SCALE, REPEAT

! "

Page 4: Pivotal CF and Continuous Delivery

Blue-Green Deploycf push BLUE

cf push GREEN -n pcfdemo-green

cf map-route GREEN south.fe.pivotal.io -n pcfdemo

cf unmap-route BLUE south.fe.pivotal.io -n pcfdemo

4

*http://www.cloudfoundry.rocks/blue-green-deployment-with-cloudfoundry/

Page 5: Pivotal CF and Continuous Delivery

Blue-Green Deploy

5

*http://www.cloudfoundry.rocks/blue-green-deployment-with-cloudfoundry/

Page 6: Pivotal CF and Continuous Delivery

6

cf zero-downtime-push pcfdemo \ -f manifest.yml \

-p ./target/pcfdemo.war

*http://www.cloudfoundry.rocks/blue-green-deployment-with-cloudfoundry/ *https://github.com/concourse/autopilot

Instant Blue-Green Deploy

Page 7: Pivotal CF and Continuous Delivery

7

Continuous Delivery

Page 8: Pivotal CF and Continuous Delivery

8

Organize Plan Code Test Release Deploy Operate

Continuous Integration and Delivery

Page 9: Pivotal CF and Continuous Delivery

9

Continuous Delivery

Plan Code Test Release Deploy Operate

Pivotal Cloud Foundry

Process, practices and delivery

Page 10: Pivotal CF and Continuous Delivery

10

Continuous Deployment

Github: On August 23, 2012 – 563 builds and 175 deploys

github.com/blog/1241-deploying-at-github

Page 11: Pivotal CF and Continuous Delivery

11

Continuous Delivery != Continuous Deployment

twitter.com/ccaum/statuses/372620989257232384

Page 12: Pivotal CF and Continuous Delivery

12

CloudBees Jenkins

Page 13: Pivotal CF and Continuous Delivery

13

CloudBees Jenkins

Create a Job Poll your SCCS

Build with Maven/Gradle Post Build Deploy

Page 14: Pivotal CF and Continuous Delivery

14

Post Build Step - Deploy

cf login -a https://<mydomain> -u <user> -p <pass> -o <org> -s <space> —skip-ssl-

validation cf push pcfdemo -f manifest.yml

"

Page 15: Pivotal CF and Continuous Delivery

‹#›© Copyright 2015 Pivotal Software. All rights reserved.

Page 16: Pivotal CF and Continuous Delivery

‹#›© Copyright 2014 Pivotal. All rights reserved.

Agile Delivery with PivotalVersion control

Continuous Integration:

Automated builds + automated test suites

Dependency Management

Architects: Business Events modeling

Spring developers: CEP, EAI, Web, Mobile

DBAs: DDL scripts

Delivery Team

VirtualCloud

Physical Developer workstation

Multiple Target Environments

Release

<< pull latest

changes >><< deploy >>