SlideShare a Scribd company logo
1 of 33
© 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc .
Building a Scalable CI
Deployment with Docker, Drone
and Rancher
August 13, 2015
#ranchermeetup
© 2015 Rancher Labs, Inc.
Shannon Williams
Co-Founder/VP Marketing
@smw355
1
Darren Shepherd
Co-Founder/Chief Architect
@ibuildthecloud
Freenode: darren0
#ranchermeetup
© 2015 Rancher Labs, Inc.
Bill Maxwell
Director of DevOps
@CloudNautique
2
Brad Rydzewski
Founder of Drone.io
@bradrydzewski
@droneio
www.drone.io
#ranchermeetup
© 2015 Rancher Labs, Inc.
First things first…
This is a not a !
3
#ranchermeetup
#ranchermeetup
© 2015 Rancher Labs, Inc.4
There are rules for a meetup!
• Questions are always welcome
• Demo, then demo some more
• Keep the slides to a minimum
• Open to proposals
• Give away stuff with your logo on it
#ranchermeetup
© 2015 Rancher Labs, Inc.
Tweets = Shirts
First 10 Rancher Screenshots posteds
on Twitter about today’s
#RancherMeetup will get a Rancher
shirt
Follow @rancher_labs
5 #ranchermeetup
© 2015 Rancher Labs, Inc.
Agenda
• Why is Docker becoming so popular in DevOps
• How we run our CI process at Rancher
• Demo: Drone, Docker, Rancher
• Drone.io Overview and RoadMap
• Latest Rancher News: LibCompose, Rolling Upgrades, Virtual Host
LB, Sidekicks, etc.
6 #ranchermeetup
© 2015 Rancher Labs, Inc.
Containers are growing in popularity because
they improve the entire DevOps pipeline
• Quick onboarding of developers
• Consistent software builds
• Accurate test environments
• More frequent code releases
• Immutable production environments
• Orchestrated upgrades
7
© 2015 Rancher Labs, Inc.
Many organizations are looking at how to
incorporate Docker into their pipelines
Source Code Repo
CI/CD
Build and Test tools
Docker Tools
8
Develop Build Package Test Deploy/Upgrade Operate
© 2015 Rancher Labs, Inc.
Open source software for
building a Private
Container Service
9
© 2015 Rancher Labs, Inc.
What is a container service?
Central service where users and
teams can create container
environments for running services and
applications
Includes:
1. Container Orchestration
2. Container Infrastructure
3. Container Management
10
© 2015 Rancher Labs, Inc.
Environment
What is a container service?
11
Private Container Service
Resources
Resources (Clouds, VMs, Servers)
Environment
Resources
DevOps
Pipeline
User Directory Container Registry
Ops
Tools
© 2015 Rancher Labs, Inc.
Build Environment
DevOps builds software in the container service
- DevOps teams create Build Environments
- Adds resources and Jenkins slaves
- Developer Pushes Code to Repo
- Jenkins creates build containers
- Build and Unit Tests run in build container
- Outputs Artifacts
- Jenkins creates Packaging container
- Push Docker Image to registry
- Build environments scale elastically
Build
Docker File
Packaging
Docker File
Test
Code
Build Docker
File
Develop Build Package Test Deploy/Upgrade Operate
© 2015 Rancher Labs, Inc.
Test Environment
DevOps tests software in the container service
- Create Test Environments
- Upload Compose & Test files
- Build triggers Jenkins
- Jenkins triggers Rancher to deploy compose
- Rancher creates containers, networks,
storage, etc.
- Test container conducts integration tests
Develop Build Package Test Deploy/Upgrade Operate
Test docker-compose.yml
lb:
image: haproxy
links:
- web
tomcat:
image: app:buildn
links:
- db
- cache
cache:
image: memcache
db:
image: mysql:testn
Hosts
db
- mysql:testn
cache
- memcache
Lb
-haproxy
tomcat
-app:buildn
Test
Test
Compose Images
© 2015 Rancher Labs, Inc.
Production Environment
Hosts
DevOps runs production in the container service
- Production Compose
- Rancher deploys
environment
- Update Scaling
- Health Checks & HA
- Upgrade
- Backup & Recovery
Develop Build Package Test Deploy/Upgrade Operate
docker-compose.yml
lb:
image: haproxy
links:
- web
tomcat:
image: app:buildn
links:
- db
- cache
cache:
image: memcache
db:
image: mysql
lb
tomcat
CacheMySQL
Health Check Interval: 2 sec
Timeout: 2 sec
Failure Retry Frequency: 3
Success Retry Frequency: 2
Recovery Delay: 30 sec
tomcat(build n+1)
Drone, Docker and
Rancher
CI here at Rancher Labs
Bill Maxwell
Director of DevOps
@CloudNautique
16 #ranchermeetup
© 2015 Rancher Labs, Inc.
CI / CD @ Rancher Labs
• Primarily
Developers
• Distributed
• GitHub Focused
17
The Team
© 2015 Rancher Labs, Inc.
Solution Space
- Low Administrative Overhead
- GitHub Integration
- Docker Integration
18
?
© 2015 Rancher Labs, Inc.
Selection Drone.IO
- Built around Docker
- State is stored in
Database
- Single container
deployment
- Simple GitHub
integration
19
© 2015 Rancher Labs, Inc.
Pipeline View
GitHub Drone
Tests
Master
Builds
Build
Build
Build
Build
refresh
Developer Pushes
Code
Run
Tests
WebHook
Status
API
© 2015 Rancher Labs, Inc.
Scaling Drone
- Number of
Developers
- Build frequency
- Multiple projects
- Open Source
21
© 2015 Rancher Labs, Inc.
Rancher
With
- Private Networking
- Native Docker
We Get
- Easily Distributed
Drone!
22
Rancher
Drone
Worker
Worker
Worker
Worker
Worker
Worker
© 2015 Rancher Labs, Inc.23
Demo
#ranchermeetup
© 2015 Rancher Labs, Inc.24
Brad Rydzewski
Founder of Drone.io
@bradrydzewski
@droneio
www.drone.io
#ranchermeetup
Latest news about
Drone.io
New in 0.4
● Improved Yaml
● Improved UX
● Matrix Builds
● External Plugins
build:
image: golang
commands:
- go test -v
compose:
postgres:
image: postgres
environment:
- PG_USER=foo
- PG_PASS=bar
Composable Builds
build configuration
similar to docker
compose
build:
image: golang:$$go_version
commands:
- go test -v
compose:
redis:
image: redis:$$redis_version
matrix:
go_version:
- 1.4
- 1.3
redis_version:
- 2.8
- latest
Matrix Builds
tests 4 different
environment permutations
build:
image: golang
commands:
- go test -v
notify:
slack:
image: plugins/slack
token: ...
External Plugins
docker pull 
plugins/slack
docker run plugins/drone-slack << EOF
{
“repo”: { ... },
“build”: {
“number”: 1,
“status”: “success”
}
“slack”: {
“token”: “...”
}
}
EOF
External Plugins
Plugins accept build
details via stdin
Latest Rancher Enhancements
30
Load Balancing
• Virtual Host Support for LB Services
• Labels/Scheduling for Load Balancers in UI
• Internal Load Balancing
• Load Balancing External Services
• Supporting CNAME for External Services
Service Discovery and Management
• Cross Stack Linking
• Service Sidekicks
• Rancher Compose CLI support for Rolling Upgrades
Other
• Support Random IP for DNS
• Improved Rancher Server SSL Support
© 2015 Rancher Labs, Inc.31 #ranchermeetup
http://info.rancher.com/beta
© 2015 Rancher Labs, Inc.
Getting Started
Rancher and RancherOS live in GitHub – Get Involved, Join the Beta
32 #ranchermeetup
http://github.com/rancher
© 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc .
Thank you
rancher.com

