SlideShare a Scribd company logo
@
#MDBlocal
Guillaume Meister
Principal Solutions Architect, EMEA
gmeister_fr
Atlas Autoscaling
#MDBLocal
GUILLAUME MEISTER
Principal Solutions Architect, EMEA
based in Paris MongoDB Office
#MDBLocal
Flexibility - Y
Reliability - Y
Performance - Y
Cost - ?
#MDBLocal
Managing Capacity is the Key to Cost Optimization
Reality Aspirations
#MDBLocal
Ever played Whack-A-Mole?
meet François
the Database
Administrateur !
Introducing Atlas Autoscaling
Automatically manage capacity to intelligently balance between
performance and cost
#MDBLocal
How does it work?
ComputeStorage
Predict future workload patterns
Automatically adjusts storage and compute to fit the workload
#MDBLocal
What do spikes look like ?
(Simulated Results)
#MDBLocal
How does it work?
Storage
For any given compute, provision the right disk
space
Automatically increases disk space to keep up
with writes
Compute
Adjusts the CPU and Memory provisioned to
keep up with workload
If workload increases, scale up to perform
If workload decreases, scale down to save
#MDBLocal
How do we do it?
Monitor Performance
& Learn
● Actually easier?
● How do we know we are
doing well?
● How do we know we are
not?
● How can we learn and
improve the system
Predict Future Workload
● Not easy :)
● Up
○ Too fast wastes $
○ Too slow degrades
performance
● Down
○ Too fast degrades
performance
○ Too slow wastes $
Adjust Capacity Safely
● Not easy :)
● Scaling is expensive
● How do we reduce
impact to app?
feedback
#MDBLocal
Step 1: Predicting Future Workload using Expert Learning
Up Scaling
Normalized CPU Util > 75%
OR Memory Util > 75%
For at-least 1 hour
Checked every 5 minutes
Down Scaling
Normalized CPU Util <50%
AND Memory Util <50%
For at-least 72 hour
Checked every 5 minutes
#MDBLocal
2. Perform Scaling Operations
User
Atlas
Metrics
Atlas
predicts
future
utilization
Executes
autoscalin
g
decisions
Check user
specified
conditions
Automated
hardware
provisionin
g
Atlas
automatically
changes
cluster’s
computation
capacity with
no downtime
Utilization
metrics are
captured in
real time
User
Alerts to
users
#MDBLocal
Step 3: Monitor Performance & Learn
Telemetry tracking how well we are predicting
Telemetry tracking how the workload pattern
changes
Testing new algorithms with historic data to improve
performance
Ability to tune algorithm per cluster, if needed
#MDBLocal
Quick UI Walkthrough
#MDBLocal
Quick UI Walkthrough
#MDBLocal
When to use autoscaling?
If utilization is variable throughout the day or week & you want to save $
If you want to not worry about scaling your cluster as you grow over time
If you have very high utilization & you are afraid of oversaturating your cluster
But don't forget to use ATLAS Performance Advisor
to optimize your queries !
#MDBLocal
Real life behavior
High CPU utilization indicates
that the Atlas cluster tier is
insufficient to meet the workload
requirements
After auto-scaling, CPU
utilization drops indicating the
Atlas cluster is sufficiently sized
#MDBLocal
Now François can relax !
is luv
MongoDB
autoscaling !
Q&A
MongoDB .local London 2019: New Product Announcements: MongoDB Atlas Autoscaling and MongoDB Atlas Open Service Broker
#MDBlocal
Atlas Open Service Broker
Deploying managed MongoDB clusters from
within Kubernetes
LONDON
Ben Elgar
Who am I?
● Software engineer on Private Cloud
Kubernetes team
● MongoDB Enterprise Operator
● Lead development on the Atlas Open
Service Broker
Why should you listen?
● Manage your MongoDB clusters inside of Kubernetes
● Consistency
● Easily replicable
● No custom scripts
What is a service broker?
● An application that implements the Open Service Broker
API
● Provision third-party resources from within a platform
What is the Atlas service broker?
● Application you run inside of Kubernetes
● Exposes a standard API
● Manage Atlas clusters and users with Kubernetes
resources
Kubernetes
ServiceInstance
Resource
Service
Catalog
Atlas
Service
Broker
---
apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
name: atlas-cluster-instance
spec:
serviceClassExternalName: mongodb-atlas-aws
servicePlanExternalName: M10
parameters:
cluster:
providerSettings:
regionName: "EU_CENTRAL_1"
Atlas
Live Demo
Wish me luck.
Nota Bene
● Only clusters and users—everything else must be
managed in Atlas
● Resources in Kubernetes will not reflect changes made
outside
Open Source
● Free as in speech and free as in beer
● Apache Licensed
https://github.com/mongodb/mongodb-atlas-service-broker
CHEERS!
#MDBlocal
MongoDB Atlas New
Features: Open Service
Broker
Ben Elgar
https://www.surveymonkey.com/r/8KSJRK5
MongoDB .local London 2019: New Product Announcements: MongoDB Atlas Autoscaling and MongoDB Atlas Open Service Broker

