SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
Docker + MongoDB
Alvin Richards, Enterprise Products Lead
alvin@docker.com
@jonnyeight
Part One – What is Docker?
Docker Mission – Make the Internet Programmable
3
Build	
   Ship	
   Run	
  
Open	
  Standards	
  
Plumbing	
  
Pla6orm	
  
Solu8ons	
  
Engine
Machine
ComposeSwarm
Distribution
Image specContainer run-time spec
RunC
Notary
Docker
Trusted
Registry
Project
"Orca"
 	
  	
  	
  	
  	
  Open	
  Container	
  Ini-a-ve	
  
	
  	
  	
  	
  	
  	
  RunC	
  
	
  	
  	
  	
  	
  	
  notary	
  
4
Open Standards & Plumbing
Open Container Initiative (OCI)
Coalition of industry leaders join forces to eliminate fragmentation
•  Form a vendor-neutral, open source governance model under the Linux
Foundation
•  Establish common standards for container format and runtime
•  Docker donated its container format, runtime and associated specifications
•  Appoint maintainers for the libcontainer project
5
h3p://www.opencontainers.org/	
  
 	
  	
  	
  	
  	
  Networking	
  	
  
	
  	
  	
  	
  	
  	
  Plugins	
  
	
  	
  	
  	
  	
  	
  Orchestra-on	
  
6
Docker Platform
Networking
8
Before	
  
•  Inflexible
•  Single host
•  Limited to one network
X
•  Container SDN
•  Distributed networking
•  Portable across networks
•  Plug ins to broad ecosystem
ABer	
  
Plugins
Pluggable Architecture to extend Docker functionality
•  Introducing Networking and Volume plugins
•  For Users: Portability and choice for developers and ops
•  For Partners: Easily integrate and access Docker users
•  Collaboration with Cluster HQ, Glider Labs, Weave
9
Networking
Volumes
Docker	
  Engine	
  
Plug	
  ins	
  >	
  docker	
  
Docker client
Orchestration Across the App Lifecycle
	
  	
  	
  	
  	
  	
  Docker	
  Machine	
  	
  
	
  	
  	
  	
  	
  	
  Docker	
  Swarm	
  
	
  	
  	
  	
  	
  	
  Docker	
  Compose	
  
10
Docker Compose and Swarm
•  Consistent developer experience with flexible Swarm backends
•  Integrated with Docker Networking
•  Mesos backend beta available
•  Amazon ECS backend collaboration WIP
11
docker	
  
Docker client
Coming Soon!
Running Docker in Production
Three	
  Key	
  Use	
  Cases	
  
Produc-on	
  Requirements	
  
Commercial	
  Availability	
  
12
Continuous Integration and Delivery
13
Developer	
  
Version	
  
control	
  
1.	
  Development	
   2.	
  Test	
   3.	
  Stage	
  /	
  Produc-on	
  
QA	
  /	
  QE	
  
Sysadmin	
  
Video from DockerCon
Containers as a Service
Developer	
   Sysadmin	
  
DevOps	
  
Tomcat
Jenkins
MongoDB Deployment	
  
Video from DockerCon
SysAdmins
DBAs
Data Processing Pipelines
Data Scientist
$ docker
Data Nodes
Video from DockerCon
Docker Enterprise Solutions
16
Server or Cloud Hosted Registry
Docker Engine
Stable	
   Secure	
   Responsive	
  
Docker Trusted
Registry
Docker Hub
or
Commercial Subscruption
Get it here!
Part Two: Development through to Production
•  Build & Run an App in Development
–  Python + MongoDB
•  Deploy to a Swarm cluster in Production
–  Scale Web services
•  Deploy new MongoDB Cluster in Production
Lets build an App!
19
web	
  
mongodb	
  
Development
python / flask
Scale in Production
20
web2	
   web3	
   web4	
   webN	
  
mongos	
  
cfg3	
  cfg2	
  cfg1	
  
web	
   web1	
  
mongodb	
  
Development
…
Production
HA	
  Proxy	
  
rs1a	
  
rs1b	
  
rs1c	
  
rs2a	
  
rs2b	
  
rs2c	
  
Demo 1 : Build an App
21
Roll the App to Production behind HA Proxy
22
web	
   web1	
  
