SlideShare a Scribd company logo
Lightning Talk: 
Running MongoDB on Docker for 
High Performance Deployments 
Johannes Brandstetter 
Chef de Cuisine at MongoSoup 
@loomit
• MongoDB Hosting from Germany 
• Shared Hosting 
• Dedicated Servers 
• Customized Solutions
Announcing today: 
All instances deployed with 
MongoDB Enterprise Edition
Lightning Talk: Running MongoDB on Docker for High Performance Deployments
What is Docker?
What is Docker?
Lightning Talk: Running MongoDB on Docker for High Performance Deployments
Why should I care? 
It‘s the new hitsh*t and everyone‘s 
using it, or at least talking about it
But why would I use it for a Database? 
You can put its config in git 
Isolate all the things! 
It‘s freakin‘ fast
http://domino.research.ibm.com/library/cyberdig.nsf/papers/0929052195DD819C85257D2300681E7B/$File/rc25482.pdf
Top 5 tips for MongoDB on Docker
1. 
Use a proper base image
2. 
Activate ssh (seriously)
3. 
Use a data only container 
for your dbPath
4. 
Use a private Docker registry
5. 
Use DNS when deploying Replica Sets
Lightning Talk: Running MongoDB on Docker for High Performance Deployments
Visit our booth, we have a raffle! 
www.mongosoup.de 
@mongosoup

More Related Content

What's hot (20)

PPTX
Visual cryptography
Shahid Zargar
 
PDF
Blockchain, Self-Sovereign Identity and Credentials
StrategyWorks
 
PPT
money pad the future wallet
Sabin Tripathi
 
PPTX
Cyber cash
Mohd. Ahmad Siddiqi
 
PDF
Anpr based licence plate detection report
somchaturvedi
 
PPT
Chapter10 image segmentation
asodariyabhavesh
 
PPT
Polygon filling
Ankit Garg
 
PDF
YOLOv4: optimal speed and accuracy of object detection review
LEE HOSEONG
 
PPTX
Autopsy Digital forensics tool
Sreekanth Narendran
 
PPT
Windowing clipping
Shweta Shah
 
PDF
LICENSE NUMBER PLATE RECOGNITION SYSTEM USING ANDROID APP
Aditya Mishra
 
PDF
Docker
SangtongPeesing
 
PPTX
Introduction to docker
Frederik Mogensen
 
PPTX
Digital watermarking techniques for security applications
Kannekanti Utthej
 
PPTX
Cybercrime Mobile and Wireless Devices.pptx
VivekanandaGN1
 
PDF
2. Collecting Network Traffic & 3. Standalone NSM Deployment
Sam Bowne
 
PPTX
Polygons - Computer Graphics - Notes
Omprakash Chauhan
 
PDF
Threat Detection in Surveillance Videos
Databricks
 
PPTX
Emotion recognition
Madhusudhan G
 
PPTX
Maltego
penetration Tester
 
Visual cryptography
Shahid Zargar
 
Blockchain, Self-Sovereign Identity and Credentials
StrategyWorks
 
money pad the future wallet
Sabin Tripathi
 
Anpr based licence plate detection report
somchaturvedi
 
Chapter10 image segmentation
asodariyabhavesh
 
Polygon filling
Ankit Garg
 
YOLOv4: optimal speed and accuracy of object detection review
LEE HOSEONG
 
Autopsy Digital forensics tool
Sreekanth Narendran
 
Windowing clipping
Shweta Shah
 
LICENSE NUMBER PLATE RECOGNITION SYSTEM USING ANDROID APP
Aditya Mishra
 
Introduction to docker
Frederik Mogensen
 
Digital watermarking techniques for security applications
Kannekanti Utthej
 
Cybercrime Mobile and Wireless Devices.pptx
VivekanandaGN1
 
2. Collecting Network Traffic & 3. Standalone NSM Deployment
Sam Bowne
 
Polygons - Computer Graphics - Notes
Omprakash Chauhan
 
Threat Detection in Surveillance Videos
Databricks
 
Emotion recognition
Madhusudhan G
 

Viewers also liked (20)

PDF
MongoDB World 2016: Scaling MongoDB with Docker and cGroups
MongoDB
 
PPTX
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
MongoDB
 
PDF
MongoDB Days UK: Scaling MongoDB with Docker and cgroups
MongoDB
 
PDF
MongoDB Europe 2016 - Powering Microservices with Docker, Kubernetes, and Kafka
MongoDB
 
PDF
MongoDB Days UK: Ops Best Practices with MongoDB Cloud Manager
MongoDB
 
KEY
Lean & agile with MongoDB
Johannes Brandstetter
 