More Related Content

What's hot

Deploying OpenStack Using Docker in Production
Deploying OpenStack Using Docker in ProductionDeploying OpenStack Using Docker in Production
Deploying OpenStack Using Docker in Productionclayton_oneill
 
Docker Enables DevOps
Docker Enables DevOpsDocker Enables DevOps
Docker Enables DevOpsBoyd Hemphill
 
Intro to Docker and clustering with Rancher from scratch
Intro to Docker and clustering with Rancher from scratchIntro to Docker and clustering with Rancher from scratch
Intro to Docker and clustering with Rancher from scratchJohn Culviner
 
Continuous Delivery with Jenkins and Wildfly (2014)
Continuous Delivery with Jenkins and Wildfly (2014)Continuous Delivery with Jenkins and Wildfly (2014)
Continuous Delivery with Jenkins and Wildfly (2014)Tracy Kennedy
 
Docker for Integration Testing
Docker for Integration TestingDocker for Integration Testing
Docker for Integration TestingWouter Danes
 
Rundeck + Nexus (from Nexus Live on June 5, 2014)
Rundeck + Nexus (from Nexus Live on June 5, 2014)Rundeck + Nexus (from Nexus Live on June 5, 2014)
Rundeck + Nexus (from Nexus Live on June 5, 2014)dev2ops
 
