SlideShare una empresa de Scribd logo
1 de 37
Descargar para leer sin conexión
MongoDB Enterprise Operator:
The MongoDB Enterprise Kubernetes Operator and OpenShift
Michael Grayson
Mark DeNeve
MongoDB Operator and OpenShift
Introduction
What is OpenShift
The Problem with Self Service
Databases in a Non-Persistent World
MongoDB Operator to the Rescue
Demo
Questions
A Little About Mike
I am a Database Engineer
I was a Software Engineer
I was a Helpdesk Support
I am not a Systems Engineer
I am not a Storage Engineer
I am not a Linux Admin
I am not a Kubernetes Admin
@mikegray831
mongomikeblog.wordpress.com
A Little About Mark
I am not a DBA
I am not a Developer
I was a Windows Admin
I am a Systems Engineer
I am a Storage Engineer
I am a Linux Admin
I am a Kubernetes Admin
@markdeneve
www.xphyr.net
Paychex
Paychex is a leading provider of integrated human capital management
solutions for payroll, HR, retirement, and insurance services. Backed by
46 years of industry expertise, Paychex serves approximately 605,000
payroll clients as of May 31, 2017, across more than 100 locations and
pays one out of every 12 American private sector employees.
#PaychexIsIT
• Paychex IT is:
• Linux
• Windows
• Docker
• Kubernetes
• OpenShift
• Azure
• MongoDB
• Kafka
• RabbitMQ
• Ansible
• Cassandra
• Redis
• Puppet
• OpenStack
• MySQL
• Microsoft SQL
Server
• Oracle
What is OpenShift
Containers
• Lightweight
• Portable
• Fast Startup Times
• Easy to Share
• Immutable
• Version Controlled
• Secure
Kubernetes
• Container Management and
Orchestration
• Open Source Project
• 52k+ Github Stars
• 18k+ Github Forks
• Started by Google in 2014
• Backed by Multiple Vendors
OpenShift - Enterprise Kubernetes
• Developer focused user experience
• More Secure by design
• Polished End User Experience
Two Versions:
• OpenShift – Backed by Red Hat Support
• OKD – Upstream OpenSource Distribution
OpenShift @Paychex
• In Production since 2015
• 20 Clusters accross two regions
• 7 in-place upgrades
• OpenShift hosted applications are
responsible for moving well over $500
billion per year at Paychex
Deploying an Application
• Deploying an Application leverages
simple YAML files
• Easy to Read
• Declarative
---
kind: "DeploymentConfig"
apiVersion: "v1"
metadata:
name: "ose-eventforwarder"
spec:
template:
metadata:
labels:
name: "ose-eventforwarder"
spec:
containers:
name: "ose-eventforwarder"
image: >-
hub.docker.io/mdeneve/myapp:latest
nodeSelector:
type: "infra"
replicas: 1
triggers:
-
type: "ConfigChange"
strategy:
type: "Rolling"
The Problem with Self Service
Developers are Clever!
• Shadow IT
• Tight Timelines
• Need to innovate Now
• “Just using it for testing”
• Always becomes PROD
Attribution: wocintechchat.com
Shadow IT
Tight Timelines
Need to Innovate Now
“Just using it for testing”
Shadow IT in Kubernetes is not Ideal
The GOOD
• Self Service
• Quick to Spin Up
• Quick to scale
• Works for simple use cases
The BAD
• No easy way to Get
DBAs involved
• Black Box is NOT always a
good thing
• No control over data and where
it is going
• Database Sprawl
Databases in a Non-Persistent World
Persistent Storage in Kubernetes
• Persistent Storage in Kubernetes is
Hard
• Complexity introduced when
a container can run anywhere
• Multiple Vendors, Multiple Solutions
• No good ways to back up data
• Lack of Enterprise Solutions
• Long Term Archival / Retrieval is a
challenge
Operators to the Rescue
Kubernetes Operators
• A method of packaging, deploying and
managing a Kubernetes application.
• A Kubernetes application is
• deployed on Kubernetes
• managed using the Kubernetes native tooling
• Think of Operators as the runtime that
manages this type of application on
Kubernetes.
MongoDB Operator to the Rescue
MongoDB Operator + MongoDB Ops Manager
• Features added by Mongo
• Deploy containers with MongoDB installed in
standard patterns
• Standalone
• Replica Set
• Sharded Cluster
• All the best of MongoDB Enterprise / Ops
Manager
• Security
• Backups/Restores
• Easy Upgrades
MongoDB Ops Manager / Cloud Manager
• Ops Manager/ Cloud Manager
• MongoDB Provided Monitoring /
Backup / Automation Solution
• Accepts API calls from Operator
to build MongoDB
Self Service, with Guide Rails
• How does MongoDB Operator Help guide
Devs?
• All the benefits of containerization, plus
• Security
• Standardization
• Same Deployment tools that are used in
production
• Easy remote management through Cloud
Manager
• "Push Button"
• Easy for Database Engineers / DevOps / SRE
teams to manage using current process
Deploying a MongoDB Server in OpenShift
• Leverages YAML (just like
everything else)
• Declarative in Nature
• Repeatable
• Shareable
---
apiVersion: mongodb.com/v1
kind: MongoDB
metadata:
name: myCluster
namespace: myNameSpace
spec:
shardCount: 2
mongodsPerShardCount: 3
mongosCount: 2
configServerCount: 3
version: 4.0.6
project: myProject
credentials: mySecret
type: ShardedCluster
persistent: true
...
Demo Time!
Demo Tasks?
• Create Database in OpenShift – prerecorded
• On the fly upgrade - live (but have recording)
• Scale Mongo Cluster up - live (but have recording)
What Does the Future Hold?
MongoDB Operator @ Paychex
• Sandbox Environment First
• Used in Non-Prod/Development Envs
• Automate data restores for test
• Prod will remain Separate Infrastructure
Upcoming Features of the MongoDB Operator
• Check out the 3 PM session in Nassau presented by Jason Mimick and
Andrey Belik for the full Roadmap!
Summary
• Save Devs from Themselves!
• Simplify infrastructure
• Keep ops teams involved (they exist for a reason!)
Questions?
Would You Like to Know More?
https://docs.mongodb.com/kubernetes-operator/master/installation/
Thank You!
@mikegray831
@markdeneve