PDF
Composing Project Archetyps with SBT AutoPlugins
Mark Schaake
 
PPTX
Docker meets the IDE
Mario Loriedo
 
PDF
Transformative Git Practices
Nicola Paolucci
 
PPTX
Intro to design webcast
AbramsLearning-ALIS
 
PPTX
Intro to Docker at the 2016 Evans Developer relations conference
Mano Marks
 
PDF
A Scala Corrections Library
Paul Phillips
 
PDF
Webinar: From Development to Production with Docker and MongoDB
MongoDB
 
PPTX
Future of ai on the jvm
Adam Gibson
 
PDF
Effective Actors
shinolajla
 
PPTX
High Performance MongoDB on Storage-Optimized AWS EC2
MongoDB
 
PDF
Scala Json Features and Performance
John Nestor
 
PDF
Stateful Distributed Stream Processing
Gyula Fóra
 
PPTX
Apache Airflow (incubating) NL HUG Meetup 2016-07-19
Bolke de Bruin
 
PPTX
Multi tenancy for docker
Ananth Padmanabhan
 
MongoDB World 2016: Scaling MongoDB with Docker and cGroups
MongoDB
 
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
MongoDB
 
MongoDB Days UK: Scaling MongoDB with Docker and cgroups
MongoDB
 
MongoDB Europe 2016 - Powering Microservices with Docker, Kubernetes, and Kafka
MongoDB
 
MongoDB Days UK: Ops Best Practices with MongoDB Cloud Manager
MongoDB
 
Lean & agile with MongoDB
Johannes Brandstetter
 
Composing Project Archetyps with SBT AutoPlugins
Mark Schaake
 
Docker meets the IDE
Mario Loriedo
 
Transformative Git Practices
Nicola Paolucci
 
Intro to design webcast
AbramsLearning-ALIS
 
Intro to Docker at the 2016 Evans Developer relations conference
Mano Marks
 
A Scala Corrections Library
Paul Phillips
 
Webinar: From Development to Production with Docker and MongoDB
MongoDB
 
Future of ai on the jvm
Adam Gibson
 
Effective Actors
shinolajla
 
High Performance MongoDB on Storage-Optimized AWS EC2
MongoDB
 
Scala Json Features and Performance
John Nestor
 
Stateful Distributed Stream Processing
Gyula Fóra
 
Apache Airflow (incubating) NL HUG Meetup 2016-07-19
Bolke de Bruin
 
Multi tenancy for docker
Ananth Padmanabhan
 
Ad

Similar to Lightning Talk: Running MongoDB on Docker for High Performance Deployments (20)

PDF
My first moments with MongoDB
Colin Charles
 
PPTX
MongoDB Atlas
MongoDB
 
PPTX
SH 1 - SES 4 - Microservices - Andrew Morgan TLV.pptx
MongoDB
 
PDF
Docker in Production - Stateful Services
Kontena, Inc.
 
PDF
Scaling MongoDB with Docker and cgroups
marcoita
 
PDF
MongoDB: Advantages of an Open Source NoSQL Database
FITC
 
PPTX
Ops Jumpstart: Admin 101
MongoDB
 
PPTX
Webinar: Simplifying the Database Experience with MongoDB Atlas
MongoDB
 
PPTX
Powering Microservices with Docker, Kubernetes, Kafka, and MongoDB
MongoDB
 
PDF
Mongodb By Vipin
Vipin Mundayad
 
PPTX
MongoDB Days Silicon Valley: Jumpstart: Ops/Admin 101
MongoDB
 
PDF
SQL vs NoSQL, an experiment with MongoDB
Marco Segato
 
PPTX
Conceptos básicos. Seminario web 6: Despliegue de producción
MongoDB
 
PDF
MongoDB
wiTTyMinds1
 
PPTX
Powering Microservices with Docker, Kubernetes, Kafka, & MongoDB
MongoDB
 
PPTX
Powering Microservices with Docker, Kubernetes, Kafka, & MongoDB
MongoDB
 
PDF
MongoDB - An Introduction
sethfloydjr
 
PDF
Mongodb tutorial
Ashoka Vanjare
 
PDF
Mongodb tutorial
sachin486983
 
PPTX
MongoDB basics & Introduction
Jerwin Roy
 
My first moments with MongoDB
Colin Charles
 
MongoDB Atlas
MongoDB
 
SH 1 - SES 4 - Microservices - Andrew Morgan TLV.pptx
MongoDB
 
Docker in Production - Stateful Services
Kontena, Inc.
 
Scaling MongoDB with Docker and cgroups
marcoita
 