Docker @ RelateIQ Presentation
Docker @ RelateIQ PresentationDocker @ RelateIQ Presentation
Docker @ RelateIQ PresentationJohn Fiedler
 
Deploy and upgrade Docker applications with a single click
Deploy and upgrade Docker applications with a single clickDeploy and upgrade Docker applications with a single click
Deploy and upgrade Docker applications with a single clickDocker, Inc.
 
DevOps@Morpho for ParisDevOps - 2nd of December 2014
DevOps@Morpho for ParisDevOps - 2nd of December 2014DevOps@Morpho for ParisDevOps - 2nd of December 2014
DevOps@Morpho for ParisDevOps - 2nd of December 2014Jean-Charles JOREL
 
Building a Service Delivery Platform - JCICPH 2014
Building a Service Delivery Platform - JCICPH 2014Building a Service Delivery Platform - JCICPH 2014
Building a Service Delivery Platform - JCICPH 2014Andreas Rehn
 
Immutable infrastructure with Docker and EC2
Immutable infrastructure with Docker and EC2Immutable infrastructure with Docker and EC2
Immutable infrastructure with Docker and EC2dotCloud
 
Improve your Java Environment with Docker
Improve your Java Environment with DockerImprove your Java Environment with Docker
Improve your Java Environment with DockerHanoiJUG
 
JavaOne 2016: Kubernetes introduction for Java Developers
JavaOne 2016: Kubernetes introduction for Java Developers JavaOne 2016: Kubernetes introduction for Java Developers
JavaOne 2016: Kubernetes introduction for Java Developers Rafael Benevides
 
Docker at Spotify - Dockercon14
Docker at Spotify - Dockercon14Docker at Spotify - Dockercon14
Docker at Spotify - Dockercon14dotCloud
 
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and ComposeDockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and ComposeDocker, Inc.
 
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS CloudCI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS CloudSimon McCartney
 

What's hot (20)

Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
Deploying OpenStack Using Docker in Production
Deploying OpenStack Using Docker in ProductionDeploying OpenStack Using Docker in Production
Deploying OpenStack Using Docker in Production
 
Docker Enables DevOps
Docker Enables DevOpsDocker Enables DevOps
Docker Enables DevOps
 
JavaCro'14 - Continuous delivery of Java EE applications with Jenkins and Doc...
JavaCro'14 - Continuous delivery of Java EE applications with Jenkins and Doc...JavaCro'14 - Continuous delivery of Java EE applications with Jenkins and Doc...
JavaCro'14 - Continuous delivery of Java EE applications with Jenkins and Doc...
 
Intro to Docker and clustering with Rancher from scratch
Intro to Docker and clustering with Rancher from scratchIntro to Docker and clustering with Rancher from scratch
Intro to Docker and clustering with Rancher from scratch
 
Continuous Delivery with Jenkins and Wildfly (2014)
Continuous Delivery with Jenkins and Wildfly (2014)Continuous Delivery with Jenkins and Wildfly (2014)
Continuous Delivery with Jenkins and Wildfly (2014)
 
Docker for Integration Testing
Docker for Integration TestingDocker for Integration Testing
Docker for Integration Testing
 
Rundeck + Nexus (from Nexus Live on June 5, 2014)
Rundeck + Nexus (from Nexus Live on June 5, 2014)Rundeck + Nexus (from Nexus Live on June 5, 2014)
Rundeck + Nexus (from Nexus Live on June 5, 2014)
 
Docker @ RelateIQ Presentation
Docker @ RelateIQ PresentationDocker @ RelateIQ Presentation
Docker @ RelateIQ Presentation
 
Deploy and upgrade Docker applications with a single click
Deploy and upgrade Docker applications with a single clickDeploy and upgrade Docker applications with a single click
Deploy and upgrade Docker applications with a single click
 