More Related Content

PPTX
Amazon EKS: the good, the bad, and the ugly
PPTX
Spark logs made easy
PPTX
Auditing data and answering the life long question, is it the end of the day ...
PDF
Nielsen Presents: Fun with Kafka, Spark and Offset Management
PDF
Serverless computing and Google Cloud Function
PPTX
The Serverless Native Mindset: Ben Kehoe, iRobot, Serverless NYC 2018
PDF
A novel building infrastructure as code
PPTX
A peek behind the cloud: Backblaze CEO discusses Cloud Storage at dotScale
Amazon EKS: the good, the bad, and the ugly
Spark logs made easy
Auditing data and answering the life long question, is it the end of the day ...
Nielsen Presents: Fun with Kafka, Spark and Offset Management
Serverless computing and Google Cloud Function
The Serverless Native Mindset: Ben Kehoe, iRobot, Serverless NYC 2018
A novel building infrastructure as code
A peek behind the cloud: Backblaze CEO discusses Cloud Storage at dotScale

What's hot (20)

PDF
mabl's Machine Learning Implementation on Google Cloud Platform
PDF
How to set up Kubernetes for all your machine learning workflows
PDF
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
PPTX
SITIST 2018 Part 2 - Speed up Test Data Creation Process in ABAP
PDF
How To Build Auto-Adaptive Machine Learning Models with Kubernetes
PPTX
Keynote TIAD Camp Serverless
PPTX
Introduction to the Data Grid
PPTX
Build scripting with psake
PDF
Serverless Machine Learning Workshop
PPTX
CREATE RELIABLE AND LOW-CODE APPLICATION IN SERVERLESS MANNER
PDF
2016 History - update per month
PPTX
OTP System with AWS Serverless
PPTX
A Lap around ASP.NET 5 - VConf
PDF
Building a Data Ingestion & Processing Pipeline with Spark & Airflow
PDF
The future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
PDF
Real time Object Detection and Analytics using RedisEdge and Docker
PDF
Front End Orlando - AWS Lambda
PDF
Elastic Search Meetup Special - Yann Cluchey, Cogenta
PPTX
Building services for apps on a shoestring budget
PPTX
Introduction to Serverless and Google Cloud Functions
mabl's Machine Learning Implementation on Google Cloud Platform
How to set up Kubernetes for all your machine learning workflows
Delivering Cloud-Native Data Pipelines with Kafka Connect on Kubernetes | Vik...
SITIST 2018 Part 2 - Speed up Test Data Creation Process in ABAP
How To Build Auto-Adaptive Machine Learning Models with Kubernetes
Keynote TIAD Camp Serverless
Introduction to the Data Grid
Build scripting with psake
Serverless Machine Learning Workshop
CREATE RELIABLE AND LOW-CODE APPLICATION IN SERVERLESS MANNER
2016 History - update per month
OTP System with AWS Serverless
A Lap around ASP.NET 5 - VConf
Building a Data Ingestion & Processing Pipeline with Spark & Airflow
The future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
Real time Object Detection and Analytics using RedisEdge and Docker
Front End Orlando - AWS Lambda
Elastic Search Meetup Special - Yann Cluchey, Cogenta
Building services for apps on a shoestring budget
Introduction to Serverless and Google Cloud Functions
Ad

Similar to MongoDB .local London 2019: New Product Announcements: MongoDB Atlas Autoscaling and MongoDB Atlas Open Service Broker (20)

