SlideShare a Scribd company logo
Confidential & ProprietaryGoogle Cloud Platform 1
MongoDB + Google Cloud
Eric Brewer
VP Infrastructure, Google
Confidential & ProprietaryGoogle Cloud Platform 2Confidential & ProprietaryGoogle Cloud Platform 2
Brief History of SQL/NoSQL
1960 1965 1970 1975 1980 1985 1990 1995 2000 2005 2010 2015 Today
Pre-SQL
• Programming and data are tightly integrated
• One kind of developer
• More control
SQL
• Strong data model
• Two kinds of developers
• Invariants first (ACID)
NoSQL
• Back to tight integration
• One kind of programmer
• Both models make sense
Confidential & ProprietaryGoogle Cloud Platform 3Confidential & ProprietaryGoogle Cloud Platform 3
NoSQL is essential to the rapid evolution of cloud native datasets & applications.
The Rise of NoSQL
Delivers required control
for Highly Available Applications
Bottom-up Layering: Unix systems view
applied to data management
Confidential & ProprietaryGoogle Cloud Platform 4Confidential & ProprietaryGoogle Cloud Platform 4
Continuous Evolution
High availability makes continuous evolution extremely challenging.
The ability to continuously improve and modify a production application,
through many, small changes...without taking it down.
Confidential & ProprietaryGoogle Cloud Platform 5Confidential & ProprietaryGoogle Cloud Platform 5
Continuous Evolution
Drive incremental improvements to a production system
In-Production Change
Rollback
In-Production Change
TIME
VERSION
Confidential & ProprietaryGoogle Cloud Platform 6Google Cloud Platform 6
Building block: Sets of Containers
Containers
● Handle package dependencies
● Different versions, same machine
● No “DLL hell”
Pods
● Co-locate containers
● Shared volumes
● IP address, independent port space
● Unit of deployment, migration
/data
Pod
MyService
python 3.4.2
glibc 2.21
MySQL
python 2.7.9
glibc 2.19
Confidential & ProprietaryGoogle Cloud Platform 7Google Cloud Platform
Unit of deployment: Services
Service:
● Replicated pods
• Source pod is a template
● Auto-restart member pods
● Abstract name (DNS)
• IP address for the service
● Load balancing among replicas
Load Balancer
Service IP
Confidential & ProprietaryGoogle Cloud Platform 8Google Cloud Platform
replicas: 1replicas: 0replicas: 3replicas: 2replicas: 4
Example: Rolling Upgrade with Labels
Pods:
Labels:
frontend
v1.3
frontend
v1.3
frontend
v1.3
Replication Controller
v1.3
replicas: 1
v1.2
Replication Controller frontend
replicas: 2replicas: 3
frontend
v1.3
frontend
v1.2
frontend
v1.2
frontend
v1.2
frontend
v1.2
replicas: 4
Load Balancer
Confidential & ProprietaryGoogle Cloud Platform 9Confidential & ProprietaryGoogle Cloud Platform 9
How do we do the same for stateful
that we’ve done for stateless?
Confidential & ProprietaryGoogle Cloud Platform 10Google Cloud Platform
Stateful Services (in Kubernetes 1.3)
Persistent resolvable name: e.g. UserDB-Mongo-2
● Persistent ⇒ Name stays as pod comes/goes
● Resolvable ⇒ other replicas can find this one
Clean initialization:
● An init hook — recover or initialize state
● Staggered start for replica groups
Persistent volumes and claims
● Persistent volumes reliably keep state (magic disks!)
● Claim ensures you mount the same volume on restart
Confidential & ProprietaryGoogle Cloud Platform 11Google Cloud Platform
Driving Continuous Evolution for Stateful Services
Core idea: schema/API upgrade must be a reality
● Easy: API, schema version numbers
● Clients need version awareness/negotiation
Servers require automated way to convert data to new version
● Atomically
● Partition data by key (to enable incremental conversion)
● Must be able to roll back partial changes
● Ideally this would be automated
Confidential & ProprietaryGoogle Cloud Platform 12Confidential & ProprietaryGoogle Cloud Platform 12
Today: Deployment Manager support for MongoDB Cloud Manager.
Just Announced: Google Cloud Platform support in MongoDB Atlas coming soon!
MongoDB and Google Cloud Platform
Atlas
Confidential & ProprietaryGoogle Cloud Platform 13Confidential & ProprietaryGoogle Cloud Platform 13
MongoDB in the Google Cloud Ecosystem
BigQuery Cloud ML
Confidential & ProprietaryGoogle Cloud Platform 14
At MongoDB World: Learn More
‣
‣
Attend Sandeep’s Talk
Running MongoDB on GCP – Sandeep Parikh
Wednesday 3:10 - 3:50 PM, Nassau
Learn More About GCP Services
Codelabs
Confidential & ProprietaryGoogle Cloud Platform 15
Thank You