DevOps@Morpho for ParisDevOps - 2nd of December 2014
DevOps@Morpho for ParisDevOps - 2nd of December 2014DevOps@Morpho for ParisDevOps - 2nd of December 2014
DevOps@Morpho for ParisDevOps - 2nd of December 2014
 
Docker, what's next ?
Docker, what's next ?Docker, what's next ?
Docker, what's next ?
 
Building a Service Delivery Platform - JCICPH 2014
Building a Service Delivery Platform - JCICPH 2014Building a Service Delivery Platform - JCICPH 2014
Building a Service Delivery Platform - JCICPH 2014
 
RPM Factory for RDO
RPM Factory for RDORPM Factory for RDO
RPM Factory for RDO
 
Immutable infrastructure with Docker and EC2
Immutable infrastructure with Docker and EC2Immutable infrastructure with Docker and EC2
Immutable infrastructure with Docker and EC2
 
Improve your Java Environment with Docker
Improve your Java Environment with DockerImprove your Java Environment with Docker
Improve your Java Environment with Docker
 
JavaOne 2016: Kubernetes introduction for Java Developers
JavaOne 2016: Kubernetes introduction for Java Developers JavaOne 2016: Kubernetes introduction for Java Developers
JavaOne 2016: Kubernetes introduction for Java Developers
 
Docker at Spotify - Dockercon14
Docker at Spotify - Dockercon14Docker at Spotify - Dockercon14
Docker at Spotify - Dockercon14
 
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and ComposeDockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
 
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS CloudCI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
CI/CD Pipeline to Deploy and Maintain an OpenStack IaaS Cloud
 

Similar to Building a Scalable CI Platform using Docker, Drone and Rancher

Running Rancher and Docker on Dev Machines - Rancher Online Meetup - May 2016
Running Rancher and Docker on Dev Machines - Rancher Online Meetup - May 2016Running Rancher and Docker on Dev Machines - Rancher Online Meetup - May 2016
Running Rancher and Docker on Dev Machines - Rancher Online Meetup - May 2016Shannon Williams
 
Webinar by ZNetLive & Plesk- Winning the Game for WebOps and DevOps
Webinar by ZNetLive & Plesk- Winning the Game for WebOps and DevOps Webinar by ZNetLive & Plesk- Winning the Game for WebOps and DevOps
Webinar by ZNetLive & Plesk- Winning the Game for WebOps and DevOps ZNetLive
 
Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...
Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...
Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...Shannon Williams
 
Austin - Container Days - Docker 101
Austin - Container Days - Docker 101Austin - Container Days - Docker 101
Austin - Container Days - Docker 101Bill Maxwell
 
JCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptxJCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptxGrace Jansen
 
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016Shannon Williams
 
Javaone 2014 - Git & Docker with Jenkins
Javaone 2014 - Git & Docker with JenkinsJavaone 2014 - Git & Docker with Jenkins
Javaone 2014 - Git & Docker with JenkinsAndy Pemberton
 
Dear IT...I'd Like A Kubernetes Cluster
Dear IT...I'd Like A Kubernetes ClusterDear IT...I'd Like A Kubernetes Cluster
Dear IT...I'd Like A Kubernetes ClusterShannon Williams
 
Docker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDocker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDr Ganesh Iyer
 
Using Rancher and Docker with RightScale at Industrie IT
Using Rancher and Docker with RightScale at Industrie IT Using Rancher and Docker with RightScale at Industrie IT
Using Rancher and Docker with RightScale at Industrie IT RightScale
 
Docker Birthday #3 - Intro to Docker Slides
Docker Birthday #3 - Intro to Docker SlidesDocker Birthday #3 - Intro to Docker Slides
Docker Birthday #3 - Intro to Docker SlidesDocker, Inc.
 
Docker Birthday #3 Slides - Overview
Docker Birthday #3 Slides - OverviewDocker Birthday #3 Slides - Overview
Docker Birthday #3 Slides - OverviewChris Ciborowski
 
Docker Containers for Continuous Delivery
Docker Containers for Continuous DeliveryDocker Containers for Continuous Delivery
Docker Containers for Continuous DeliverySynerzip
 
