SlideShare une entreprise Scribd logo
1  sur  30
© 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc .
Building a Private Docker Catalog
January 21, 2016
#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
Principal DevOps
Engineer
@CloudNautique
2 #ranchermeetup
© 2015 Rancher Labs, Inc.
First things first…
This is a not a !
3 #ranchermeetup
© 2015 Rancher Labs, Inc.4
There are rules for a meetup!
• We won’t be done on time
• Questions are always welcome
• There are no bad questions
• Demo, then demo some more
• Things will break, be patient
#ranchermeetup
© 2015 Rancher Labs, Inc.5
Join the conversation on Twitter
#ranchermeetup
© 2015 Rancher Labs, Inc.
Agenda
• Introducing the Rancher Application Catalog – Shannon
• Demo: Deploying a Catalog Item in Rancher – Shannon
• Anatomy of a Catalog Compose File – Bill
• Demo: Building a Catalog Template for Drone – Bill
• Latest Rancher Updates – Darren
• Getting Started with Rancher
6 #ranchermeetup
© 2015 Rancher Labs, Inc.
Rancher Labs
7 #ranchermeetup
© 2015 Rancher Labs, Inc.
Rancher Overview
8
Rancher Catalog
AD/LDAP
Alerts/Events
Environment 1 Environment N
…
Network Services Storage Services
Container Orchestration and Scheduling
User Mgmt Ops Mgmt
#ranchermeetup
© 2015 Rancher Labs, Inc.
Introducing
the Rancher
Application
Catalog
#ranchermeetup
© 2015 Rancher Labs, Inc.
Docker Compose has always been at
the heart of Rancher
10
• Describe deployments
• Launch Stacks
• Execute upgrades
• Define Service Discovery
Policies
• Describe Scheduling
Rules
• Inject Environment
Variables
• Program Load Balancers
#ranchermeetup
© 2015 Rancher Labs, Inc.
Microservices architectures increase the
Proliferation of Docker Compose
11 #ranchermeetup
1.1
docker-compose.yml
lb:
image: haproxy
links:
- app
app:
image: node
links:
- database
database:
image: redis
© 2015 Rancher Labs, Inc.
Compose files change throughout
the lifecycle of a stack
12 #ranchermeetup
Test Staging Prod RollbackDev
Develop Build Package Test Deploy/Upgrade Operate
© 2015 Rancher Labs, Inc.
Late last year we introduced the
Rancher Catalog
13
- Exposes Docker
Compose
Templates stored in
GitHub
- Started with a set of
public templates for
common services
- Allows configuration
and deployment of
stacks
- Supports versioning
and upgrades
- Just added support
for private catalogs
#ranchermeetup
http://github.com/rancher/rancher-catalog
© 2015 Rancher Labs, Inc.14
Demo
#ranchermeetup
© 2015 Rancher Labs, Inc.
Building
Catalog
Templates
#ranchermeetup
© 2015 Rancher Labs, Inc.16 #ranchermeetup
Catalog
Entry
Compose
file
Services
Containers
© 2015 Rancher Labs, Inc.
The Process to Create A Template
C
C
C
C
C
C
C
C
C
C
Compose
Compose
Prams
Entry
Start with
Containers
Arrange into
services
Express in
compose
Parameterize
Create entry
#ranchermeetup
© 2015 Rancher Labs, Inc.
Start With Containers
• Look upstream first!
(reuse, reuse, reuse)
• What tools are
needed.
• Data layout, health
checks and
configuration.
Upstream
Image
F
F
F
F DB
#ranchermeetup
© 2015 Rancher Labs, Inc.
Organize into Services
• Services have many
parts.
• Keep each
container focused
on one thing.
• Remember to share!
Volumes
C C
C
#ranchermeetup
© 2015 Rancher Labs, Inc.
Organize into Services (cont)
Typical services have:
• A single data
container.
• Daemon (main
process)
• Configuration
• Shared network
Volumes
C C
C
#ranchermeetup
© 2015 Rancher Labs, Inc.
Create Compose File
• Map out the
containers.
• Wire them together.
#ranchermeetup
© 2015 Rancher Labs, Inc.
Parameterize!
• What does the end
user NEED to know
to configure the app.
• What can be a
reasonable default.
drone-server:
image: drone/drone:0.4
volumes_from:
- drone-data-volume
environment:
config_val: ${value}
external_links:
- galera/galera-lb:mysqldb
ports:
- ”${exposed_port}:8000”
#ranchermeetup
© 2015 Rancher Labs, Inc.
Create Catalog entry
- Make it EASY for the
user to provide info.
- Create a Readme
#ranchermeetup
© 2015 Rancher Labs, Inc.
Demo!
• Add demo catalog to Rancher
• Walk through creating containers
• Walk through the docker-compose.yml
• Walk through catalog creation
#ranchermeetup
© 2015 Rancher Labs, Inc.
Latest Rancher Enhancements
25
0.51
• Random Port Assignment for Services
• API Audit Logs
#ranchermeetup
© 2015 Rancher Labs, Inc.26 #ranchermeetup
http://info.rancher.com/beta
© 2015 Rancher Labs, Inc.
Getting Started
Rancher and RancherOS live in GitHub – Get Involved, Join the Beta
27 #ranchermeetup
http://github.com/rancher
© 2015 Rancher Labs, Inc.
New eBook: Building a CI/CD Pipeline
with Docker & Rancher
28
http://info.rancher.com/cicd-with-docker-ebook
© 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc .
Thank you
rancher.com
#ranchermeetup