More Related Content

What's hot (20)

PDF
Making cloud native deployments easy with Buildpack
GDG Cloud Bengaluru
 
PDF
Intro to GKE and app deployment with Kubernetes
GDG Cloud Bengaluru
 
PPTX
Luca Relandini - Microservices and containers networking: Contiv, deep dive a...
Codemotion
 
PDF
Shakr - Container CI/CD with Google Cloud Platform
Minku Lee
 
PPTX
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
Oleg Shalygin
 
PPTX
What is Windows Azure Platform
David Chou
 
PPTX
Securing and Automating Kubernetes with Kyverno
Saim Safder
 
PDF
Intro to creating kubernetes operators
Juraj Hantak
 
PDF
From Code to Kubernetes
Daniel Oliveira Filho
 
PPTX
Intro to Docker Containers and the Oracle Platform – Database, WebLogic &Clo...
Lucas Jellema
 
PPTX
Getting Started with Kafka on k8s
VMware Tanzu
 
PDF
[GS네오텍] Google Kubernetes Engine
GS Neotek
 
PDF
Resilient microservices with Kubernetes - Mete Atamel - Codemotion Rome 2017
Codemotion
 
PPTX
Kubernetes best practices with GKE
GDG Cloud Bengaluru
 
PPTX
Introduction to helm
Jeeva Chelladhurai
 
PPTX
Cloud foundry: The Platform for Forging Cloud Native Applications
Chip Childers
 
PDF
GKE Tip Series how do i choose between gke standard, autopilot and cloud run
Sreenivas Makam
 
PPTX
Gdsc muk - innocent
junaidhasan17
 
PDF
KubeCon EU 2016 Keynote: Kubernetes State of the Union
KubeAcademy
 
PDF
Enterprise Kubernetes from Canonical
Dustin Kirkland
 
Making cloud native deployments easy with Buildpack
GDG Cloud Bengaluru
 
Intro to GKE and app deployment with Kubernetes
GDG Cloud Bengaluru
 
Luca Relandini - Microservices and containers networking: Contiv, deep dive a...
Codemotion
 
Shakr - Container CI/CD with Google Cloud Platform
Minku Lee
 
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
Oleg Shalygin
 
What is Windows Azure Platform
David Chou
 
Securing and Automating Kubernetes with Kyverno
Saim Safder
 
Intro to creating kubernetes operators
Juraj Hantak
 
From Code to Kubernetes
Daniel Oliveira Filho
 
Intro to Docker Containers and the Oracle Platform – Database, WebLogic &Clo...
Lucas Jellema
 
Getting Started with Kafka on k8s
VMware Tanzu
 
[GS네오텍] Google Kubernetes Engine
GS Neotek
 
Resilient microservices with Kubernetes - Mete Atamel - Codemotion Rome 2017
Codemotion
 
Kubernetes best practices with GKE
GDG Cloud Bengaluru
 
Introduction to helm
Jeeva Chelladhurai
 
Cloud foundry: The Platform for Forging Cloud Native Applications
Chip Childers
 
GKE Tip Series how do i choose between gke standard, autopilot and cloud run
Sreenivas Makam
 
Gdsc muk - innocent
junaidhasan17
 
KubeCon EU 2016 Keynote: Kubernetes State of the Union
KubeAcademy
 
Enterprise Kubernetes from Canonical
Dustin Kirkland
 

Viewers also liked (12)

PDF
MongoDB World 2016: Number Crush
MongoDB
 
PPTX
MongoDB Days UK: Run MongoDB on Google Cloud Platform
MongoDB
 
PDF
Data analysis and visualization with mongo db [mongodb world 2016]
Alexander Hendorf
 
PDF
MongoDB World 2016: From the Polls to the Trolls: Seeing What the World Think...
MongoDB
 
PDF
MongoDB World 2016: Get MEAN and Lean with MongoDB and Kubernetes
MongoDB
 
PPTX
MongoDB World 2016 : Advanced Aggregation
Joe Drumgoole
 
PDF
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
MongoDB
 
PDF
MongoDB World 2016: The Best IoT Analytics with MongoDB
MongoDB
 
PPTX
Pentaho Analytics for MongoDB - presentation from MongoDB World 2014
Pentaho
 
PPTX
Data Mashups for Analytics
Pentaho
 
PPTX
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
MongoDB
 
PDF
MongoDB World 2016: Scaling MongoDB with Docker and cGroups
MongoDB
 
MongoDB World 2016: Number Crush
MongoDB
 
