cloudbees jenkins and pivotal cloud foundry - continuous delivery for cloud native applications

39
Continuous Delivery for Cloud Native Applications Cyrille Le Clerc, Director, Product Management at CloudBees Bjorn Boe, Senior Field Engineer at Pivotal Software

Upload: nima-badiey

Post on 06-Jan-2017

887 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Continuous Delivery for Cloud Native ApplicationsCyrille Le Clerc, Director, Product Management at CloudBeesBjorn Boe, Senior Field Engineer at Pivotal Software

Page 2: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Speakers

Page 3: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

/Cyrille Le Clerc● Product Manager at CloudBees

● In charge of alliances and Docker

● Dev → DevOps

● 15 years consulting before CloudBees

● Open Source: jmxtrans...

Page 4: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

/Bjorn Boe● Sr. Field Engineer at Pivotal

● Help customers modernize

the way they build software

● Have been working with building

software for about 15 yrs

Page 5: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

/youPoll!

Page 6: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Agenda

Page 7: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Agenda● Introduction● Overview of CloudBees Jenkins Platform for PCF● Demo● Deep dive in CloudBees Jenkins Platform for PCF● Managing Jenkins with Pivotal Ops Manager● CloudBees Jenkins Operations Center● Q&A

Page 8: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Introduction

Page 9: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

CloudBees

● The Enterprise Jenkins Company

● Kohsuke Kawaguchi is our CTO

● “as a Service” and “as a Software”

Page 10: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

© 2

015

Clou

dBee

s, In

c. A

ll Ri

ghts

Res

erve

d

10

What is the CloudBees Jenkins Platform?

User ManagementRBAC/SSO/Security

Team MgmtOrganization Mgmt

Expert Technical SupportPlatinum

Gold SilverTSM

Customer Success

Management, Monitoring &

AlertingCluster Management

AnalyticsShared Resources

Dashboards

Advanced Jenkins PerformanceHigh availability, security, optimized performance

CD Pipeline Orchestration & ExecutionJenkins workflow with checkpoint, stageview, branching & restarts

Jenkins Platform

Next Generation Infrastructure SupportDocker, AWS, Azure, Pivotal, OpenShift

Commit Build Test Stage Deploy

OSS Jenkins Core

Open Source Jenkins Plugins

Page 11: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Changing Build and Release Models

DESIGNDEVELOP

TEST

OPS

DEV

Customer

Feedback

Product Release #1

Product Release #2

Customer

Delivery

MICRO-SERVICES

MICRO-SERVICES

Page 12: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Cloud Native

DevOps ContinuousDelivery

ContainersMicro services

Page 13: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Continuous Delivery Flow

Development Production

Commit Build Test Stage Deploy

Feedback Loop

$The Business

Page 14: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Pivotal Cloud Foundry,Taking the Application Lifecycles From Months...

Page 15: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

DEVELOPER OPERATOR

…to Hours and Minutes

App Deployment: 30-90 seconds

Auto-select runtimesDeploy app

Select and bind middlewareScale app

Cloud Deployment: 2-4 hours

Establish infrastructureProvision

Add capacityControl Auth, Policies, HA

Page 16: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

WE BELIEVETransforming how the world builds softwarewill shape the future.

Modern Product

Development Help customers

learn by doing it for and

with them

DataModern, open,

highly parallelized platform

Apps Modern, open,

highly automated cloud platform

Page 17: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

CloudBees Jenkins Platform for Pivotal Cloud FoundryOverview

Page 18: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

CJP on Pivotal CF● Jenkins as you know it● CloudBees enterprise features● Seamless integration with PCF

○ User Management○ Environment characteristics

● CD pipeline for Pivotal CF apps● Install & operate Jenkins

through Pivotal CF

Page 19: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

CJP on Pivotal CF

Page 20: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Demo

Page 21: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Demo Time! ● App: Game Of Life (Jenkins - The Definitive Guide)

● Technology: Java, Spring Framework & Maven

● Source code: GitLab

● CI/CD: CloudBees Jenkins Platform

● Artifact repository: JFrog Artifactory

● Cloud Platform: Pivotal Cloud Foundry

● Web Browser Testing: Selenium with Firefox in Docker

Page 22: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Demo Time!

Page 23: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Demo Time!

Page 24: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Demo Summary● Integrated PaaS platform

Pivotal Cloud Foundry, CloudBees Jenkins Platform, GitLab, JFrog Artifactory

● CD Pipeline as Code: Jenkins Workflow● Continuous Deployment: CF CLI● Build environment customization: Docker applied

with Selenium and Firefox

Page 25: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

CloudBees Jenkins Platform for Pivotal Cloud FoundryDeep dive

Page 26: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Unified User Management and Security● Single Sign On

● Cloud Foundry Orgs as security groups

● Visibility in Jenkins limited to CF Orgs

Page 27: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Build Pack and CF services in JenkinsSlave match Elastic Runtime environment

○ Ruby and NodeJS buildpacks○ JVM from the Java buildpack○ Docker container for other customizations○ CF services available through CF CLI

Page 28: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Manage Jenkins with Pivotal Ops Manager

Page 29: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Managing Jenkins with Ops Manager

Page 30: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

One Click InstallOne Click Install and you are all set● Production ready CloudBees Jenkins Platform

with persistence, desired #instances...● Pre-installed plugins & tools: GitLab, GitHub,

JFrog, CF CLI…● Pre-configured: authentication and authorization,

slave setup...

Page 31: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Seamless Maintenance● Upgrade Jenkins core and infrastructure through

the Ops Manager● Upgrade Jenkins plugins through the Jenkins

admin console

Page 32: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

CloudBees Jenkins Operations Center

Jenkins Operations Center

Plugin Update Centers

Cluster Operations

Analytics

Shared Slaves

Page 33: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Managing Jenkins at Scale

✓ Manage Connected Client Masters

✓ Jenkins Analytics and Monitoring– CloudBees Performance Analytics

– CloudBees Build Analytics

✓ Cluster Operations

✓ Centralized Security – SSO & RBAC

✓ Custom Update Centers

Jenkins Operations Center

Plugin Update Centers

Cluster Operations

Analytics

Shared Slaves

Operations/Monitoring/Management for Your Jenkins Environment

Page 34: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

Monitoring, Visualization and Analytics

Jenkins Workflow Stage View Visibility into Pipeline Status

Jenkins Analytics Cross-Team Build Analytics

… among many other features, tailored for enterprise organizations using Jenkins @ scale

Page 35: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

CloudBees Performance AnalyticsJenkins JVM and Jenkins Queue Monitoring

Page 36: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

CloudBees Performance AnalyticsBuild, Job Growth Across Masters

Page 37: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

CloudBees Performance AnalyticsBuild Status

Page 38: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

© 2

015

Clou

dBee

s, In

c. A

ll Ri

ghts

Res

erve

d

38

© 2

015

Clou

dBee

s, In

c. A

ll Ri

ghts

Res

erve

d

Q&A

Page 39: CloudBees Jenkins and Pivotal Cloud Foundry - Continuous Delivery for Cloud Native Applications

© 2

015

Clou

dBee

s, In

c. A

ll Ri

ghts

Res

erve

d

39

© 2

015

Clou

dBee

s, In

c. A

ll Ri

ghts

Res

erve

d

Thank you.https://network.pivotal.io/products/cloudbees

https://www.cloudbees.com/partners/platform/pivotal