Upload
cloudbees
View
2.739
Download
3
Tags:
Embed Size (px)
DESCRIPTION
Slides from May 27th, 2011 webinar on CloudBees' Pro version of Jenkins that has folders to handle large number of jobs, Role-based access control plugin, VMWare auto-scaling and others.
Citation preview
Get more out of Jenkins Manage large jobs, RBAC and other with Nectar May 25th, 2011 Stephen Connolly Architect, CloudBees, Inc.
©2011 CloudBees, Inc. All Rights Reserved
2
• The slides will be made available as well as a link to the replay of this webinar.
• Links will be sent in an email after the webinar has finished (2-3 days).
Housekeeping
©2011 CloudBees, Inc. All Rights Reserved
Overview What we will be covering today
©2011 CloudBees, Inc. All Rights Reserved
4
• Handling large numbers of jobs • Scaling jobs / using existing infrastructure • Security • Backup • Other plugins
Overview
©2011 CloudBees, Inc. All Rights Reserved
CloudBees Who are we and what we can do for you?
©2011 CloudBees, Inc. All Rights Reserved
6
About CloudBees
©2011 CloudBees, Inc. All Rights Reserved
Our Mission
Strategy
Become the leading Pla0orm as a Service (PaaS) for Java™
Why We’re Different
CloudBees services the complete lifecycle of Cloud applica>on development and deployment. No Servers. No Virtual Machines. No IT.
§ Nectar – CloudBees Pro version of Jenkins § DEV@cloud – Cloud Services for Developers § RUN@cloud – FricAonless runAme PaaS for Java apps
7
CloudBees Jenkins Solutions
©2011 CloudBees, Inc. All Rights Reserved
Professional support from the Experts
8
CloudBees Jenkins Solutions
©2011 CloudBees, Inc. All Rights Reserved
CloudBees’ Pro version of Jenkins proprietary add-ons, stable release cycle
Professional support from the Experts
9
CloudBees Jenkins Solutions
©2011 CloudBees, Inc. All Rights Reserved
Self-service “Jenkins as a Service” pay-as-you-go public cloud
DEV@cloud
Professional support from the Experts
CloudBees’ Pro version of Jenkins proprietary add-ons, stable release cycle
10
CloudBees Jenkins Solutions
©2011 CloudBees, Inc. All Rights Reserved
Self-Service “Jenkins as a Service” for Enterprises
Professional support from the Experts
CloudBees’ Pro version of Jenkins proprietary add-ons, stable release cycle
Self-service “Jenkins as a Service” pay-as-you-go public cloud DEV@cloud
DEV@cloud Private Edition
11
• Handling large numbers of jobs – Folders plugin – Job templating
• Scaling jobs / using existing infrastructure • Security • Backup • Other plugins
Overview
©2011 CloudBees, Inc. All Rights Reserved
Handling large numbers of jobs Folders plugin
©2011 CloudBees, Inc. All Rights Reserved
13
• Create just like jobs • Acts as a container
• Select custom icon • Restrict job types • Specify environment
variables for all jobs in the folder
Folders plugin
©2011 CloudBees, Inc. All Rights Reserved
Demo Folders plugin
©2011 CloudBees, Inc. All Rights Reserved
Handling large numbers of jobs Job Templates
©2011 CloudBees, Inc. All Rights Reserved
16
• Define templates of your jobs / build steps / publishers – Fix/infer/hide some
parameters – Expose the rest in
terms that make sense in your domain
– No coding involved. All from UI
Job Templating
©2011 CloudBees, Inc. All Rights Reserved
17
• Change the template and all instances are updated at once
• Control visibility of plugins at fine-grained levels
Plugin currently in Beta will be GA for Nectar customers soon
Job Templating
©2011 CloudBees, Inc. All Rights Reserved
18
ü Handling large numbers of jobs • Scaling jobs / using existing infrastructure
– VMware auto-scale plugin • Security • Backup • Other plugins
Overview
©2011 CloudBees, Inc. All Rights Reserved
Scaling jobs / using existing infrastructure VMware auto-scale plugin
©2011 CloudBees, Inc. All Rights Reserved
20
• Configure pools of “identical” VMs
• These pools can be used as a Cloud
• Nectar can start/stop the VMs as required
• Can revert to snapshots for “clean” build environment
Leverage slaves from VMware ESX / vCenter
©2011 CloudBees, Inc. All Rights Reserved
Demo VMware auto-scale plugin
©2011 CloudBees, Inc. All Rights Reserved
22
ü Handling large numbers of jobs ü Scaling jobs / using existing infrastructure • Security
– RBAC – RBAC and Folders – White list / black list
• Backup • Other plugins
Overview
©2011 CloudBees, Inc. All Rights Reserved
Security Role Based Access Control Plugin
©2011 CloudBees, Inc. All Rights Reserved
24
• Roles defined in Nectar • External Groups from LDAP / AD /
Atlassian Crowd / etc • Local Groups defined in Nectar
– Configure Roles in Local Groups – Manage membership in Local Groups
• Users / other Local Groups / External Groups
• Role filtering to restrict inheritance
Multiple layers of configuration
©2011 CloudBees, Inc. All Rights Reserved
25
What are all the new icons for? Icon What is it What is it for
User Users of Nectar
Group Defined within Nectar
External group Defined in LDAP / AD / etc
System identity Anonymous / Authenticated
Role A set of permissions
Pinned role A role tied to a specific object
©2011 CloudBees, Inc. All Rights Reserved
26
1. Plan out your roles 2. Enable security 3. Add the roles 4. Save 5. Define Groups 6. Remove Admin
permissions from Authenticated Role
7. Save
Configuring
©2011 CloudBees, Inc. All Rights Reserved
Demo Setting up RBAC
©2011 CloudBees, Inc. All Rights Reserved
Security Role Based Access Control Plugin & Folders Plugin
©2011 CloudBees, Inc. All Rights Reserved
29
Root
Folder A Job 1
Job 2
Folder B
Job 1
Job 2
Job 3
Groups and roles are inherited
©2011 CloudBees, Inc. All Rights Reserved
Devs Dev
Dev Folder A Devs
Have Dev role if in
Devs group or
Folder A Devs group
Have Dev role if in
Devs group
30
Root
Folder A Job 1
Job 2
Folder B
Job 1
Job 2
Job 3
Pinned roles are not inherited
©2011 CloudBees, Inc. All Rights Reserved
Devs Dev
Dev Folder A Devs
Have Dev role if in Folder A
Devs group
Nobody has Dev role
Demo Using Folders with RBAC
©2011 CloudBees, Inc. All Rights Reserved
Security Role Based Access Control Plugin & Filtering
©2011 CloudBees, Inc. All Rights Reserved
33
Root
Folder A Job 1
Job 2
Folder B
Job 1
Job 2
Job 3
Roles can be filtered
©2011 CloudBees, Inc. All Rights Reserved
Devs Dev
Dev Folder A Devs
Have Dev role if in Folder A
Devs group
Have Dev role if in
Devs group
Demo Secret projects using Filtering and RBAC
©2011 CloudBees, Inc. All Rights Reserved
35
ü Handling large numbers of jobs ü Scaling jobs / using existing infrastructure ü Security • Backup
– Backup plugin • Other plugins
Overview
©2011 CloudBees, Inc. All Rights Reserved
Backup Backup plugin
©2011 CloudBees, Inc. All Rights Reserved
37
Create a backup job Configure what to back up
Backup plugin
©2011 CloudBees, Inc. All Rights Reserved
Demo Backup plugin
©2011 CloudBees, Inc. All Rights Reserved
39
ü Handling large numbers of jobs ü Scaling jobs / using existing infrastructure ü Security ü Backup • Other plugins
– Wiki text
Overview
©2011 CloudBees, Inc. All Rights Reserved
Other plugins Wiki-text plugin
©2011 CloudBees, Inc. All Rights Reserved
41
• Enable security. • Select the Markup
formatter from: – Confluence – MediaWiki – Textile – Trac – Twiki
• Use the formatting
Wiki-text plugin
©2011 CloudBees, Inc. All Rights Reserved
Demo Wiki-text plugin
©2011 CloudBees, Inc. All Rights Reserved
43
ü Handling large numbers of jobs ü Scaling jobs / using existing infrastructure ü Security ü Backup ü Other plugins
Overview
©2011 CloudBees, Inc. All Rights Reserved
Support Nectar
©2011 CloudBees, Inc. All Rights Reserved
45
• Releases every 6 months. • Supported for 18 months. • Patches as required • Plugins supported for life of underlying
release • Support all plugins • Nectar 10.10 and Nectar 11.04 released
Nectar
©2011 CloudBees, Inc. All Rights Reserved
46
• CloudBees Resources Page – http://www.cloudbees.com/support.cb
• Try DEV@cloud & RUN@cloud – https://grandcentral.cloudbees.com/account/signup
• CloudBees Eclipse Plugin – http://cloudbees.com/eclipse-plugin.cb
• DEV@cloud Private Edition Beta Program (DEV@cloud for private clouds) – http://www.cloudbees.com/dev-pe.cb
CloudBees Resources
©2011 CloudBees, Inc. All Rights Reserved
©2011 CloudBees, Inc. All Rights Reserved