MongoDB: Advantages of an Open Source NoSQL Database
FITC
 
Ops Jumpstart: Admin 101
MongoDB
 
Webinar: Simplifying the Database Experience with MongoDB Atlas
MongoDB
 
Powering Microservices with Docker, Kubernetes, Kafka, and MongoDB
MongoDB
 
Mongodb By Vipin
Vipin Mundayad
 
MongoDB Days Silicon Valley: Jumpstart: Ops/Admin 101
MongoDB
 
SQL vs NoSQL, an experiment with MongoDB
Marco Segato
 
Conceptos básicos. Seminario web 6: Despliegue de producción
MongoDB
 
MongoDB
wiTTyMinds1
 
Powering Microservices with Docker, Kubernetes, Kafka, & MongoDB
MongoDB
 
Powering Microservices with Docker, Kubernetes, Kafka, & MongoDB
MongoDB
 
MongoDB - An Introduction
sethfloydjr
 
Mongodb tutorial
Ashoka Vanjare
 
Mongodb tutorial
sachin486983
 
MongoDB basics & Introduction
Jerwin Roy
 
Ad

More from MongoDB (20)

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

Recently uploaded (20)

PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 

Lightning Talk: Running MongoDB on Docker for High Performance Deployments

Editor's Notes

  • #9: Amazon Web Services In Docker verpackte Applikationen lassen sich z.B. über Amazon Elastic Beanstalk bereitstellen. Google Anhand von Google Kubernetes lassen sich eine Vielzahl von Docker Containern auf der Google Compute Engine bereitstellen. Red Hat Mit dem Project Atomic hat Red Hat ein Betriebssystem entwickelt, das als Basis für ein Host-System dienen soll, um Docker Container bereitzustellen. Microsoft Microsoft hat Docker in seine Azure Plattform integriert, um Docker Container via virtuellen Linux Maschinen auf Azure bereitzustellen. IBM IBM hat gleich mehrere Projekte gestartet, um den Docker-Einsatz im Unternehmensumfeld voranzutreiben. Hierzu wird ein DockerHub auf Softlayer zur Verfügung gestellt, um den Kunden den Zugriff auf das Docker Repository inklusive aller 14.000 Docker-Applikationen zu ermöglichen. Weiterhin wird in Zukunft ein von IBM zertifiziertes Docker-Image des WebSphere Liberty Profile Application Server angeboten. Die Unterstützung und Adaption großer IT-Unternehmen, allen voran Microsoft, Google und IBM zeigt die große Bedeutung der Docker-Technologie für deren Zielgruppen und den Entwicklermarkt im Allgemeinen. IBM aber auch Microsoft können Docker dabei helfen, mittelfristig ebenfalls im Unternehmensumfeld Fuß zu fassen, um Portabilität von Cloud-Anwendungen zu optimieren.
  • #13: Baseimage-docker is a special Docker image that is configured for correct use within Docker containers. It is Ubuntu, plus: Modifications for Docker-friendliness. Workarounds for some Docker bugs. Useful administration tools. You can use it as a base for your own Docker images. What are the problems with the stock Ubuntu base image? Ubuntu is not designed to be run inside Docker. Its init system, Upstart, assumes that it's running on either real hardware or virtualized hardware, but not inside a Docker container. But inside a container you don't want a full system anyway, you want a minimal system. But configuring that minimal system for use within a container has many strange corner cases that are hard to get right if you are not intimately familiar with the Unix system model. This can cause a lot of strange problems. Baseimage-docker gets everything right. The "Contents" section describes all the things that it modifies.
  • #14: Pros Does not require a tool like nsenter to be available on the Docker host. Virtually everybody already has an SSH client installed. There no surprises with processes behaving slightly differently than normal, as is the case when using nsenter. Does not require root privileges on the Docker host. Allows you to let users login to the container, without letting them login to the Docker host. However, this is not enabled by default because baseimage-docker does not expose the SSH server to the public Internet by default. Cons Requires setting up SSH keys. However, baseimage-docker makes this easy for many cases through a pregenerated, insecure key. Read on to learn more.
  • #15: Use a data only container that only exposes a volume Volume can be mounted by other containers Can use smallest image possible (busybox) Data container will survive until last container that has a mount is removed Data is available in docker directory structure Can upgrade docker image for eg. Updating mongodb Warning: don‘t mount on two mongodb containers at the same time
  • #16: Basically a git repositroy for docker images Ensures consistency of images across hosts through versioning Can store data in many forms: s3 locally ceph azure gcs openstack swift Speeds up distribution of images
  • #17: Skydock /skydns Custom scripts on aws No good solution for networking across hosts