Contenu connexe

En vedette

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
 
Building a Scalable CI Platform using Docker, Drone and Rancher
Building a Scalable CI  Platform using Docker, Drone and RancherBuilding a Scalable CI  Platform using Docker, Drone and Rancher
Building a Scalable CI Platform using Docker, Drone and RancherShannon Williams
 
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
 
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
 
Orsys - Cycle certifiant - Responsable Infrastructure Cloud
Orsys - Cycle certifiant - Responsable Infrastructure CloudOrsys - Cycle certifiant - Responsable Infrastructure Cloud
Orsys - Cycle certifiant - Responsable Infrastructure CloudORSYS
 
Pivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
Pivoting Spring XD to Spring Cloud Data Flow with Sabby AnandanPivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
Pivoting Spring XD to Spring Cloud Data Flow with Sabby AnandanPivotalOpenSourceHub
 
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
 
Meetup Docker Marseille 20160628 - Présentation de Rancher
Meetup Docker Marseille 20160628 - Présentation de RancherMeetup Docker Marseille 20160628 - Présentation de Rancher
Meetup Docker Marseille 20160628 - Présentation de RancherAlexis Ducastel
 
How mentoring can help you start contributing to open source
How mentoring can help you start contributing to open sourceHow mentoring can help you start contributing to open source
How mentoring can help you start contributing to open sourceLuciano Resende
 
Luciano Resende's keynote at Apache big data conference
Luciano Resende's keynote at Apache big data conferenceLuciano Resende's keynote at Apache big data conference
Luciano Resende's keynote at Apache big data conferenceLuciano Resende
 
Writing Apache Spark and Apache Flink Applications Using Apache Bahir
Writing Apache Spark and Apache Flink Applications Using Apache BahirWriting Apache Spark and Apache Flink Applications Using Apache Bahir
Writing Apache Spark and Apache Flink Applications Using Apache BahirLuciano Resende
 
Release With Maven
Release With MavenRelease With Maven
Release With Maveneugenn
 
SystemML - Declarative Machine Learning
SystemML - Declarative Machine LearningSystemML - Declarative Machine Learning
SystemML - Declarative Machine LearningLuciano Resende
 
Lightning Talk: Running MongoDB on Docker for High Performance Deployments
Lightning Talk: Running MongoDB on Docker for High Performance DeploymentsLightning Talk: Running MongoDB on Docker for High Performance Deployments
Lightning Talk: Running MongoDB on Docker for High Performance DeploymentsMongoDB
 
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDBWebinar: Enabling Microservices with Containers, Orchestration, and MongoDB
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDBMongoDB
 
Oito dicas sobre Docker
Oito dicas sobre DockerOito dicas sobre Docker
Oito dicas sobre DockerMundo Docker
 

En vedette (18)

WTF Is Rancher?
WTF Is Rancher?WTF Is Rancher?
WTF Is 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 2016
 
Building a Scalable CI Platform using Docker, Drone and Rancher
Building a Scalable CI  Platform using Docker, Drone and RancherBuilding a Scalable CI  Platform using Docker, Drone and Rancher
Building a Scalable CI Platform using Docker, Drone and Rancher
 
Docker Logging Webinar
Docker Logging  WebinarDocker Logging  Webinar
Docker Logging Webinar
 
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
 
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...
 