StackEngine Problem Space Demo
StackEngine Problem Space DemoStackEngine Problem Space Demo
StackEngine Problem Space DemoBoyd Hemphill
 
Using the SDACK Architecture on Security Event Inspection
Using the SDACK Architecture on Security Event InspectionUsing the SDACK Architecture on Security Event Inspection
Using the SDACK Architecture on Security Event InspectionYu-Lun Chen
 
Securing Red Hat OpenShift Containerized Applications At Enterprise Scale
Securing Red Hat OpenShift Containerized Applications At Enterprise ScaleSecuring Red Hat OpenShift Containerized Applications At Enterprise Scale
Securing Red Hat OpenShift Containerized Applications At Enterprise ScaleDevOps.com
 
Introduction to Docker - Vellore Institute of Technology
Introduction to Docker - Vellore Institute of TechnologyIntroduction to Docker - Vellore Institute of Technology
Introduction to Docker - Vellore Institute of TechnologyAjeet Singh Raina
 
Docker and containers - For Boston Docker Meetup Workshop in March 2015
Docker and containers - For Boston Docker Meetup Workshop in March 2015Docker and containers - For Boston Docker Meetup Workshop in March 2015
Docker and containers - For Boston Docker Meetup Workshop in March 2015Jonas Rosland
 
DevOps as a Pathway to AWS | AWS Public Sector Summit 2016
DevOps as a Pathway to AWS | AWS Public Sector Summit 2016DevOps as a Pathway to AWS | AWS Public Sector Summit 2016
DevOps as a Pathway to AWS | AWS Public Sector Summit 2016Amazon Web Services
 

Similar to Building a Scalable CI Platform using Docker, Drone and Rancher (20)

Running Rancher and Docker on Dev Machines - Rancher Online Meetup - May 2016
Running Rancher and Docker on Dev Machines - Rancher Online Meetup - May 2016Running Rancher and Docker on Dev Machines - Rancher Online Meetup - May 2016
Running Rancher and Docker on Dev Machines - Rancher Online Meetup - May 2016
 
Webinar by ZNetLive & Plesk- Winning the Game for WebOps and DevOps
Webinar by ZNetLive & Plesk- Winning the Game for WebOps and DevOps Webinar by ZNetLive & Plesk- Winning the Game for WebOps and DevOps
Webinar by ZNetLive & Plesk- Winning the Game for WebOps and DevOps
 
Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...
Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...
Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...
 
Austin - Container Days - Docker 101
Austin - Container Days - Docker 101Austin - Container Days - Docker 101
Austin - Container Days - Docker 101
 
JCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptxJCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptx
 
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
The ultimate container monitoring bake-off - Rancher Online Meetup October 2016
 
Javaone 2014 - Git & Docker with Jenkins
Javaone 2014 - Git & Docker with JenkinsJavaone 2014 - Git & Docker with Jenkins
Javaone 2014 - Git & Docker with Jenkins
 
Dear IT...I'd Like A Kubernetes Cluster
Dear IT...I'd Like A Kubernetes ClusterDear IT...I'd Like A Kubernetes Cluster
Dear IT...I'd Like A Kubernetes Cluster
 
Docker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDocker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containers
 
Using Rancher and Docker with RightScale at Industrie IT
Using Rancher and Docker with RightScale at Industrie IT Using Rancher and Docker with RightScale at Industrie IT
Using Rancher and Docker with RightScale at Industrie IT
 
Docker Birthday #3 - Intro to Docker Slides
Docker Birthday #3 - Intro to Docker SlidesDocker Birthday #3 - Intro to Docker Slides
Docker Birthday #3 - Intro to Docker Slides
 
Docker Birthday #3 Slides - Overview
Docker Birthday #3 Slides - OverviewDocker Birthday #3 Slides - Overview
Docker Birthday #3 Slides - Overview
 
Docker Containers for Continuous Delivery
Docker Containers for Continuous DeliveryDocker Containers for Continuous Delivery
Docker Containers for Continuous Delivery
 
Cicd.pdf
Cicd.pdfCicd.pdf
Cicd.pdf
 
StackEngine Problem Space Demo
StackEngine Problem Space DemoStackEngine Problem Space Demo
StackEngine Problem Space Demo
 
Using the SDACK Architecture on Security Event Inspection
Using the SDACK Architecture on Security Event InspectionUsing the SDACK Architecture on Security Event Inspection
Using the SDACK Architecture on Security Event Inspection
 