PDF
MongoDB .local Munich 2019: MongoDB Atlas Auto-Scaling
PDF
MongoDB .local Toronto 2019: Finding the Right Atlas Cluster Size: Does this ...
PDF
Building Your Own MongoDB as a Service Offering
PDF
MongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
PDF
MongoDB .local Chicago 2019: MongoDB Atlas Jumpstart
PDF
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
PPTX
MongoDB Evening Austin, TX 2017
PPTX
Jumpstart: Building Your First App with MongoDB
PDF
MongoDB SoCal 2020: MongoDB Atlas Jump Start
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
PDF
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
PDF
MongoDB Europe 2016 - Ops Manager and Cloud Manager
PPTX
Introducing MongoDB Atlas
PPTX
An Introduction to MongoDB Ops Manager
PDF
Cloud Data Strategy event London
PDF
MongoDB .local London 2019: MongoDB Atlas Data Lake Technical Deep Dive
PPTX
Sizing Your MongoDB Cluster
PDF
MongoDB .local Munich 2019: MongoDB Atlas Data Lake Technical Deep Dive
PDF
MongoDB World 2019: Finding the Right MongoDB Atlas Cluster Size: Does This I...
PPTX
Faster, Simpler, Better - MongoDB to the rescue
MongoDB .local Munich 2019: MongoDB Atlas Auto-Scaling
MongoDB .local Toronto 2019: Finding the Right Atlas Cluster Size: Does this ...
Building Your Own MongoDB as a Service Offering
MongoDB .local Toronto 2019: MongoDB Atlas Jumpstart
MongoDB .local Chicago 2019: MongoDB Atlas Jumpstart
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...
MongoDB Evening Austin, TX 2017
Jumpstart: Building Your First App with MongoDB
MongoDB SoCal 2020: MongoDB Atlas Jump Start
MongoDB .local San Francisco 2020: MongoDB Atlas Jumpstart
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB Europe 2016 - Ops Manager and Cloud Manager
Introducing MongoDB Atlas
An Introduction to MongoDB Ops Manager
Cloud Data Strategy event London
MongoDB .local London 2019: MongoDB Atlas Data Lake Technical Deep Dive
Sizing Your MongoDB Cluster
MongoDB .local Munich 2019: MongoDB Atlas Data Lake Technical Deep Dive
MongoDB World 2019: Finding the Right MongoDB Atlas Cluster Size: Does This I...
Faster, Simpler, Better - MongoDB to the rescue
Ad

More from MongoDB (20)

PDF
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDB
PDF
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...
PDF
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series Data
PDF
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]
PDF
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2
PDF
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...
PDF
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!
PDF
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your Mindset
PDF
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...
PDF
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++
PDF
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...
PDF
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep Dive
PDF
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & Golang
PDF
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...
PDF
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...
PDF
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
PDF
MongoDB .local Paris 2020: Tout savoir sur le moteur de recherche Full Text S...
PDF
MongoDB .local Paris 2020: Adéo @MongoDB : MongoDB Atlas & Leroy Merlin : et ...
PDF
MongoDB .local Paris 2020: Les bonnes pratiques pour travailler avec les donn...
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!
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: Best Practices for Working with IoT and Time-series Data
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 MongoDB Services in Kubernetes: any ...
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: Tips and Tricks++ for Querying and Indexin...
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: MongoDB Atlas Data Lake Technical Deep Dive
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: Upply @MongoDB : Upply : Quand le Machine Learning...
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDB
MongoDB .local Paris 2020: Tout savoir sur le moteur de recherche Full Text S...
MongoDB .local Paris 2020: Adéo @MongoDB : MongoDB Atlas & Leroy Merlin : et ...
MongoDB .local Paris 2020: Les bonnes pratiques pour travailler avec les donn...

Recently uploaded (20)

PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation theory and applications.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Machine learning based COVID-19 study performance prediction
PPT
Teaching material agriculture food technology
PDF
KodekX | Application Modernization Development
PDF
cuic standard and advanced reporting.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Electronic commerce courselecture one. Pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Cloud computing and distributed systems.
Encapsulation theory and applications.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
Programs and apps: productivity, graphics, security and other tools
Network Security Unit 5.pdf for BCA BBA.
Digital-Transformation-Roadmap-for-Companies.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Machine learning based COVID-19 study performance prediction
Teaching material agriculture food technology
KodekX | Application Modernization Development
cuic standard and advanced reporting.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Advanced methodologies resolving dimensionality complications for autism neur...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Electronic commerce courselecture one. Pdf
Review of recent advances in non-invasive hemoglobin estimation
20250228 LYD VKU AI Blended-Learning.pptx