Development Production
mongodb	
  
HA	
  Proxy	
  
mongodb	
  
Scale the web tier
23
web2	
   web3	
   web4	
   webN	
  web	
   web1	
  
mongodb	
  
Development
…
Production
mongodb	
  
HA	
  Proxy	
  
Demo 2 : Scale the Web Tier
24
Deploy a sharded cluster
25
web2	
   web3	
   web4	
   webN	
  
mongos	
  
cfg3	
  cfg2	
  cfg1	
  
web	
   web1	
  
mongodb	
  
Development
…
Production
mongodb	
  
HA	
  Proxy	
  
rs1a	
  
rs1b	
  
rs1c	
  
rs2a	
  
rs2b	
  
rs2c	
  
Migrate to the new cluster
27
web2	
   web3	
   web4	
   webN	
  
mongos	
  
cfg3	
  cfg2	
  cfg1	
  
web	
   web1	
  
mongodb	
  
Development
…
Production
mongodb	
  
HA	
  Proxy	
  
rs1a	
  
rs1b	
  
rs1c	
  
rs2a	
  
rs2b	
  
rs2c	
  
Demo 3 : Scale the Database
28
Storage: Inside or outside the container?
Inside
•  Encapsulation of Concerns
29
Host
daemon
container
Host
daemon
container e.g.
SSD
e.g.
EBS
Outside
•  Separation of concerns
•  Storage Features (e.g. snapshots)
/data/db
/mnt/xx:/data/db
Summary
• Define	
  Container,	
  their	
  contents	
  and	
  how	
  they	
  work	
  together	
  once	
  
• Deploy	
  the	
  same	
  images	
  in	
  Dev,	
  Pre-­‐Prod	
  and	
  Produc-on	
  across	
  
PlaZorms	
  
One	
  solu-on	
  from	
  Dev	
  -­‐>	
  Produc-on	
  
• Ops	
  define	
  the	
  whitelisted	
  images,	
  security	
  policies	
  etc.	
  
• Dev	
  use	
  approved	
  images	
  to	
  build	
  upon	
  
• Eliminate	
  the	
  complexity	
  (and	
  cost)	
  of	
  deployment	
  
Running	
  Docker	
  &	
  MongoDB	
  in	
  Produc-on	
  
30
Thanks and Q&A
•  Code
–  https://github.com/alvinr/docker-demo/tree/master/dockercon15demo
•  alvin@docker.com
•  @jonnyeight
31

Contenu connexe

Tendances

Tendances (20)

Using Containers for Continuous Integration and Continuous Delivery
Using Containers for Continuous Integration and Continuous DeliveryUsing Containers for Continuous Integration and Continuous Delivery
Using Containers for Continuous Integration and Continuous Delivery
 
Containers without docker
Containers without dockerContainers without docker
Containers without docker
 
Docker Orchestration at Production Scale
Docker Orchestration at Production Scale Docker Orchestration at Production Scale
Docker Orchestration at Production Scale
 
迎接嶄新的Windows容器叢集架構:Kubernetes
迎接嶄新的Windows容器叢集架構:Kubernetes迎接嶄新的Windows容器叢集架構:Kubernetes
迎接嶄新的Windows容器叢集架構:Kubernetes
 
HP Advanced Technology Group: Docker and Ansible
HP Advanced Technology Group: Docker and AnsibleHP Advanced Technology Group: Docker and Ansible
HP Advanced Technology Group: Docker and Ansible
 
Docker on Windows
Docker on WindowsDocker on Windows
Docker on Windows
 
Docker for Java Developers - Fabiane Nardon and Arun gupta
Docker for Java Developers - Fabiane Nardon and Arun guptaDocker for Java Developers - Fabiane Nardon and Arun gupta
Docker for Java Developers - Fabiane Nardon and Arun gupta
 
KubeCon EU 2016: Multi-Tenant Kubernetes
KubeCon EU 2016: Multi-Tenant KubernetesKubeCon EU 2016: Multi-Tenant Kubernetes
KubeCon EU 2016: Multi-Tenant Kubernetes
 
Effective Data Pipelines with Docker & Jenkins - Brian Donaldson
Effective Data Pipelines with Docker & Jenkins - Brian DonaldsonEffective Data Pipelines with Docker & Jenkins - Brian Donaldson
Effective Data Pipelines with Docker & Jenkins - Brian Donaldson
 