MongoDB Days UK: Run MongoDB on Google Cloud Platform
MongoDB
 
Data analysis and visualization with mongo db [mongodb world 2016]
Alexander Hendorf
 
MongoDB World 2016: From the Polls to the Trolls: Seeing What the World Think...
MongoDB
 
MongoDB World 2016: Get MEAN and Lean with MongoDB and Kubernetes
MongoDB
 
MongoDB World 2016 : Advanced Aggregation
Joe Drumgoole
 
MongoDB Europe 2016 - ETL for Pros – Getting Data Into MongoDB The Right Way
MongoDB
 
MongoDB World 2016: The Best IoT Analytics with MongoDB
MongoDB
 
Pentaho Analytics for MongoDB - presentation from MongoDB World 2014
Pentaho
 
Data Mashups for Analytics
Pentaho
 
MongoDB 3.4: Deep Dive on Views, Zones, and MongoDB Compass
MongoDB
 
MongoDB World 2016: Scaling MongoDB with Docker and cGroups
MongoDB
 
Ad

Similar to MongoDB World 2016: MongoDB + Google Cloud (20)

PPTX
Using Docker EE to Scale Operational Intelligence at Splunk
Docker, Inc.
 
PDF
Free GitOps Workshop
Weaveworks
 
PDF
Mete Atamel "Resilient microservices with kubernetes"
IT Event
 
PDF
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
devopsdaysaustin
 
PDF
DCSF19 CMD and Conquer: Containerizing the Monolith
Docker, Inc.
 
PDF
Preparing for Neo - Singapore OutSystems User Group October 2022 Meetup
YashrajNayak4
 
PDF
Container Days
Patrick Mizer
 
PDF
ContainerDays NYC 2015: "Easing Your Way Into Docker: Lessons From a Journey ...
DynamicInfraDays
 
PPTX
Database as a Service (DBaaS) on Kubernetes
ObjectRocket
 
PPTX
London Adapt or Die: Kubernetes, Containers and Cloud - The MoD Story
Apigee | Google Cloud
 
PPTX
Ultimate Guide to Microservice Architecture on Kubernetes
kloia
 
PDF
Webinar: Emerging Trends in Data Architecture – What’s the Next Big Thing?
DATAVERSITY
 
PDF
Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...
Richard Bullington-McGuire
 
PDF
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
Ambassador Labs
 
PDF
Introduction to kubernetes
Göksel Pırnal
 
PDF
Cluster management with Kubernetes
Satnam Singh
 
PDF
Digital Forensics and Incident Response in The Cloud Part 3
Velocidex Enterprises
 
PDF
Robust Network Security and Observability with GitOps and Cilium
Weaveworks
 
PDF
Cloud Native Dünyada CI/CD
Mustafa AKIN
 
PDF
DockerDay2015: Docker Security
Docker-Hanoi
 
Using Docker EE to Scale Operational Intelligence at Splunk
Docker, Inc.
 
Free GitOps Workshop
Weaveworks
 
Mete Atamel "Resilient microservices with kubernetes"
IT Event
 
2016 - Easing Your Way Into Docker: Lessons From a Journey to Production
devopsdaysaustin
 
DCSF19 CMD and Conquer: Containerizing the Monolith
Docker, Inc.
 
Preparing for Neo - Singapore OutSystems User Group October 2022 Meetup
YashrajNayak4
 
Container Days
Patrick Mizer
 
ContainerDays NYC 2015: "Easing Your Way Into Docker: Lessons From a Journey ...
DynamicInfraDays
 
Database as a Service (DBaaS) on Kubernetes
ObjectRocket
 
London Adapt or Die: Kubernetes, Containers and Cloud - The MoD Story
Apigee | Google Cloud
 
Ultimate Guide to Microservice Architecture on Kubernetes
kloia
 
Webinar: Emerging Trends in Data Architecture – What’s the Next Big Thing?
DATAVERSITY
 
Extensible dev secops pipelines with Jenkins, Docker, Terraform, and a kitche...
Richard Bullington-McGuire
 
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
Ambassador Labs
 
Introduction to kubernetes
Göksel Pırnal
 
Cluster management with Kubernetes
Satnam Singh
 
Digital Forensics and Incident Response in The Cloud Part 3
Velocidex Enterprises
 
Robust Network Security and Observability with GitOps and Cilium
Weaveworks
 
Cloud Native Dünyada CI/CD
Mustafa AKIN
 
DockerDay2015: Docker Security
Docker-Hanoi
 
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
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 