Orsys - Cycle certifiant - Responsable Infrastructure Cloud
Orsys - Cycle certifiant - Responsable Infrastructure CloudOrsys - Cycle certifiant - Responsable Infrastructure Cloud
Orsys - Cycle certifiant - Responsable Infrastructure Cloud
 
Pivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
Pivoting Spring XD to Spring Cloud Data Flow with Sabby AnandanPivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
Pivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
 
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 -...
 
Meetup Docker Marseille 20160628 - Présentation de Rancher
Meetup Docker Marseille 20160628 - Présentation de RancherMeetup Docker Marseille 20160628 - Présentation de Rancher
Meetup Docker Marseille 20160628 - Présentation de Rancher
 
How mentoring can help you start contributing to open source
How mentoring can help you start contributing to open sourceHow mentoring can help you start contributing to open source
How mentoring can help you start contributing to open source
 
Luciano Resende's keynote at Apache big data conference
Luciano Resende's keynote at Apache big data conferenceLuciano Resende's keynote at Apache big data conference
Luciano Resende's keynote at Apache big data conference
 
Writing Apache Spark and Apache Flink Applications Using Apache Bahir
Writing Apache Spark and Apache Flink Applications Using Apache BahirWriting Apache Spark and Apache Flink Applications Using Apache Bahir
Writing Apache Spark and Apache Flink Applications Using Apache Bahir
 
Release With Maven
Release With MavenRelease With Maven
Release With Maven
 
SystemML - Declarative Machine Learning
SystemML - Declarative Machine LearningSystemML - Declarative Machine Learning
SystemML - Declarative Machine Learning
 
Lightning Talk: Running MongoDB on Docker for High Performance Deployments
Lightning Talk: Running MongoDB on Docker for High Performance DeploymentsLightning Talk: Running MongoDB on Docker for High Performance Deployments
Lightning Talk: Running MongoDB on Docker for High Performance Deployments
 
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDBWebinar: Enabling Microservices with Containers, Orchestration, and MongoDB
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
 
Oito dicas sobre Docker
Oito dicas sobre DockerOito dicas sobre Docker
Oito dicas sobre Docker
 

Plus de 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
 
Supercharging CI/CD with GitLab and Rancher - June 2017 Online Meetup
Supercharging CI/CD with GitLab and Rancher - June 2017 Online MeetupSupercharging CI/CD with GitLab and Rancher - June 2017 Online Meetup
Supercharging CI/CD with GitLab and Rancher - June 2017 Online MeetupShannon 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
 
Introducing Apache Mesos environments in Rancher - June 2016 Online Meetup
Introducing Apache Mesos environments in Rancher - June 2016 Online MeetupIntroducing Apache Mesos environments in Rancher - June 2016 Online Meetup
Introducing Apache Mesos environments in Rancher - June 2016 Online MeetupShannon 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
 

Plus de Shannon Williams (8)

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...
 
Supercharging CI/CD with GitLab and Rancher - June 2017 Online Meetup
Supercharging CI/CD with GitLab and Rancher - June 2017 Online MeetupSupercharging CI/CD with GitLab and Rancher - June 2017 Online Meetup
Supercharging CI/CD with GitLab and Rancher - June 2017 Online Meetup
 
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
 
Introducing Apache Mesos environments in Rancher - June 2016 Online Meetup
Introducing Apache Mesos environments in Rancher - June 2016 Online MeetupIntroducing Apache Mesos environments in Rancher - June 2016 Online Meetup
Introducing Apache Mesos environments in Rancher - June 2016 Online Meetup
 
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
 

Dernier