MongoDB .local London 2019: New Product Announcements: MongoDB Atlas Autoscaling and MongoDB Atlas Open Service Broker

  • 1. @ #MDBlocal Guillaume Meister Principal Solutions Architect, EMEA gmeister_fr Atlas Autoscaling
  • 2. #MDBLocal GUILLAUME MEISTER Principal Solutions Architect, EMEA based in Paris MongoDB Office
  • 3. #MDBLocal Flexibility - Y Reliability - Y Performance - Y Cost - ?
  • 4. #MDBLocal Managing Capacity is the Key to Cost Optimization Reality Aspirations
  • 5. #MDBLocal Ever played Whack-A-Mole? meet François the Database Administrateur !
  • 6. Introducing Atlas Autoscaling Automatically manage capacity to intelligently balance between performance and cost
  • 7. #MDBLocal How does it work? ComputeStorage Predict future workload patterns Automatically adjusts storage and compute to fit the workload
  • 8. #MDBLocal What do spikes look like ? (Simulated Results)
  • 9. #MDBLocal How does it work? Storage For any given compute, provision the right disk space Automatically increases disk space to keep up with writes Compute Adjusts the CPU and Memory provisioned to keep up with workload If workload increases, scale up to perform If workload decreases, scale down to save
  • 10. #MDBLocal How do we do it? Monitor Performance & Learn ● Actually easier? ● How do we know we are doing well? ● How do we know we are not? ● How can we learn and improve the system Predict Future Workload ● Not easy :) ● Up ○ Too fast wastes $ ○ Too slow degrades performance ● Down ○ Too fast degrades performance ○ Too slow wastes $ Adjust Capacity Safely ● Not easy :) ● Scaling is expensive ● How do we reduce impact to app? feedback
  • 11. #MDBLocal Step 1: Predicting Future Workload using Expert Learning Up Scaling Normalized CPU Util > 75% OR Memory Util > 75% For at-least 1 hour Checked every 5 minutes Down Scaling Normalized CPU Util <50% AND Memory Util <50% For at-least 72 hour Checked every 5 minutes
  • 12. #MDBLocal 2. Perform Scaling Operations User Atlas Metrics Atlas predicts future utilization Executes autoscalin g decisions Check user specified conditions Automated hardware provisionin g Atlas automatically changes cluster’s computation capacity with no downtime Utilization metrics are captured in real time User Alerts to users
  • 13. #MDBLocal Step 3: Monitor Performance & Learn Telemetry tracking how well we are predicting Telemetry tracking how the workload pattern changes Testing new algorithms with historic data to improve performance Ability to tune algorithm per cluster, if needed
  • 16. #MDBLocal When to use autoscaling? If utilization is variable throughout the day or week & you want to save $ If you want to not worry about scaling your cluster as you grow over time If you have very high utilization & you are afraid of oversaturating your cluster But don't forget to use ATLAS Performance Advisor to optimize your queries !
  • 17. #MDBLocal Real life behavior High CPU utilization indicates that the Atlas cluster tier is insufficient to meet the workload requirements After auto-scaling, CPU utilization drops indicating the Atlas cluster is sufficiently sized
  • 18. #MDBLocal Now François can relax ! is luv MongoDB autoscaling !
  • 19. Q&A
  • 21. #MDBlocal Atlas Open Service Broker Deploying managed MongoDB clusters from within Kubernetes LONDON Ben Elgar
  • 22. Who am I? ● Software engineer on Private Cloud Kubernetes team ● MongoDB Enterprise Operator ● Lead development on the Atlas Open Service Broker
  • 23. Why should you listen? ● Manage your MongoDB clusters inside of Kubernetes ● Consistency ● Easily replicable ● No custom scripts
  • 24. What is a service broker? ● An application that implements the Open Service Broker API ● Provision third-party resources from within a platform
  • 25. What is the Atlas service broker? ● Application you run inside of Kubernetes ● Exposes a standard API ● Manage Atlas clusters and users with Kubernetes resources
  • 26. Kubernetes ServiceInstance Resource Service Catalog Atlas Service Broker --- apiVersion: servicecatalog.k8s.io/v1beta1 kind: ServiceInstance metadata: name: atlas-cluster-instance spec: serviceClassExternalName: mongodb-atlas-aws servicePlanExternalName: M10 parameters: cluster: providerSettings: regionName: "EU_CENTRAL_1" Atlas
  • 28. Nota Bene ● Only clusters and users—everything else must be managed in Atlas ● Resources in Kubernetes will not reflect changes made outside
  • 29. Open Source ● Free as in speech and free as in beer ● Apache Licensed https://github.com/mongodb/mongodb-atlas-service-broker
  • 31. #MDBlocal MongoDB Atlas New Features: Open Service Broker Ben Elgar https://www.surveymonkey.com/r/8KSJRK5