Más contenido relacionado

La actualidad más candente

Andreas Nauerz and Michael Behrendt - Event Driven and Serverless Programming...
Andreas Nauerz and Michael Behrendt - Event Driven and Serverless Programming...Andreas Nauerz and Michael Behrendt - Event Driven and Serverless Programming...
Andreas Nauerz and Michael Behrendt - Event Driven and Serverless Programming...
ServerlessConf
 

La actualidad más candente (20)

Micro Services in .NET Core and Docker
Micro Services in .NET Core and DockerMicro Services in .NET Core and Docker
Micro Services in .NET Core and Docker
 
Webinar: Get Started with the MEAN Stack
Webinar: Get Started with the MEAN StackWebinar: Get Started with the MEAN Stack
Webinar: Get Started with the MEAN Stack
 
.Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20...
.Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20....Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20...
.Net Microservices with Event Sourcing, CQRS, Docker and... Windows Server 20...
 
Introducing MongoDB Atlas
Introducing MongoDB AtlasIntroducing MongoDB Atlas
Introducing MongoDB Atlas
 
Microservice.net by sergey seletsky
Microservice.net by sergey seletskyMicroservice.net by sergey seletsky
Microservice.net by sergey seletsky
 
MicroServices on Azure
MicroServices on AzureMicroServices on Azure
MicroServices on Azure
 
Serverless computing in Azure: Functions, Logic Apps and more!
Serverless computing in Azure: Functions, Logic Apps and more!Serverless computing in Azure: Functions, Logic Apps and more!
Serverless computing in Azure: Functions, Logic Apps and more!
 
MVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming modelMVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming model
 