MongoDB World 2016: MongoDB + Google Cloud

  • 1. Confidential & ProprietaryGoogle Cloud Platform 1 MongoDB + Google Cloud Eric Brewer VP Infrastructure, Google
  • 2. Confidential & ProprietaryGoogle Cloud Platform 2Confidential & ProprietaryGoogle Cloud Platform 2 Brief History of SQL/NoSQL 1960 1965 1970 1975 1980 1985 1990 1995 2000 2005 2010 2015 Today Pre-SQL • Programming and data are tightly integrated • One kind of developer • More control SQL • Strong data model • Two kinds of developers • Invariants first (ACID) NoSQL • Back to tight integration • One kind of programmer • Both models make sense
  • 3. Confidential & ProprietaryGoogle Cloud Platform 3Confidential & ProprietaryGoogle Cloud Platform 3 NoSQL is essential to the rapid evolution of cloud native datasets & applications. The Rise of NoSQL Delivers required control for Highly Available Applications Bottom-up Layering: Unix systems view applied to data management
  • 4. Confidential & ProprietaryGoogle Cloud Platform 4Confidential & ProprietaryGoogle Cloud Platform 4 Continuous Evolution High availability makes continuous evolution extremely challenging. The ability to continuously improve and modify a production application, through many, small changes...without taking it down.
  • 5. Confidential & ProprietaryGoogle Cloud Platform 5Confidential & ProprietaryGoogle Cloud Platform 5 Continuous Evolution Drive incremental improvements to a production system In-Production Change Rollback In-Production Change TIME VERSION
  • 6. Confidential & ProprietaryGoogle Cloud Platform 6Google Cloud Platform 6 Building block: Sets of Containers Containers ● Handle package dependencies ● Different versions, same machine ● No “DLL hell” Pods ● Co-locate containers ● Shared volumes ● IP address, independent port space ● Unit of deployment, migration /data Pod MyService python 3.4.2 glibc 2.21 MySQL python 2.7.9 glibc 2.19
  • 7. Confidential & ProprietaryGoogle Cloud Platform 7Google Cloud Platform Unit of deployment: Services Service: ● Replicated pods • Source pod is a template ● Auto-restart member pods ● Abstract name (DNS) • IP address for the service ● Load balancing among replicas Load Balancer Service IP
  • 8. Confidential & ProprietaryGoogle Cloud Platform 8Google Cloud Platform replicas: 1replicas: 0replicas: 3replicas: 2replicas: 4 Example: Rolling Upgrade with Labels Pods: Labels: frontend v1.3 frontend v1.3 frontend v1.3 Replication Controller v1.3 replicas: 1 v1.2 Replication Controller frontend replicas: 2replicas: 3 frontend v1.3 frontend v1.2 frontend v1.2 frontend v1.2 frontend v1.2 replicas: 4 Load Balancer
  • 9. Confidential & ProprietaryGoogle Cloud Platform 9Confidential & ProprietaryGoogle Cloud Platform 9 How do we do the same for stateful that we’ve done for stateless?
  • 10. Confidential & ProprietaryGoogle Cloud Platform 10Google Cloud Platform Stateful Services (in Kubernetes 1.3) Persistent resolvable name: e.g. UserDB-Mongo-2 ● Persistent ⇒ Name stays as pod comes/goes ● Resolvable ⇒ other replicas can find this one Clean initialization: ● An init hook — recover or initialize state ● Staggered start for replica groups Persistent volumes and claims ● Persistent volumes reliably keep state (magic disks!) ● Claim ensures you mount the same volume on restart
  • 11. Confidential & ProprietaryGoogle Cloud Platform 11Google Cloud Platform Driving Continuous Evolution for Stateful Services Core idea: schema/API upgrade must be a reality ● Easy: API, schema version numbers ● Clients need version awareness/negotiation Servers require automated way to convert data to new version ● Atomically ● Partition data by key (to enable incremental conversion) ● Must be able to roll back partial changes ● Ideally this would be automated
  • 12. Confidential & ProprietaryGoogle Cloud Platform 12Confidential & ProprietaryGoogle Cloud Platform 12 Today: Deployment Manager support for MongoDB Cloud Manager. Just Announced: Google Cloud Platform support in MongoDB Atlas coming soon! MongoDB and Google Cloud Platform Atlas
  • 13. Confidential & ProprietaryGoogle Cloud Platform 13Confidential & ProprietaryGoogle Cloud Platform 13 MongoDB in the Google Cloud Ecosystem BigQuery Cloud ML
  • 14. Confidential & ProprietaryGoogle Cloud Platform 14 At MongoDB World: Learn More ‣ ‣ Attend Sandeep’s Talk Running MongoDB on GCP – Sandeep Parikh Wednesday 3:10 - 3:50 PM, Nassau Learn More About GCP Services Codelabs
  • 15. Confidential & ProprietaryGoogle Cloud Platform 15 Thank You