DockerCon EU 2015: The Glue is the Hard Part: Making a Production-Ready PaaS
DockerCon EU 2015: The Glue is the Hard Part: Making a Production-Ready PaaSDockerCon EU 2015: The Glue is the Hard Part: Making a Production-Ready PaaS
DockerCon EU 2015: The Glue is the Hard Part: Making a Production-Ready PaaS
 
Microservices at scale with docker and kubernetes - AMS JUG 2017
Microservices at scale with docker and kubernetes - AMS JUG 2017Microservices at scale with docker and kubernetes - AMS JUG 2017
Microservices at scale with docker and kubernetes - AMS JUG 2017
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
Introduction kubernetes 2017_12_24
Introduction kubernetes 2017_12_24Introduction kubernetes 2017_12_24
Introduction kubernetes 2017_12_24
 
LinuxKit: the first five months by Justin Cormack & Riyaz Faizullabhoy (Docker)
LinuxKit: the first five months by Justin Cormack & Riyaz Faizullabhoy (Docker)LinuxKit: the first five months by Justin Cormack & Riyaz Faizullabhoy (Docker)
LinuxKit: the first five months by Justin Cormack & Riyaz Faizullabhoy (Docker)
 
Activision's Skypilot: Delivering Amazing Game Experiences Through Containeri...
Activision's Skypilot: Delivering Amazing Game Experiences Through Containeri...Activision's Skypilot: Delivering Amazing Game Experiences Through Containeri...
Activision's Skypilot: Delivering Amazing Game Experiences Through Containeri...
 
Windows Server Containers- How we hot here and architecture deep dive
Windows Server Containers- How we hot here and architecture deep diveWindows Server Containers- How we hot here and architecture deep dive
Windows Server Containers- How we hot here and architecture deep dive
 
Docker session IV: Docker Compose and Docker Swarm
Docker session IV: Docker Compose and Docker SwarmDocker session IV: Docker Compose and Docker Swarm
Docker session IV: Docker Compose and Docker Swarm
 
Kubernetes and Hybrid Deployments
Kubernetes and Hybrid DeploymentsKubernetes and Hybrid Deployments
Kubernetes and Hybrid Deployments
 
Kubernetes in Docker
Kubernetes in DockerKubernetes in Docker
Kubernetes in Docker
 
Containerd internals: building a core container runtime
Containerd internals: building a core container runtimeContainerd internals: building a core container runtime
Containerd internals: building a core container runtime
 

En vedette

App Sharding to Autosharding at Sailthru
App Sharding to Autosharding at SailthruApp Sharding to Autosharding at Sailthru
App Sharding to Autosharding at Sailthru
MongoDB
 
High Performance MongoDB Clusters with Amazon EBS Provisioned IOPS
High Performance MongoDB Clusters with Amazon EBS Provisioned IOPS High Performance MongoDB Clusters with Amazon EBS Provisioned IOPS
High Performance MongoDB Clusters with Amazon EBS Provisioned IOPS
Amazon Web Services
 

En vedette (7)

App Sharding to Autosharding at Sailthru
App Sharding to Autosharding at SailthruApp Sharding to Autosharding at Sailthru
App Sharding to Autosharding at Sailthru
 
No sql matters_2012_keynote
No sql matters_2012_keynoteNo sql matters_2012_keynote
No sql matters_2012_keynote
 
Webinar usando graylog para la gestión centralizada de logs
Webinar usando graylog para la gestión centralizada de logsWebinar usando graylog para la gestión centralizada de logs
Webinar usando graylog para la gestión centralizada de logs
 
Monitoring with Graylog - a modern approach to monitoring?
Monitoring with Graylog - a modern approach to monitoring?Monitoring with Graylog - a modern approach to monitoring?
Monitoring with Graylog - a modern approach to monitoring?
 
MongoDB World 2016: Keynote
MongoDB World 2016: KeynoteMongoDB World 2016: Keynote
MongoDB World 2016: Keynote
 