Architecting Microservices in .Net
Architecting Microservices in .NetArchitecting Microservices in .Net
Architecting Microservices in .Net
 
MongoDB Atlas
MongoDB AtlasMongoDB Atlas
MongoDB Atlas
 
Tokyo azure meetup #12 service fabric internals
Tokyo azure meetup #12   service fabric internalsTokyo azure meetup #12   service fabric internals
Tokyo azure meetup #12 service fabric internals
 
Andreas Nauerz and Michael Behrendt - Event Driven and Serverless Programming...
Andreas Nauerz and Michael Behrendt - Event Driven and Serverless Programming...Andreas Nauerz and Michael Behrendt - Event Driven and Serverless Programming...
Andreas Nauerz and Michael Behrendt - Event Driven and Serverless Programming...
 
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB CompassMongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
 
Power Real Estate Property Analytics with MongoDB + Spark
Power Real Estate Property Analytics with MongoDB + SparkPower Real Estate Property Analytics with MongoDB + Spark
Power Real Estate Property Analytics with MongoDB + Spark
 
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
MongoDB .local Bengaluru 2019: The Journey of Migration from Oracle to MongoD...
 
Data stores: beyond relational databases
Data stores: beyond relational databasesData stores: beyond relational databases
Data stores: beyond relational databases
 
Building Microservices with .NET (speaker Anton Vasilenko, Binary Studio)
Building Microservices with .NET (speaker Anton Vasilenko, Binary Studio)Building Microservices with .NET (speaker Anton Vasilenko, Binary Studio)
Building Microservices with .NET (speaker Anton Vasilenko, Binary Studio)
 
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
 
IPaaS 2.0: Fuse Integration Services (Robert Davies & Keith Babo)
IPaaS 2.0: Fuse Integration Services (Robert Davies & Keith Babo)IPaaS 2.0: Fuse Integration Services (Robert Davies & Keith Babo)
IPaaS 2.0: Fuse Integration Services (Robert Davies & Keith Babo)
 
Continuous Integration (& Mr Jenkins)
Continuous Integration (& Mr Jenkins)Continuous Integration (& Mr Jenkins)
Continuous Integration (& Mr Jenkins)
 

Similar a MongoDB World 2019: Using the MongoDB Enterprise Kubernetes Operator to Scale MongoDB Containers on Red Hat OpenShift

Similar a MongoDB World 2019: Using the MongoDB Enterprise Kubernetes Operator to Scale MongoDB Containers on Red Hat OpenShift (20)

Microservices: Living Large in Your Castle Made of Sand
Microservices: Living Large in Your Castle Made of SandMicroservices: Living Large in Your Castle Made of Sand
Microservices: Living Large in Your Castle Made of Sand
 
Neo4j for Cloud Management at Scale
Neo4j for Cloud Management at ScaleNeo4j for Cloud Management at Scale
Neo4j for Cloud Management at Scale
 
Mongo DB at Community Engine
Mongo DB at Community EngineMongo DB at Community Engine
Mongo DB at Community Engine
 
MongoDB at community engine
MongoDB at community engineMongoDB at community engine
MongoDB at community engine
 
Microservices: How loose is loosely coupled?
Microservices: How loose is loosely coupled?Microservices: How loose is loosely coupled?
Microservices: How loose is loosely coupled?
 
Percona presentation v2
Percona presentation v2Percona presentation v2
Percona presentation v2
 
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
 
The Enterprise Case for Node.js
The Enterprise Case for Node.jsThe Enterprise Case for Node.js
The Enterprise Case for Node.js
 
Enterprise Trends for MongoDB as a Service
Enterprise Trends for MongoDB as a ServiceEnterprise Trends for MongoDB as a Service
Enterprise Trends for MongoDB as a Service
 
Why to Cloud Native
Why to Cloud NativeWhy to Cloud Native
Why to Cloud Native
 
DevOps demystified
DevOps demystifiedDevOps demystified
DevOps demystified
 