Securing Red Hat OpenShift Containerized Applications At Enterprise Scale
Securing Red Hat OpenShift Containerized Applications At Enterprise ScaleSecuring Red Hat OpenShift Containerized Applications At Enterprise Scale
Securing Red Hat OpenShift Containerized Applications At Enterprise Scale
 
Introduction to Docker - Vellore Institute of Technology
Introduction to Docker - Vellore Institute of TechnologyIntroduction to Docker - Vellore Institute of Technology
Introduction to Docker - Vellore Institute of Technology
 
Docker and containers - For Boston Docker Meetup Workshop in March 2015
Docker and containers - For Boston Docker Meetup Workshop in March 2015Docker and containers - For Boston Docker Meetup Workshop in March 2015
Docker and containers - For Boston Docker Meetup Workshop in March 2015
 
DevOps as a Pathway to AWS | AWS Public Sector Summit 2016
DevOps as a Pathway to AWS | AWS Public Sector Summit 2016DevOps as a Pathway to AWS | AWS Public Sector Summit 2016
DevOps as a Pathway to AWS | AWS Public Sector Summit 2016
 

More from Shannon Williams

Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online MeetupInfrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online MeetupShannon Williams
 
Building an Enterprise CaaS with Kubernetes and Rancher 2.0
Building an Enterprise CaaS with Kubernetes and Rancher 2.0Building an Enterprise CaaS with Kubernetes and Rancher 2.0
Building an Enterprise CaaS with Kubernetes and Rancher 2.0Shannon Williams
 
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online Meetup
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online MeetupHands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online Meetup
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online MeetupShannon Williams
 
Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...
Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...
Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...Shannon Williams
 
Introducing Project Longhorn - April 2016 Rancher Online Meetup
Introducing Project Longhorn - April 2016 Rancher Online MeetupIntroducing Project Longhorn - April 2016 Rancher Online Meetup
Introducing Project Longhorn - April 2016 Rancher Online MeetupShannon Williams
 
Storage for containers and cloud-native deployments - Rancher Online Meetup -...
Storage for containers and cloud-native deployments - Rancher Online Meetup -...Storage for containers and cloud-native deployments - Rancher Online Meetup -...
Storage for containers and cloud-native deployments - Rancher Online Meetup -...Shannon Williams
 
More tips and tricks for running containers like a pro - Rancher Online MEetu...
More tips and tricks for running containers like a pro - Rancher Online MEetu...More tips and tricks for running containers like a pro - Rancher Online MEetu...
More tips and tricks for running containers like a pro - Rancher Online MEetu...Shannon Williams
 
Next Gen Storage and Networking in Container Environments - September 2016 Ra...
Next Gen Storage and Networking in Container Environments - September 2016 Ra...Next Gen Storage and Networking in Container Environments - September 2016 Ra...
Next Gen Storage and Networking in Container Environments - September 2016 Ra...Shannon Williams
 
From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016Shannon Williams
 
Introducing Kubernetes Clusters in Rancher - February 2016 Online Meetup
Introducing Kubernetes Clusters in Rancher - February 2016 Online MeetupIntroducing Kubernetes Clusters in Rancher - February 2016 Online Meetup
Introducing Kubernetes Clusters in Rancher - February 2016 Online MeetupShannon Williams
 

More from Shannon Williams (10)

Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online MeetupInfrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
 
Building an Enterprise CaaS with Kubernetes and Rancher 2.0
Building an Enterprise CaaS with Kubernetes and Rancher 2.0Building an Enterprise CaaS with Kubernetes and Rancher 2.0
Building an Enterprise CaaS with Kubernetes and Rancher 2.0
 
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online Meetup
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online MeetupHands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online Meetup
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online Meetup
 
Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...
Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...
Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...
 
Introducing Project Longhorn - April 2016 Rancher Online Meetup
Introducing Project Longhorn - April 2016 Rancher Online MeetupIntroducing Project Longhorn - April 2016 Rancher Online Meetup
Introducing Project Longhorn - April 2016 Rancher Online Meetup
 
Storage for containers and cloud-native deployments - Rancher Online Meetup -...
Storage for containers and cloud-native deployments - Rancher Online Meetup -...Storage for containers and cloud-native deployments - Rancher Online Meetup -...
Storage for containers and cloud-native deployments - Rancher Online Meetup -...
 
