Build Mission Critical
Applications TODAY
Bhavani Rao
Senior Product Marketing Manager
brao@cloudbees.com
with Docker, Kubernetes and
CloudBees
© 2018 CloudBees, Inc. All Rights Reserved. 2
Agenda
Trends in software development
Constraints and challenges
Possible solutions
Solution
Benefits
Use Cases
© 2018 CloudBees, Inc. All Rights Reserved. 3
MICROSERVICES
Mainstream in 2 to 5 years
Microservices
• Source: Forrester's Global Business Technographics Developer Survey, 2017
© 2018 CloudBees, Inc. All Rights Reserved. 4
CONTAINERIZATION
Build the app once,
for one platform - run
anywhere
Consistency
between
environments
Easy to build &
maintain - creates
modularity
Cheaper and
smaller footprint
compared to VMs
© 2018 CloudBees, Inc. All Rights Reserved. 5
Kubernetes is the winner for Container Orchestration
Run containers
across many
different machines
Auto scale as
demand changes
Automatic load
balancing across
containers
Keeping storage
consistent with
multiple instances of
an application
© 2018 CloudBees, Inc. All Rights Reserved. 6
Can be on-premise,
private and public
cloud
(source: https://pivotal.io/cloud-native)
Challenges
© 2018 CloudBees, Inc. All Rights Reserved. 8
We are the Jenkins expertsDiverse Application Landscape
TraditionalModern Legacy
● Existing applications (traditional &
legacy) consume 80% of the IT
budget
● Few modern applications
● No plans to migrate majority of
legacy and traditional applications
Containerized, microservice
architecture, built for cloud
Outdated technology
but critical for IT
Apps deployed on
server-oriented architecture
© 2018 CloudBees, Inc. All Rights Reserved. 9
Diverse Deployment Environments
Apache Tomcat
Applications
GitHub
On-Premise
Firewall
Nexus
● Majority of applications are in a data
center
● Applications slowly being migrated to
the public cloud
Public Cloud
app
app 1
app 2
© 2018 CloudBees, Inc. All Rights Reserved. 10
All applications need CI/CD
Code
Test
Release
Deploy
Build
Ideas Value
Legacy
On-premise
Cloud
Modern
© 2018 CloudBees, Inc. All Rights Reserved. 11
Dev
Stage
Prod
● NOT a supported product
● Open Source Project
Y
Z
Z
CI/CD for modern cloud
applications on KubernetesJenkins X?
© 2018 CloudBees, Inc. All Rights Reserved. 12
Jenkins on Kubernetes?
Namespace Namespace
Namespace
Namespace
Namespace
Master Agent Agent
POD
POD
POD
On-Premise or Public Cloud
Agent Agent Agent
POD
POD
POD
Learn Kubernetes?
Governance?
• Team
management
• Security
• Compliance
© 2018 CloudBees, Inc. All Rights Reserved. 13
Market Challenges with Enterprise Continuous Delivery
• Scales easily
• Across multiple teams, workloads,
application types
• Resilient
• To application & infrastructure
failures
• Easy to install, manage & maintain
• Adds security & compliance
Flexible, governed
continuous delivery
solution
© 2018 CloudBees, Inc. All Rights Reserved. 14
What is CloudBees Core?
• Proven, full-featured CD solution
• On-premise or in the cloud
• Extends Jenkins functionality to
the enterprise
• Integrates with Kubernetes &
Docker
Flexible, governed
continuous delivery
© 2018 CloudBees, Inc. All Rights Reserved. 15
CloudBees Core On Modern Cloud Platforms
CLOUDBEES CORE
Managed Master Agent Agent
Managed Master Agent Agent
Managed Master Agent Agent
POD
CloudBees
Jenkins
Operations
Center
POD
Namespace Namespace
Namespace
Namespace
Namespace
Developer
Jenkins or
Team Admin
CD as a Service
Onboard Teams
Provisioning
Tools or Shared
Services
POD
POD
POD
POD
POD
POD
POD
POD
On Premise or Public Cloud
Azure Container
Service
© 2018 CloudBees, Inc. All Rights Reserved. 16
Who Benefits?
CD as a Service
• On demand CI/CD
• Spend more time on codingDeveloper
Jenkins or
Team Admin
Tools or Shared
Services
Simplifies Provisioning
• Manage CloudBees Core as any other
application on Kubernetes
• Conform and enforce IT standards
• Delegate provisioning of masters
Reduces admin burden
• On demand team onboarding
• Easily manage permissions
• Simplifies provisioning of masters
© 2018 CloudBees, Inc. All Rights Reserved. 17
Solution Value Pillars
Feature Benefits
Simplified management Offer self service CD
Security & compliance Powerful control of pipelines & jobs
Unconstrained flexibility CD for all applications
Leverages Kubernetes Scalable and resilient
© 2018 CloudBees, Inc. All Rights Reserved. 18
Elegant, intuitive user experience
• Easily create, administer and manage
teams
• Extends Blue Ocean
• Assign roles and correct permissions to
Jenkins users
• Shift focus from servers and resources
(masters and agents) to teams and
pipelines
• Allows Shared Services to delegate
tasks to team-level admins
© 2018 CloudBees, Inc. All Rights Reserved. 19
Security through Team Masters
• Easy to understand pre-defined roles: Team Admin, Team Member, Team Guest
• Roles are fully customizable with fine grained permissions
• Easy to understand permissions: Administer, Run and Read
• Integrated with new user experience
• Apply department and organization level permissions to individual teams or projects
• Lock down access to individual masters
• Bulk add new users and manage users through Operations Center CLI
© 2018 CloudBees, Inc. All Rights Reserved. 20
CloudBees Jenkins Operations Center
• Manage multiple masters with one
interface
• Share build agent resources (Mac and
Windows) that can be used by any
master
• Control authentication and authorization
schemes used by masters
• Update plugins on masters
• Management and enforcement of
security settings on masters
CloudBees Core
CloudBees
Jenkins
Operations
Center
Managed Master Agent Agent
Managed Master Agent Agent
Managed Master Agent Agent
POD
POD
POD
POD
POD
POD
POD
POD
POD
POD
CLOUDBEES CORE
© 2018 CloudBees, Inc. All Rights Reserved. 21
CloudBees Role-Based Access Controls
Granular control of permissions
• Define permissions by user, team, folder and job
• Define various roles globally or limit them by objects
• Enables delegation of assigning roles to team or Jenkins admin
Single Sign On
• Built-in SSO server to simplify way of securing masters
• Reinforces company security standards
• Integrated with authentication standards (SAML2, OAuth,) and backends
(LDAP, Active Directory)
© 2018 CloudBees, Inc. All Rights Reserved. 22
CloudBees RBAC
© 2018 CloudBees, Inc. All Rights Reserved. 23
Compliance
Templates for jobs, folders and builds
• Template Pipeline
• Custom Marker Files
• Benefits
▸ Standardize CD pipelines & folders
▸ Standardize CD pipelines company
▸ Facilitates separation of duties
• Shared libraries or custom libraries
• Customer defined pipeline snippets for reuse
▸ Facilitates DRY - do not repeat yourself
© 2018 CloudBees, Inc. All Rights Reserved. 24
Autoscaling & Resiliency
• Developers are no longer bottlenecked from running any number of tests or builds,
even all at once
• Automatically scales the CloudBees Core cluster by provisioning just the resources needed
by teams to run their CI/CD workloads without bottlenecks
• Upon completion of CI/CD workloads, the cluster can be scaled down automatically
resulting in tangible cost savings and complying with standard IT policies
• Developers can rest assured that any Jenkins or infrastructure related failures are
automatically handled
• Automatically provisions Jenkins agents or masters in the event of any catastrophic
crashes, thus ensuring there’s no business disruption for the enterprise
© 2018 CloudBees, Inc. All Rights Reserved. 25
Autoscaling at the Cluster Level
K8s Node K8s Node K8s Node K8s Node
No capacity to
provision Jenkins
Provisions an additional
node to provision Jenkins
instance
Cluster scaling
Cloud Service Provider
Use Cases
© 2018 CloudBees, Inc. All Rights Reserved. 27
• Lack of central process control &
management dashboards
• Upgrade of plugins on different
masters becomes complex to maintain
• Non reproducible SW builds & testsMaster A Master B
Master C Master D
DevOps sprawl - disconnected masters
On-premise or in the public cloud
Poor infrastructure utilization
= more cost
© 2018 CloudBees, Inc. All Rights Reserved. 28
Deploy to Cloud or On-Premise
Mac OS Jenkins
AgentElastic Kubernetes Service
CloudBees Core
Microservice 3
Microservice 2
Microservice 1
GitHub
Amazon Web Services
On-Premise
Firewall
Nexus
● Eliminate networking & security
challenges
● Code doesn’t leave the building
● Host Jenkins masters/agents in cloud
AND utilize local infrastructure
Cloud
© 2018 CloudBees, Inc. All Rights Reserved. 29
Legacy and Modern Applications
Google Kubernetes Engine
CloudBees Core
Microservice 3
Microservice 2
Microservice 1
‘Modern’ Containerized
Applications
‘Legacy’ or ‘Classic’
Monolithic Applications
● Target new apps to run on cloud native
architecture to leverage high
availability and elasticity
● Classic or legacy applications can
Leverage the power of Kubernetes for
CI/CD workloads
● CloudBees Core supports all
application types
Namespaces Data Center
Google Cloud Platform
© 2018 CloudBees, Inc. All Rights Reserved. 30
Summary - CloudBees Core
Scalable & resilient
Centralize & simplify management, security and
compliance
Enterprise functionality
Leverage Kubernetes and Docker for workloads and
teams
Full-featured CD solution for all your applications and
users, not just cloud native applications
Offer CD as service

Continuous Delivery with CloudBees Core

  • 1.
    Build Mission Critical ApplicationsTODAY Bhavani Rao Senior Product Marketing Manager brao@cloudbees.com with Docker, Kubernetes and CloudBees
  • 2.
    © 2018 CloudBees,Inc. All Rights Reserved. 2 Agenda Trends in software development Constraints and challenges Possible solutions Solution Benefits Use Cases
  • 3.
    © 2018 CloudBees,Inc. All Rights Reserved. 3 MICROSERVICES Mainstream in 2 to 5 years Microservices • Source: Forrester's Global Business Technographics Developer Survey, 2017
  • 4.
    © 2018 CloudBees,Inc. All Rights Reserved. 4 CONTAINERIZATION Build the app once, for one platform - run anywhere Consistency between environments Easy to build & maintain - creates modularity Cheaper and smaller footprint compared to VMs
  • 5.
    © 2018 CloudBees,Inc. All Rights Reserved. 5 Kubernetes is the winner for Container Orchestration Run containers across many different machines Auto scale as demand changes Automatic load balancing across containers Keeping storage consistent with multiple instances of an application
  • 6.
    © 2018 CloudBees,Inc. All Rights Reserved. 6 Can be on-premise, private and public cloud (source: https://pivotal.io/cloud-native)
  • 7.
  • 8.
    © 2018 CloudBees,Inc. All Rights Reserved. 8 We are the Jenkins expertsDiverse Application Landscape TraditionalModern Legacy ● Existing applications (traditional & legacy) consume 80% of the IT budget ● Few modern applications ● No plans to migrate majority of legacy and traditional applications Containerized, microservice architecture, built for cloud Outdated technology but critical for IT Apps deployed on server-oriented architecture
  • 9.
    © 2018 CloudBees,Inc. All Rights Reserved. 9 Diverse Deployment Environments Apache Tomcat Applications GitHub On-Premise Firewall Nexus ● Majority of applications are in a data center ● Applications slowly being migrated to the public cloud Public Cloud app app 1 app 2
  • 10.
    © 2018 CloudBees,Inc. All Rights Reserved. 10 All applications need CI/CD Code Test Release Deploy Build Ideas Value Legacy On-premise Cloud Modern
  • 11.
    © 2018 CloudBees,Inc. All Rights Reserved. 11 Dev Stage Prod ● NOT a supported product ● Open Source Project Y Z Z CI/CD for modern cloud applications on KubernetesJenkins X?
  • 12.
    © 2018 CloudBees,Inc. All Rights Reserved. 12 Jenkins on Kubernetes? Namespace Namespace Namespace Namespace Namespace Master Agent Agent POD POD POD On-Premise or Public Cloud Agent Agent Agent POD POD POD Learn Kubernetes? Governance? • Team management • Security • Compliance
  • 13.
    © 2018 CloudBees,Inc. All Rights Reserved. 13 Market Challenges with Enterprise Continuous Delivery • Scales easily • Across multiple teams, workloads, application types • Resilient • To application & infrastructure failures • Easy to install, manage & maintain • Adds security & compliance Flexible, governed continuous delivery solution
  • 14.
    © 2018 CloudBees,Inc. All Rights Reserved. 14 What is CloudBees Core? • Proven, full-featured CD solution • On-premise or in the cloud • Extends Jenkins functionality to the enterprise • Integrates with Kubernetes & Docker Flexible, governed continuous delivery
  • 15.
    © 2018 CloudBees,Inc. All Rights Reserved. 15 CloudBees Core On Modern Cloud Platforms CLOUDBEES CORE Managed Master Agent Agent Managed Master Agent Agent Managed Master Agent Agent POD CloudBees Jenkins Operations Center POD Namespace Namespace Namespace Namespace Namespace Developer Jenkins or Team Admin CD as a Service Onboard Teams Provisioning Tools or Shared Services POD POD POD POD POD POD POD POD On Premise or Public Cloud Azure Container Service
  • 16.
    © 2018 CloudBees,Inc. All Rights Reserved. 16 Who Benefits? CD as a Service • On demand CI/CD • Spend more time on codingDeveloper Jenkins or Team Admin Tools or Shared Services Simplifies Provisioning • Manage CloudBees Core as any other application on Kubernetes • Conform and enforce IT standards • Delegate provisioning of masters Reduces admin burden • On demand team onboarding • Easily manage permissions • Simplifies provisioning of masters
  • 17.
    © 2018 CloudBees,Inc. All Rights Reserved. 17 Solution Value Pillars Feature Benefits Simplified management Offer self service CD Security & compliance Powerful control of pipelines & jobs Unconstrained flexibility CD for all applications Leverages Kubernetes Scalable and resilient
  • 18.
    © 2018 CloudBees,Inc. All Rights Reserved. 18 Elegant, intuitive user experience • Easily create, administer and manage teams • Extends Blue Ocean • Assign roles and correct permissions to Jenkins users • Shift focus from servers and resources (masters and agents) to teams and pipelines • Allows Shared Services to delegate tasks to team-level admins
  • 19.
    © 2018 CloudBees,Inc. All Rights Reserved. 19 Security through Team Masters • Easy to understand pre-defined roles: Team Admin, Team Member, Team Guest • Roles are fully customizable with fine grained permissions • Easy to understand permissions: Administer, Run and Read • Integrated with new user experience • Apply department and organization level permissions to individual teams or projects • Lock down access to individual masters • Bulk add new users and manage users through Operations Center CLI
  • 20.
    © 2018 CloudBees,Inc. All Rights Reserved. 20 CloudBees Jenkins Operations Center • Manage multiple masters with one interface • Share build agent resources (Mac and Windows) that can be used by any master • Control authentication and authorization schemes used by masters • Update plugins on masters • Management and enforcement of security settings on masters CloudBees Core CloudBees Jenkins Operations Center Managed Master Agent Agent Managed Master Agent Agent Managed Master Agent Agent POD POD POD POD POD POD POD POD POD POD CLOUDBEES CORE
  • 21.
    © 2018 CloudBees,Inc. All Rights Reserved. 21 CloudBees Role-Based Access Controls Granular control of permissions • Define permissions by user, team, folder and job • Define various roles globally or limit them by objects • Enables delegation of assigning roles to team or Jenkins admin Single Sign On • Built-in SSO server to simplify way of securing masters • Reinforces company security standards • Integrated with authentication standards (SAML2, OAuth,) and backends (LDAP, Active Directory)
  • 22.
    © 2018 CloudBees,Inc. All Rights Reserved. 22 CloudBees RBAC
  • 23.
    © 2018 CloudBees,Inc. All Rights Reserved. 23 Compliance Templates for jobs, folders and builds • Template Pipeline • Custom Marker Files • Benefits ▸ Standardize CD pipelines & folders ▸ Standardize CD pipelines company ▸ Facilitates separation of duties • Shared libraries or custom libraries • Customer defined pipeline snippets for reuse ▸ Facilitates DRY - do not repeat yourself
  • 24.
    © 2018 CloudBees,Inc. All Rights Reserved. 24 Autoscaling & Resiliency • Developers are no longer bottlenecked from running any number of tests or builds, even all at once • Automatically scales the CloudBees Core cluster by provisioning just the resources needed by teams to run their CI/CD workloads without bottlenecks • Upon completion of CI/CD workloads, the cluster can be scaled down automatically resulting in tangible cost savings and complying with standard IT policies • Developers can rest assured that any Jenkins or infrastructure related failures are automatically handled • Automatically provisions Jenkins agents or masters in the event of any catastrophic crashes, thus ensuring there’s no business disruption for the enterprise
  • 25.
    © 2018 CloudBees,Inc. All Rights Reserved. 25 Autoscaling at the Cluster Level K8s Node K8s Node K8s Node K8s Node No capacity to provision Jenkins Provisions an additional node to provision Jenkins instance Cluster scaling Cloud Service Provider
  • 26.
  • 27.
    © 2018 CloudBees,Inc. All Rights Reserved. 27 • Lack of central process control & management dashboards • Upgrade of plugins on different masters becomes complex to maintain • Non reproducible SW builds & testsMaster A Master B Master C Master D DevOps sprawl - disconnected masters On-premise or in the public cloud Poor infrastructure utilization = more cost
  • 28.
    © 2018 CloudBees,Inc. All Rights Reserved. 28 Deploy to Cloud or On-Premise Mac OS Jenkins AgentElastic Kubernetes Service CloudBees Core Microservice 3 Microservice 2 Microservice 1 GitHub Amazon Web Services On-Premise Firewall Nexus ● Eliminate networking & security challenges ● Code doesn’t leave the building ● Host Jenkins masters/agents in cloud AND utilize local infrastructure Cloud
  • 29.
    © 2018 CloudBees,Inc. All Rights Reserved. 29 Legacy and Modern Applications Google Kubernetes Engine CloudBees Core Microservice 3 Microservice 2 Microservice 1 ‘Modern’ Containerized Applications ‘Legacy’ or ‘Classic’ Monolithic Applications ● Target new apps to run on cloud native architecture to leverage high availability and elasticity ● Classic or legacy applications can Leverage the power of Kubernetes for CI/CD workloads ● CloudBees Core supports all application types Namespaces Data Center Google Cloud Platform
  • 30.
    © 2018 CloudBees,Inc. All Rights Reserved. 30 Summary - CloudBees Core Scalable & resilient Centralize & simplify management, security and compliance Enterprise functionality Leverage Kubernetes and Docker for workloads and teams Full-featured CD solution for all your applications and users, not just cloud native applications Offer CD as service