Node.js meetup at Palo Alto Networks Tel Aviv
Node.js meetup at Palo Alto Networks Tel AvivNode.js meetup at Palo Alto Networks Tel Aviv
Node.js meetup at Palo Alto Networks Tel Aviv
 
Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...Business and IT agility through DevOps and microservice architecture powered ...
Business and IT agility through DevOps and microservice architecture powered ...
 
An introduction to Node.js
An introduction to Node.jsAn introduction to Node.js
An introduction to Node.js
 
MongoDB World 2018: Using Puppet, Ansible and Ops Manager to Create Your Own ...
MongoDB World 2018: Using Puppet, Ansible and Ops Manager to Create Your Own ...MongoDB World 2018: Using Puppet, Ansible and Ops Manager to Create Your Own ...
MongoDB World 2018: Using Puppet, Ansible and Ops Manager to Create Your Own ...
 
Using Puppet, Ansible, and MongoDB Ops Manager Together to Create Your Own On...
Using Puppet, Ansible, and MongoDB Ops Manager Together to Create Your Own On...Using Puppet, Ansible, and MongoDB Ops Manager Together to Create Your Own On...
Using Puppet, Ansible, and MongoDB Ops Manager Together to Create Your Own On...
 
Md Zahir Uddin
Md Zahir UddinMd Zahir Uddin
Md Zahir Uddin
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
 
Node.js for .NET Developers
Node.js for .NET DevelopersNode.js for .NET Developers
Node.js for .NET Developers
 
Accelerate Delivery: Business case for Agile DevOps, CI/CD and Microservices
Accelerate Delivery: Business case for Agile DevOps, CI/CD and MicroservicesAccelerate Delivery: Business case for Agile DevOps, CI/CD and Microservices
Accelerate Delivery: Business case for Agile DevOps, CI/CD and Microservices
 

Más de MongoDB

Más 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...
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