More tips and tricks for running containers like a pro - Rancher Online MEetu...
More tips and tricks for running containers like a pro - Rancher Online MEetu...More tips and tricks for running containers like a pro - Rancher Online MEetu...
More tips and tricks for running containers like a pro - Rancher Online MEetu...
 
Next Gen Storage and Networking in Container Environments - September 2016 Ra...
Next Gen Storage and Networking in Container Environments - September 2016 Ra...Next Gen Storage and Networking in Container Environments - September 2016 Ra...
Next Gen Storage and Networking in Container Environments - September 2016 Ra...
 
From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016
 
Introducing Kubernetes Clusters in Rancher - February 2016 Online Meetup
Introducing Kubernetes Clusters in Rancher - February 2016 Online MeetupIntroducing Kubernetes Clusters in Rancher - February 2016 Online Meetup
Introducing Kubernetes Clusters in Rancher - February 2016 Online Meetup
 

Recently uploaded

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 

Building a Scalable CI Platform using Docker, Drone and Rancher

  • 1. © 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc . Building a Scalable CI Deployment with Docker, Drone and Rancher August 13, 2015 #ranchermeetup
  • 2. © 2015 Rancher Labs, Inc. Shannon Williams Co-Founder/VP Marketing @smw355 1 Darren Shepherd Co-Founder/Chief Architect @ibuildthecloud Freenode: darren0 #ranchermeetup
  • 3. © 2015 Rancher Labs, Inc. Bill Maxwell Director of DevOps @CloudNautique 2 Brad Rydzewski Founder of Drone.io @bradrydzewski @droneio www.drone.io #ranchermeetup
  • 4. © 2015 Rancher Labs, Inc. First things first… This is a not a ! 3 #ranchermeetup #ranchermeetup
  • 5. © 2015 Rancher Labs, Inc.4 There are rules for a meetup! • Questions are always welcome • Demo, then demo some more • Keep the slides to a minimum • Open to proposals • Give away stuff with your logo on it #ranchermeetup
  • 6. © 2015 Rancher Labs, Inc. Tweets = Shirts First 10 Rancher Screenshots posteds on Twitter about today’s #RancherMeetup will get a Rancher shirt Follow @rancher_labs 5 #ranchermeetup
  • 7. © 2015 Rancher Labs, Inc. Agenda • Why is Docker becoming so popular in DevOps • How we run our CI process at Rancher • Demo: Drone, Docker, Rancher • Drone.io Overview and RoadMap • Latest Rancher News: LibCompose, Rolling Upgrades, Virtual Host LB, Sidekicks, etc. 6 #ranchermeetup
  • 8. © 2015 Rancher Labs, Inc. Containers are growing in popularity because they improve the entire DevOps pipeline • Quick onboarding of developers • Consistent software builds • Accurate test environments • More frequent code releases • Immutable production environments • Orchestrated upgrades 7
  • 9. © 2015 Rancher Labs, Inc. Many organizations are looking at how to incorporate Docker into their pipelines Source Code Repo CI/CD Build and Test tools Docker Tools 8 Develop Build Package Test Deploy/Upgrade Operate
  • 10. © 2015 Rancher Labs, Inc. Open source software for building a Private Container Service 9
  • 11. © 2015 Rancher Labs, Inc. What is a container service? Central service where users and teams can create container environments for running services and applications Includes: 1. Container Orchestration 2. Container Infrastructure 3. Container Management 10
  • 12. © 2015 Rancher Labs, Inc. Environment What is a container service? 11 Private Container Service Resources Resources (Clouds, VMs, Servers) Environment Resources DevOps Pipeline User Directory Container Registry Ops Tools
  • 13. © 2015 Rancher Labs, Inc. Build Environment DevOps builds software in the container service - DevOps teams create Build Environments - Adds resources and Jenkins slaves - Developer Pushes Code to Repo - Jenkins creates build containers - Build and Unit Tests run in build container - Outputs Artifacts - Jenkins creates Packaging container - Push Docker Image to registry - Build environments scale elastically Build Docker File Packaging Docker File Test Code Build Docker File Develop Build Package Test Deploy/Upgrade Operate
  • 14. © 2015 Rancher Labs, Inc. Test Environment DevOps tests software in the container service - Create Test Environments - Upload Compose & Test files - Build triggers Jenkins - Jenkins triggers Rancher to deploy compose - Rancher creates containers, networks, storage, etc. - Test container conducts integration tests Develop Build Package Test Deploy/Upgrade Operate Test docker-compose.yml lb: image: haproxy links: - web tomcat: image: app:buildn links: - db - cache cache: image: memcache db: image: mysql:testn Hosts db - mysql:testn cache - memcache Lb -haproxy tomcat -app:buildn Test Test Compose Images
  • 15. © 2015 Rancher Labs, Inc. Production Environment Hosts DevOps runs production in the container service - Production Compose - Rancher deploys environment - Update Scaling - Health Checks & HA - Upgrade - Backup & Recovery Develop Build Package Test Deploy/Upgrade Operate docker-compose.yml lb: image: haproxy links: - web tomcat: image: app:buildn links: - db - cache cache: image: memcache db: image: mysql lb tomcat CacheMySQL Health Check Interval: 2 sec Timeout: 2 sec Failure Retry Frequency: 3 Success Retry Frequency: 2 Recovery Delay: 30 sec tomcat(build n+1)
  • 16. Drone, Docker and Rancher CI here at Rancher Labs Bill Maxwell Director of DevOps @CloudNautique 16 #ranchermeetup
  • 17. © 2015 Rancher Labs, Inc. CI / CD @ Rancher Labs • Primarily Developers • Distributed • GitHub Focused 17 The Team
  • 18. © 2015 Rancher Labs, Inc. Solution Space - Low Administrative Overhead - GitHub Integration - Docker Integration 18 ?
  • 19. © 2015 Rancher Labs, Inc. Selection Drone.IO - Built around Docker - State is stored in Database - Single container deployment - Simple GitHub integration 19
  • 20. © 2015 Rancher Labs, Inc. Pipeline View GitHub Drone Tests Master Builds Build Build Build Build refresh Developer Pushes Code Run Tests WebHook Status API
  • 21. © 2015 Rancher Labs, Inc. Scaling Drone - Number of Developers - Build frequency - Multiple projects - Open Source 21
  • 22. © 2015 Rancher Labs, Inc. Rancher With - Private Networking - Native Docker We Get - Easily Distributed Drone! 22 Rancher Drone Worker Worker Worker Worker Worker Worker
  • 23. © 2015 Rancher Labs, Inc.23 Demo #ranchermeetup
  • 24. © 2015 Rancher Labs, Inc.24 Brad Rydzewski Founder of Drone.io @bradrydzewski @droneio www.drone.io #ranchermeetup Latest news about Drone.io
  • 25. New in 0.4 ● Improved Yaml ● Improved UX ● Matrix Builds ● External Plugins
  • 26. build: image: golang commands: - go test -v compose: postgres: image: postgres environment: - PG_USER=foo - PG_PASS=bar Composable Builds build configuration similar to docker compose
  • 27. build: image: golang:$$go_version commands: - go test -v compose: redis: image: redis:$$redis_version matrix: go_version: - 1.4 - 1.3 redis_version: - 2.8 - latest Matrix Builds tests 4 different environment permutations
  • 28. build: image: golang commands: - go test -v notify: slack: image: plugins/slack token: ... External Plugins docker pull plugins/slack
  • 29. docker run plugins/drone-slack << EOF { “repo”: { ... }, “build”: { “number”: 1, “status”: “success” } “slack”: { “token”: “...” } } EOF External Plugins Plugins accept build details via stdin
  • 30. Latest Rancher Enhancements 30 Load Balancing • Virtual Host Support for LB Services • Labels/Scheduling for Load Balancers in UI • Internal Load Balancing • Load Balancing External Services • Supporting CNAME for External Services Service Discovery and Management • Cross Stack Linking • Service Sidekicks • Rancher Compose CLI support for Rolling Upgrades Other • Support Random IP for DNS • Improved Rancher Server SSL Support
  • 31. © 2015 Rancher Labs, Inc.31 #ranchermeetup http://info.rancher.com/beta
  • 32. © 2015 Rancher Labs, Inc. Getting Started Rancher and RancherOS live in GitHub – Get Involved, Join the Beta 32 #ranchermeetup http://github.com/rancher
  • 33. © 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc . Thank you rancher.com