(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
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
 
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
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
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
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 

Dernier (20)

(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
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
 
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
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
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
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 

Building an Application Catalog with Rancher - Jan 2016 Online Meetup

  • 1. © 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc . Building a Private Docker Catalog January 21, 2016 #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 Principal DevOps Engineer @CloudNautique 2 #ranchermeetup
  • 4. © 2015 Rancher Labs, Inc. First things first… This is a not a ! 3 #ranchermeetup
  • 5. © 2015 Rancher Labs, Inc.4 There are rules for a meetup! • We won’t be done on time • Questions are always welcome • There are no bad questions • Demo, then demo some more • Things will break, be patient #ranchermeetup
  • 6. © 2015 Rancher Labs, Inc.5 Join the conversation on Twitter #ranchermeetup
  • 7. © 2015 Rancher Labs, Inc. Agenda • Introducing the Rancher Application Catalog – Shannon • Demo: Deploying a Catalog Item in Rancher – Shannon • Anatomy of a Catalog Compose File – Bill • Demo: Building a Catalog Template for Drone – Bill • Latest Rancher Updates – Darren • Getting Started with Rancher 6 #ranchermeetup
  • 8. © 2015 Rancher Labs, Inc. Rancher Labs 7 #ranchermeetup
  • 9. © 2015 Rancher Labs, Inc. Rancher Overview 8 Rancher Catalog AD/LDAP Alerts/Events Environment 1 Environment N … Network Services Storage Services Container Orchestration and Scheduling User Mgmt Ops Mgmt #ranchermeetup
  • 10. © 2015 Rancher Labs, Inc. Introducing the Rancher Application Catalog #ranchermeetup
  • 11. © 2015 Rancher Labs, Inc. Docker Compose has always been at the heart of Rancher 10 • Describe deployments • Launch Stacks • Execute upgrades • Define Service Discovery Policies • Describe Scheduling Rules • Inject Environment Variables • Program Load Balancers #ranchermeetup
  • 12. © 2015 Rancher Labs, Inc. Microservices architectures increase the Proliferation of Docker Compose 11 #ranchermeetup 1.1 docker-compose.yml lb: image: haproxy links: - app app: image: node links: - database database: image: redis
  • 13. © 2015 Rancher Labs, Inc. Compose files change throughout the lifecycle of a stack 12 #ranchermeetup Test Staging Prod RollbackDev Develop Build Package Test Deploy/Upgrade Operate
  • 14. © 2015 Rancher Labs, Inc. Late last year we introduced the Rancher Catalog 13 - Exposes Docker Compose Templates stored in GitHub - Started with a set of public templates for common services - Allows configuration and deployment of stacks - Supports versioning and upgrades - Just added support for private catalogs #ranchermeetup http://github.com/rancher/rancher-catalog
  • 15. © 2015 Rancher Labs, Inc.14 Demo #ranchermeetup
  • 16. © 2015 Rancher Labs, Inc. Building Catalog Templates #ranchermeetup
  • 17. © 2015 Rancher Labs, Inc.16 #ranchermeetup Catalog Entry Compose file Services Containers
  • 18. © 2015 Rancher Labs, Inc. The Process to Create A Template C C C C C C C C C C Compose Compose Prams Entry Start with Containers Arrange into services Express in compose Parameterize Create entry #ranchermeetup
  • 19. © 2015 Rancher Labs, Inc. Start With Containers • Look upstream first! (reuse, reuse, reuse) • What tools are needed. • Data layout, health checks and configuration. Upstream Image F F F F DB #ranchermeetup
  • 20. © 2015 Rancher Labs, Inc. Organize into Services • Services have many parts. • Keep each container focused on one thing. • Remember to share! Volumes C C C #ranchermeetup
  • 21. © 2015 Rancher Labs, Inc. Organize into Services (cont) Typical services have: • A single data container. • Daemon (main process) • Configuration • Shared network Volumes C C C #ranchermeetup
  • 22. © 2015 Rancher Labs, Inc. Create Compose File • Map out the containers. • Wire them together. #ranchermeetup
  • 23. © 2015 Rancher Labs, Inc. Parameterize! • What does the end user NEED to know to configure the app. • What can be a reasonable default. drone-server: image: drone/drone:0.4 volumes_from: - drone-data-volume environment: config_val: ${value} external_links: - galera/galera-lb:mysqldb ports: - ”${exposed_port}:8000” #ranchermeetup
  • 24. © 2015 Rancher Labs, Inc. Create Catalog entry - Make it EASY for the user to provide info. - Create a Readme #ranchermeetup
  • 25. © 2015 Rancher Labs, Inc. Demo! • Add demo catalog to Rancher • Walk through creating containers • Walk through the docker-compose.yml • Walk through catalog creation #ranchermeetup
  • 26. © 2015 Rancher Labs, Inc. Latest Rancher Enhancements 25 0.51 • Random Port Assignment for Services • API Audit Logs #ranchermeetup
  • 27. © 2015 Rancher Labs, Inc.26 #ranchermeetup http://info.rancher.com/beta
  • 28. © 2015 Rancher Labs, Inc. Getting Started Rancher and RancherOS live in GitHub – Get Involved, Join the Beta 27 #ranchermeetup http://github.com/rancher
  • 29. © 2015 Rancher Labs, Inc. New eBook: Building a CI/CD Pipeline with Docker & Rancher 28 http://info.rancher.com/cicd-with-docker-ebook
  • 30. © 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc . Thank you rancher.com #ranchermeetup