MongoDB World 2019: Using the MongoDB Enterprise Kubernetes Operator to Scale MongoDB Containers on Red Hat OpenShift

  • 1. MongoDB Enterprise Operator: The MongoDB Enterprise Kubernetes Operator and OpenShift Michael Grayson Mark DeNeve
  • 2. MongoDB Operator and OpenShift Introduction What is OpenShift The Problem with Self Service Databases in a Non-Persistent World MongoDB Operator to the Rescue Demo Questions
  • 3. A Little About Mike I am a Database Engineer I was a Software Engineer I was a Helpdesk Support I am not a Systems Engineer I am not a Storage Engineer I am not a Linux Admin I am not a Kubernetes Admin @mikegray831 mongomikeblog.wordpress.com
  • 4. A Little About Mark I am not a DBA I am not a Developer I was a Windows Admin I am a Systems Engineer I am a Storage Engineer I am a Linux Admin I am a Kubernetes Admin @markdeneve www.xphyr.net
  • 5. Paychex Paychex is a leading provider of integrated human capital management solutions for payroll, HR, retirement, and insurance services. Backed by 46 years of industry expertise, Paychex serves approximately 605,000 payroll clients as of May 31, 2017, across more than 100 locations and pays one out of every 12 American private sector employees.
  • 6. #PaychexIsIT • Paychex IT is: • Linux • Windows • Docker • Kubernetes • OpenShift • Azure • MongoDB • Kafka • RabbitMQ • Ansible • Cassandra • Redis • Puppet • OpenStack • MySQL • Microsoft SQL Server • Oracle
  • 8. Containers • Lightweight • Portable • Fast Startup Times • Easy to Share • Immutable • Version Controlled • Secure
  • 9. Kubernetes • Container Management and Orchestration • Open Source Project • 52k+ Github Stars • 18k+ Github Forks • Started by Google in 2014 • Backed by Multiple Vendors
  • 10. OpenShift - Enterprise Kubernetes • Developer focused user experience • More Secure by design • Polished End User Experience Two Versions: • OpenShift – Backed by Red Hat Support • OKD – Upstream OpenSource Distribution
  • 11. OpenShift @Paychex • In Production since 2015 • 20 Clusters accross two regions • 7 in-place upgrades • OpenShift hosted applications are responsible for moving well over $500 billion per year at Paychex
  • 12. Deploying an Application • Deploying an Application leverages simple YAML files • Easy to Read • Declarative --- kind: "DeploymentConfig" apiVersion: "v1" metadata: name: "ose-eventforwarder" spec: template: metadata: labels: name: "ose-eventforwarder" spec: containers: name: "ose-eventforwarder" image: >- hub.docker.io/mdeneve/myapp:latest nodeSelector: type: "infra" replicas: 1 triggers: - type: "ConfigChange" strategy: type: "Rolling"
  • 13. The Problem with Self Service
  • 14. Developers are Clever! • Shadow IT • Tight Timelines • Need to innovate Now • “Just using it for testing” • Always becomes PROD Attribution: wocintechchat.com
  • 18. “Just using it for testing”
  • 19. Shadow IT in Kubernetes is not Ideal The GOOD • Self Service • Quick to Spin Up • Quick to scale • Works for simple use cases The BAD • No easy way to Get DBAs involved • Black Box is NOT always a good thing • No control over data and where it is going • Database Sprawl
  • 20. Databases in a Non-Persistent World
  • 21. Persistent Storage in Kubernetes • Persistent Storage in Kubernetes is Hard • Complexity introduced when a container can run anywhere • Multiple Vendors, Multiple Solutions • No good ways to back up data • Lack of Enterprise Solutions • Long Term Archival / Retrieval is a challenge
  • 23. Kubernetes Operators • A method of packaging, deploying and managing a Kubernetes application. • A Kubernetes application is • deployed on Kubernetes • managed using the Kubernetes native tooling • Think of Operators as the runtime that manages this type of application on Kubernetes.
  • 24. MongoDB Operator to the Rescue
  • 25. MongoDB Operator + MongoDB Ops Manager • Features added by Mongo • Deploy containers with MongoDB installed in standard patterns • Standalone • Replica Set • Sharded Cluster • All the best of MongoDB Enterprise / Ops Manager • Security • Backups/Restores • Easy Upgrades
  • 26. MongoDB Ops Manager / Cloud Manager • Ops Manager/ Cloud Manager • MongoDB Provided Monitoring / Backup / Automation Solution • Accepts API calls from Operator to build MongoDB
  • 27. Self Service, with Guide Rails • How does MongoDB Operator Help guide Devs? • All the benefits of containerization, plus • Security • Standardization • Same Deployment tools that are used in production • Easy remote management through Cloud Manager • "Push Button" • Easy for Database Engineers / DevOps / SRE teams to manage using current process
  • 28. Deploying a MongoDB Server in OpenShift • Leverages YAML (just like everything else) • Declarative in Nature • Repeatable • Shareable --- apiVersion: mongodb.com/v1 kind: MongoDB metadata: name: myCluster namespace: myNameSpace spec: shardCount: 2 mongodsPerShardCount: 3 mongosCount: 2 configServerCount: 3 version: 4.0.6 project: myProject credentials: mySecret type: ShardedCluster persistent: true ...
  • 30. Demo Tasks? • Create Database in OpenShift – prerecorded • On the fly upgrade - live (but have recording) • Scale Mongo Cluster up - live (but have recording)
  • 31. What Does the Future Hold?
  • 32. MongoDB Operator @ Paychex • Sandbox Environment First • Used in Non-Prod/Development Envs • Automate data restores for test • Prod will remain Separate Infrastructure
  • 33. Upcoming Features of the MongoDB Operator • Check out the 3 PM session in Nassau presented by Jason Mimick and Andrey Belik for the full Roadmap!
  • 34. Summary • Save Devs from Themselves! • Simplify infrastructure • Keep ops teams involved (they exist for a reason!)
  • 36. Would You Like to Know More? https://docs.mongodb.com/kubernetes-operator/master/installation/