MongoDB Launchpad 2016: MongoDB 3.4: Your Database Evolved
MongoDB Launchpad 2016: MongoDB 3.4: Your Database EvolvedMongoDB Launchpad 2016: MongoDB 3.4: Your Database Evolved
MongoDB Launchpad 2016: MongoDB 3.4: Your Database Evolved
 
High Performance MongoDB Clusters with Amazon EBS Provisioned IOPS
High Performance MongoDB Clusters with Amazon EBS Provisioned IOPS High Performance MongoDB Clusters with Amazon EBS Provisioned IOPS
High Performance MongoDB Clusters with Amazon EBS Provisioned IOPS
 

Similaire à Webinar: From Development to Production with Docker and MongoDB

Docker Birthday #3 Slides - Overview
Docker Birthday #3 Slides - OverviewDocker Birthday #3 Slides - Overview
Docker Birthday #3 Slides - Overview
Chris Ciborowski
 
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM France Lab
 

Similaire à Webinar: From Development to Production with Docker and MongoDB (20)

WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on ContainersWSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
 
Deploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on ContainersDeploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on Containers
 
Faster and Easier Software Development using Docker Platform
Faster and Easier Software Development using Docker PlatformFaster and Easier Software Development using Docker Platform
Faster and Easier Software Development using Docker Platform
 
Docker Overview - Rise of the Containers
Docker Overview - Rise of the ContainersDocker Overview - Rise of the Containers
Docker Overview - Rise of the Containers
 
Lean & mean applications using Docker EE and golang
Lean & mean applications using Docker EE and golangLean & mean applications using Docker EE and golang
Lean & mean applications using Docker EE and golang
 
Docker Timisoara: Dockercon19 recap slides, 23 may 2019
Docker Timisoara: Dockercon19 recap slides, 23 may 2019Docker Timisoara: Dockercon19 recap slides, 23 may 2019
Docker Timisoara: Dockercon19 recap slides, 23 may 2019
 
DockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaDockerCon EU 2015 Barcelona
DockerCon EU 2015 Barcelona
 
Container on azure
Container on azureContainer on azure
Container on azure
 
Docker and Microsoft - Windows Server 2016 Technical Deep Dive
Docker and Microsoft - Windows Server 2016 Technical Deep DiveDocker and Microsoft - Windows Server 2016 Technical Deep Dive
Docker and Microsoft - Windows Server 2016 Technical Deep Dive
 
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 : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c....docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c...
 
docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep Dive
 
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
 
Microsoft Techsummit Zurich Docker and Microsoft
Microsoft Techsummit Zurich Docker and MicrosoftMicrosoft Techsummit Zurich Docker and Microsoft
Microsoft Techsummit Zurich Docker and Microsoft
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ....docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Docker for dev
Docker for devDocker for dev
Docker for dev
 

Plus de MongoDB

Plus de MongoDB (20)

MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
 
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
 
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
 
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDBMongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
 
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
 
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series DataMongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
 
MongoDB SoCal 2020: MongoDB Atlas Jump Start
 MongoDB SoCal 2020: MongoDB Atlas Jump Start MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB SoCal 2020: MongoDB Atlas Jump Start
 
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
 
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
 
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
 
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
 
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your MindsetMongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
 
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas JumpstartMongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
 
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
 
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
 
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
 
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep DiveMongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
 
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & GolangMongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
 
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
 
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Webinar: From Development to Production with Docker and MongoDB

  • 1. Docker + MongoDB Alvin Richards, Enterprise Products Lead alvin@docker.com @jonnyeight
  • 2. Part One – What is Docker?
  • 3. Docker Mission – Make the Internet Programmable 3 Build   Ship   Run   Open  Standards   Plumbing   Pla6orm   Solu8ons   Engine Machine ComposeSwarm Distribution Image specContainer run-time spec RunC Notary Docker Trusted Registry Project "Orca"
  • 4.            Open  Container  Ini-a-ve              RunC              notary   4 Open Standards & Plumbing
  • 5. Open Container Initiative (OCI) Coalition of industry leaders join forces to eliminate fragmentation •  Form a vendor-neutral, open source governance model under the Linux Foundation •  Establish common standards for container format and runtime •  Docker donated its container format, runtime and associated specifications •  Appoint maintainers for the libcontainer project 5 h3p://www.opencontainers.org/  
  • 6.            Networking                Plugins              Orchestra-on   6 Docker Platform
  • 7. Networking 8 Before   •  Inflexible •  Single host •  Limited to one network X •  Container SDN •  Distributed networking •  Portable across networks •  Plug ins to broad ecosystem ABer  
  • 8. Plugins Pluggable Architecture to extend Docker functionality •  Introducing Networking and Volume plugins •  For Users: Portability and choice for developers and ops •  For Partners: Easily integrate and access Docker users •  Collaboration with Cluster HQ, Glider Labs, Weave 9 Networking Volumes Docker  Engine   Plug  ins  >  docker   Docker client
  • 9. Orchestration Across the App Lifecycle            Docker  Machine                Docker  Swarm              Docker  Compose   10
  • 10. Docker Compose and Swarm •  Consistent developer experience with flexible Swarm backends •  Integrated with Docker Networking •  Mesos backend beta available •  Amazon ECS backend collaboration WIP 11 docker   Docker client Coming Soon!
  • 11. Running Docker in Production Three  Key  Use  Cases   Produc-on  Requirements   Commercial  Availability   12
  • 12. Continuous Integration and Delivery 13 Developer   Version   control   1.  Development   2.  Test   3.  Stage  /  Produc-on   QA  /  QE   Sysadmin   Video from DockerCon
  • 13. Containers as a Service Developer   Sysadmin   DevOps   Tomcat Jenkins MongoDB Deployment   Video from DockerCon
  • 14. SysAdmins DBAs Data Processing Pipelines Data Scientist $ docker Data Nodes Video from DockerCon
  • 15. Docker Enterprise Solutions 16 Server or Cloud Hosted Registry Docker Engine Stable   Secure   Responsive   Docker Trusted Registry Docker Hub or Commercial Subscruption
  • 17. Part Two: Development through to Production •  Build & Run an App in Development –  Python + MongoDB •  Deploy to a Swarm cluster in Production –  Scale Web services •  Deploy new MongoDB Cluster in Production
  • 18. Lets build an App! 19 web   mongodb   Development python / flask
  • 19. Scale in Production 20 web2   web3   web4   webN   mongos   cfg3  cfg2  cfg1   web   web1   mongodb   Development … Production HA  Proxy   rs1a   rs1b   rs1c   rs2a   rs2b   rs2c  
  • 20. Demo 1 : Build an App 21
  • 21. Roll the App to Production behind HA Proxy 22 web   web1   Development Production mongodb   HA  Proxy   mongodb  
  • 22. Scale the web tier 23 web2   web3   web4   webN  web   web1   mongodb   Development … Production mongodb   HA  Proxy  
  • 23. Demo 2 : Scale the Web Tier 24
  • 24. Deploy a sharded cluster 25 web2   web3   web4   webN   mongos   cfg3  cfg2  cfg1   web   web1   mongodb   Development … Production mongodb   HA  Proxy   rs1a   rs1b   rs1c   rs2a   rs2b   rs2c  
  • 25. Migrate to the new cluster 27 web2   web3   web4   webN   mongos   cfg3  cfg2  cfg1   web   web1   mongodb   Development … Production mongodb   HA  Proxy   rs1a   rs1b   rs1c   rs2a   rs2b   rs2c  
  • 26. Demo 3 : Scale the Database 28
  • 27. Storage: Inside or outside the container? Inside •  Encapsulation of Concerns 29 Host daemon container Host daemon container e.g. SSD e.g. EBS Outside •  Separation of concerns •  Storage Features (e.g. snapshots) /data/db /mnt/xx:/data/db
  • 28. Summary • Define  Container,  their  contents  and  how  they  work  together  once   • Deploy  the  same  images  in  Dev,  Pre-­‐Prod  and  Produc-on  across   PlaZorms   One  solu-on  from  Dev  -­‐>  Produc-on   • Ops  define  the  whitelisted  images,  security  policies  etc.   • Dev  use  approved  images  to  build  upon   • Eliminate  the  complexity  (and  cost)  of  deployment   Running  Docker  &  MongoDB  in  Produc-on   30
  • 29. Thanks and Q&A •  Code –  https://github.com/alvinr/docker-demo/tree/master/dockercon15demo •  alvin@docker.com •  @jonnyeight 31