SlideShare a Scribd company logo
© Copyright 2017 Pivotal Software, Inc. All rights Reserved. Version 1.0
Sept 2019
MySQL for PCF
Enterprise-Ready, Platform-Managed MySQL
& a Deep-Dive into HA Clusters
Pivotal’s Database Offerings
Operational AnalyticalMixed
Pivotal MySQL Pivotal Postgres Pivotal Greenplum
● High speed - tuned for OLTP
● Web scale
● Simple and easy to set up
● Thriving community of
experts who share best
practices
● Mixed OLTP-OLAP workloads
● Ideal for complex stored procedures
and intricate designs
● Flexibility offered by extensions
● Common target for Oracle migrations
● Massively parallel for analytics
at speed and scale
● Infrastructure-agnostic from
bare metal to cloud
● Integrate structured and
unstructured data in a single
environment
PCF PKS/on-premPKS/on-prem
The Emerging Need for Data Transformation
Your data organization needs a path to be a part of the transformation to cloud
native applications
● Certified DBAs spend wasted time running a ticket queue
● Growth in software practice and business bottlenecked by data/data team
● Developer productivity is hindered by data complexity and interdependence
● Held hostage by enterprise database vendors’ licensing tactics
Even if your Apps are cloud native...
➔ Developers spend inordinate amounts of
time for provisioning and setting up
databases
➔ Cloud infrastructures are ephemeral
requiring hardened availability at the
software layer
➔ New distributed architectures result in an
explosion of database instances
➔ Operators are overburdened with
configuring, managing, and monitoring
databases
What We’re Hearing
Operational
Efficiency
__
Deliver highly
available, resilient,
up-to-date systems at
a lower cost
Developer
Productivity
__
Get apps to market
faster by giving
developers the tools
and methods
Secure By
Default
__
Apps that are easy to
patch and incorporate
best practices
Multi-Cloud
Success
__
Make it possible to
build and run
effectively on any
cloud
Our customers achieve
transformative results at scale
MySQL for PCF enables these outcomes
● Automate provisioning of databases on-demand using the platform,
reducing DBA toil
● Simplify data monoliths into smaller & cheaper database backing
microservices
● Integrate native platform tools & components for streamlined day 2
experience
● Enable secure & sane database defaults with per-instance configurations
to match workload profiles
● Separate from vendor product lock-in, adopt OSS to reduce cost and
leverage community expertise
Value of MySQL for PCF
Automate Database Provisioning
Automate Database Provisioning
Actual customer app
developer’s database
request flow.
~8 weeks
Automate Database Provisioning
Provisioning a database
using MySQL for PCF.
~8 minutes
Break Down the Data Monolith
Break down the data monolith
Break down the data monolith
API access makes change management easier
● Define a API that projects a data model to
match the needs of the consuming
microservices
● API is the only permissible access point to a
microservice’s data
● Data API provides a contract for accessing
data
● Allows more flexibility for (and isolation
from) changes to backing stores
Day 2 Experience
Out-of-the-Box
Add on
beyond the
server
process
Opinionated
Distro
Integrate
with
Platform(s)
Dev
Enablement
Day 2
Security Sane Defaults
Logs
Monitoring
Backups
Data
import
Service
broker
Dashboards
Self-service
APIs
Fleet
management
Plan
upgrades
Upgrades
Credential
rotation
Tuning
Just the
MySQL
server
Day 2 Enhancements
MySQL for PCF Upgrade Experience
Source
Manage the Fleet
On-Demand Topologies
Disk
MySQL
Disk
MySQL
Disk
MySQL Disk
MySQL
Disk
MySQL
Disk
MySQL
App
App
App
Single Node
Leader-Follower
Highly Available Clusters
Jumpbox
Proxy Proxy Proxy
Backups
Tier 3
Tier 2
Tier
0
Tier 1
Non-mission critical
Dev & Test
Everything else
Not used
Enterprise DB solutions
Mission critical workloads
The new fleet of databases requires a new way of thinking
Tier 3
Tier 2
Tier
0
Tier 1
Mission critical workloads:
- HA Clusters
- Leader-Follower
Mission critical and shared data sets:
- Leader-Follower
Enterprise DB solutions
- Data Monoliths
Manage a fleet of smaller databases that match your
workload profile
Non-mission critical, Dev & Test:
- Single node
- Leader- Follower
High Availability Clusters
Recovery Time Objective In how much time you need to recover your IT infrastructure and services following a disaster in order to maintain business continuity?
Availability topologies
App App App
Recovery Point Objective How much time worth of data loss you can tolerate in the event of a disaster in order to maintain business continuity?
Good Better Best
Good Better Best
Recovery Time Objective In how much time you need to recover your IT infrastructure and services following a disaster in order to maintain business continuity?
Complexity & Cost How much time, effort, and technical expertise is required to troubleshoot in the event of a disaster in order to maintain business continuity?
Availability Costs & Benefits
App App App
Recovery Point Objective How much time worth of data loss you can tolerate in the event of a disaster in order to maintain business continuity?
Good Better Best
Good Better Best
Low Medium High
PCF Operator Workflow - L-F Failover
Video: https://youtu.be/iOU41-kfjuQ
Video: https://youtu.be/PNHGz6YwNMw26
High Availability Cluster Failover Demo
HA Clusters: Deep Dive
Developer creates high
availability instance and
binds it to app
VM dies,
App fails over
BOSH resurrector restores
high availability, App fails
back
Disk
MySQL
Disk
MySQL
Disk
MySQL
App
Jumpbox
Proxy Proxy Proxy
Backups
Disk
MySQL
Disk
MySQL
Disk
MySQL
App
Jumpbox
Proxy Proxy Proxy
Backups
Disk
MySQL
Disk
MySQL
Disk
MySQL
App
Jumpbox
Proxy Proxy Proxy
Backups
HA Clusters - Failover
BOSH updates the 1st
node, no impact to
Applications
BOSH continues to
the 2nd, Apps fail
over
BOSH finishes the 3rd
node, Apps fail back
Disk
MySQL
Disk
MySQL
Disk
MySQL
App
Jumpbox
Proxy Proxy Proxy
Backups
Disk
MySQL
Disk
MySQL
Disk
MySQL
App
Jumpbox
Proxy Proxy Proxy
Backups
Disk
MySQL
Disk
MySQL
Disk
MySQL
App
Jumpbox
Proxy Proxy Proxy
Backups
HA Clusters - Rolling Upgrades
● Multi-master: Any node is available for
failover
● Out of sync nodes are automatically evicted
● In Leader-Follower, if one node crashes, the
service is down till manual failover
completes.
BOSH
DNSProxy
MySQL
server
Proxy
MySQL
server
Zone1Zone2Zone3
Proxy
App
MySQL
server
HA Deep Dive - The Cluster
MySQL
server
Zone1Zone2Zone3
● Spreading three nodes across multiple AZs
prevents against isolated IaaS failure.
● Worst case: Cluster is down, not split brainBOSH
DNS
Proxy
Proxy
Proxy
App
MySQL
server
MySQL
server
HA Deep Dive - Availability Zones
MySQL
server
MySQL
server
MySQL
server
Zone1Zone2Zone3
Proxy
● We control all the traffic to a single master
with proxies providing super-fast failover
times
● Failover is near-immediate when one
node crashes.
● The proxies also help protect from split
brain and from some Galera limitations
Proxy
Proxy
BOSH
DNS
App
HA Deep Dive - Proxies
MySQL
server
BOSH
DNS
Proxy
MySQL
server
Proxy
MySQL
server
Zone1Zone2Zone3
● BOSH DNS (PCF 2.2+) directs apps to the
active proxy
● “Zero downtime” rolling upgrades
● 99.999% uptime, planned and unplanned
Proxy
App
HA Deep Dive
Up Next: Multi-DC Replication
Multi-DC Replication - Preview
Active-Passive App Layer Active-Active
*GSLB = Global Service Load Balancer
Secondary DC Primary DC Secondary DCPrimary DC
GSLB GSLB
App A App A’ App A App A’
failover
failover
failover
Transforming How The World Builds Software
© Copyright 2017 Pivotal Software, Inc. All rights Reserved.
Summary: Enterprise Ready
Enterprise Ready
Scale to Hundreds of DB Instances for Modern Microservices-based Applications
● Customize service plan definitions to support internal chargeback packages and
enforce resource constraints.
● Highly available and resilient to node, availability zone, or site failure (beta). Zero
downtime upgrade and patches
● Automate periodic backups and allow for restoring from a backup
● Data in motion is protected via transport layer security.
● Get visibility into details of service operation through standard monitoring and
logging tools. Receive alerts for faster problem resolution

More Related Content

What's hot (20)

PDF
Four considerations when monitoring microservices
Jason Bloomberg
 
PPTX
Application Security in the Cloud - Best Practices
RightScale
 
PPTX
The Cloud Native Journey
VMware Tanzu
 
PDF
PKS: The What and How of Enterprise-Grade Kubernetes
VMware Tanzu
 
PPTX
OPS Executive insights Webinar - Tanzu Slides
VMware Tanzu
 
PDF
Stability anti patterns in cloud-native applications
Ana-Maria Mihalceanu
 
PPTX
Continuous Everything in a Multi-cloud and Multi-platform Environment
VMware Tanzu
 
PDF
InfoSec: Evolve Thyself to Keep Pace in the Age of DevOps
VMware Tanzu
 
PDF
Delivering Essentials for Albertsons: VMware TAS’s Critical Role During the C...
VMware Tanzu
 
PDF
Accelerate Digital Transformation with Pivotal Cloud Foundry on Azure
VMware Tanzu
 
PDF
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
VMware Tanzu
 
PDF
VMware Developer-Ready Transformation
VMware Tanzu
 
PPTX
OPS Executive insights Webinar - Accenture
VMware Tanzu
 
PPTX
Reimagining Customer Experiences Utilizing Pivotal Cloud Foundry
VMware Tanzu
 
PPTX
Achieving DevSecOps Outcomes with Tanzu Advanced- March 22, 2021
VMware Tanzu
 
PDF
Build cloud native solution using open source
Nitesh Jadhav
 
PDF
James Watters Kafka Summit NYC 2019 Keynote
James Watters
 
PDF
LIVE DEMO: Pivotal Cloud Foundry
VMware Tanzu
 
PPTX
StripeCon 2021: A Cloud-Native approach to running Silverstripe on Google Clo...
Jon Su
 
PDF
Accelerate Application Migration - August 5, 2020
VMware Tanzu
 
Four considerations when monitoring microservices
Jason Bloomberg
 
Application Security in the Cloud - Best Practices
RightScale
 
The Cloud Native Journey
VMware Tanzu
 
PKS: The What and How of Enterprise-Grade Kubernetes
VMware Tanzu
 
OPS Executive insights Webinar - Tanzu Slides
VMware Tanzu
 
Stability anti patterns in cloud-native applications
Ana-Maria Mihalceanu
 
Continuous Everything in a Multi-cloud and Multi-platform Environment
VMware Tanzu
 
InfoSec: Evolve Thyself to Keep Pace in the Age of DevOps
VMware Tanzu
 
Delivering Essentials for Albertsons: VMware TAS’s Critical Role During the C...
VMware Tanzu
 
Accelerate Digital Transformation with Pivotal Cloud Foundry on Azure
VMware Tanzu
 
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
VMware Tanzu
 
VMware Developer-Ready Transformation
VMware Tanzu
 
OPS Executive insights Webinar - Accenture
VMware Tanzu
 
Reimagining Customer Experiences Utilizing Pivotal Cloud Foundry
VMware Tanzu
 
Achieving DevSecOps Outcomes with Tanzu Advanced- March 22, 2021
VMware Tanzu
 
Build cloud native solution using open source
Nitesh Jadhav
 
James Watters Kafka Summit NYC 2019 Keynote
James Watters
 
LIVE DEMO: Pivotal Cloud Foundry
VMware Tanzu
 
StripeCon 2021: A Cloud-Native approach to running Silverstripe on Google Clo...
Jon Su
 
Accelerate Application Migration - August 5, 2020
VMware Tanzu
 

Similar to Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service (20)

PPTX
MySQL High Availibility Solutions
Mark Swarbrick
 
PPTX
MySQL High Availability Solutions - Feb 2015 webinar
Andrew Morgan
 
PDF
MySQL 5.7 InnoDB Cluster (Jan 2018)
Olivier DASINI
 
PPTX
A Year in Google - Percona Live Europe 2018
Carmen Mason
 
PPTX
What's new in MySQL Cluster 7.4 webinar charts
Andrew Morgan
 
PDF
High Availability in GCE
Carmen Mason
 
PDF
Pl2017 High Availability in GCE
Allan Mason
 
ODP
MySQL HA Alternatives 2010
Kris Buytaert
 
PDF
Sunshine php my sql 8.0 v2
Kathy Forte (Hassard)
 
PDF
1 architecture & design
Mark Swarbrick
 
PDF
Scaling MySQL -- Swanseacon.co.uk
Dave Stokes
 
PDF
Why MySQL High Availability Matters
Matt Lord
 
PDF
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
Frazer Clement
 
PDF
Netherlands Tech Tour 02 - MySQL Fabric
Mark Swarbrick
 
PDF
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
Olivier DASINI
 
PPTX
Tech Talk Series, Part 4: How do you achieve high availability in a MySQL env...
Clustrix
 
PDF
Implementing MySQL Database-as-a-Service using open source tools
All Things Open
 
PDF
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
Olivier DASINI
 
PDF
Become a MySQL DBA - webinar series - slides: Which High Availability solution?
Severalnines
 
PPT
MySQL Alta Disponibilidade com Replicação
MySQL Brasil
 
MySQL High Availibility Solutions
Mark Swarbrick
 
MySQL High Availability Solutions - Feb 2015 webinar
Andrew Morgan
 
MySQL 5.7 InnoDB Cluster (Jan 2018)
Olivier DASINI
 
A Year in Google - Percona Live Europe 2018
Carmen Mason
 
What's new in MySQL Cluster 7.4 webinar charts
Andrew Morgan
 
High Availability in GCE
Carmen Mason
 
Pl2017 High Availability in GCE
Allan Mason
 
MySQL HA Alternatives 2010
Kris Buytaert
 
Sunshine php my sql 8.0 v2
Kathy Forte (Hassard)
 
1 architecture & design
Mark Swarbrick
 
Scaling MySQL -- Swanseacon.co.uk
Dave Stokes
 
Why MySQL High Availability Matters
Matt Lord
 
200 million qps on commodity hardware : Getting started with MySQL Cluster 7.4
Frazer Clement
 
Netherlands Tech Tour 02 - MySQL Fabric
Mark Swarbrick
 
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
Olivier DASINI
 
Tech Talk Series, Part 4: How do you achieve high availability in a MySQL env...
Clustrix
 
Implementing MySQL Database-as-a-Service using open source tools
All Things Open
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
Olivier DASINI
 
Become a MySQL DBA - webinar series - slides: Which High Availability solution?
Severalnines
 
MySQL Alta Disponibilidade com Replicação
MySQL Brasil
 
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
VMware Tanzu
 
PDF
What AI Means For Your Product Strategy And What To Do About It
VMware Tanzu
 
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
VMware Tanzu
 
PPTX
Enhancing DevEx and Simplifying Operations at Scale
VMware Tanzu
 
PDF
Spring Update | July 2023
VMware Tanzu
 
PPTX
Platforms, Platform Engineering, & Platform as a Product
VMware Tanzu
 
PPTX
Building Cloud Ready Apps
VMware Tanzu
 
PDF
Spring Boot 3 And Beyond
VMware Tanzu
 
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
VMware Tanzu
 
PPTX
tanzu_developer_connect.pptx
VMware Tanzu
 
PDF
Tanzu Virtual Developer Connect Workshop - French
VMware Tanzu
 
PDF
Tanzu Developer Connect Workshop - English
VMware Tanzu
 
PDF
Virtual Developer Connect Workshop - English
VMware Tanzu
 
PDF
Tanzu Developer Connect - French
VMware Tanzu
 
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
VMware Tanzu
 
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
VMware Tanzu
 
PDF
SpringOne Tour: The Influential Software Engineer
VMware Tanzu
 
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
VMware Tanzu
 
Spring into AI presented by Dan Vega 5/14
VMware Tanzu
 
What AI Means For Your Product Strategy And What To Do About It
VMware Tanzu
 
Make the Right Thing the Obvious Thing at Cardinal Health 2023
VMware Tanzu
 
Enhancing DevEx and Simplifying Operations at Scale
VMware Tanzu
 
Spring Update | July 2023
VMware Tanzu
 
Platforms, Platform Engineering, & Platform as a Product
VMware Tanzu
 
Building Cloud Ready Apps
VMware Tanzu
 
Spring Boot 3 And Beyond
VMware Tanzu
 
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
VMware Tanzu
 
tanzu_developer_connect.pptx
VMware Tanzu
 
Tanzu Virtual Developer Connect Workshop - French
VMware Tanzu
 
Tanzu Developer Connect Workshop - English
VMware Tanzu
 
Virtual Developer Connect Workshop - English
VMware Tanzu
 
Tanzu Developer Connect - French
VMware Tanzu
 
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
VMware Tanzu
 
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
VMware Tanzu
 
SpringOne Tour: The Influential Software Engineer
VMware Tanzu
 
SpringOne Tour: Domain-Driven Design: Theory vs Practice
VMware Tanzu
 
Ad

Recently uploaded (20)

PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Digital Circuits, important subject in CS
contactparinay1
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 

Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service

  • 1. © Copyright 2017 Pivotal Software, Inc. All rights Reserved. Version 1.0 Sept 2019 MySQL for PCF Enterprise-Ready, Platform-Managed MySQL & a Deep-Dive into HA Clusters
  • 2. Pivotal’s Database Offerings Operational AnalyticalMixed Pivotal MySQL Pivotal Postgres Pivotal Greenplum ● High speed - tuned for OLTP ● Web scale ● Simple and easy to set up ● Thriving community of experts who share best practices ● Mixed OLTP-OLAP workloads ● Ideal for complex stored procedures and intricate designs ● Flexibility offered by extensions ● Common target for Oracle migrations ● Massively parallel for analytics at speed and scale ● Infrastructure-agnostic from bare metal to cloud ● Integrate structured and unstructured data in a single environment PCF PKS/on-premPKS/on-prem
  • 3. The Emerging Need for Data Transformation Your data organization needs a path to be a part of the transformation to cloud native applications ● Certified DBAs spend wasted time running a ticket queue ● Growth in software practice and business bottlenecked by data/data team ● Developer productivity is hindered by data complexity and interdependence ● Held hostage by enterprise database vendors’ licensing tactics
  • 4. Even if your Apps are cloud native...
  • 5. ➔ Developers spend inordinate amounts of time for provisioning and setting up databases ➔ Cloud infrastructures are ephemeral requiring hardened availability at the software layer ➔ New distributed architectures result in an explosion of database instances ➔ Operators are overburdened with configuring, managing, and monitoring databases What We’re Hearing
  • 6. Operational Efficiency __ Deliver highly available, resilient, up-to-date systems at a lower cost Developer Productivity __ Get apps to market faster by giving developers the tools and methods Secure By Default __ Apps that are easy to patch and incorporate best practices Multi-Cloud Success __ Make it possible to build and run effectively on any cloud Our customers achieve transformative results at scale MySQL for PCF enables these outcomes
  • 7. ● Automate provisioning of databases on-demand using the platform, reducing DBA toil ● Simplify data monoliths into smaller & cheaper database backing microservices ● Integrate native platform tools & components for streamlined day 2 experience ● Enable secure & sane database defaults with per-instance configurations to match workload profiles ● Separate from vendor product lock-in, adopt OSS to reduce cost and leverage community expertise Value of MySQL for PCF
  • 9. Automate Database Provisioning Actual customer app developer’s database request flow. ~8 weeks
  • 10. Automate Database Provisioning Provisioning a database using MySQL for PCF. ~8 minutes
  • 11. Break Down the Data Monolith
  • 12. Break down the data monolith
  • 13. Break down the data monolith
  • 14. API access makes change management easier ● Define a API that projects a data model to match the needs of the consuming microservices ● API is the only permissible access point to a microservice’s data ● Data API provides a contract for accessing data ● Allows more flexibility for (and isolation from) changes to backing stores
  • 16. Add on beyond the server process Opinionated Distro Integrate with Platform(s) Dev Enablement Day 2 Security Sane Defaults Logs Monitoring Backups Data import Service broker Dashboards Self-service APIs Fleet management Plan upgrades Upgrades Credential rotation Tuning Just the MySQL server Day 2 Enhancements
  • 17. MySQL for PCF Upgrade Experience Source
  • 19. On-Demand Topologies Disk MySQL Disk MySQL Disk MySQL Disk MySQL Disk MySQL Disk MySQL App App App Single Node Leader-Follower Highly Available Clusters Jumpbox Proxy Proxy Proxy Backups
  • 20. Tier 3 Tier 2 Tier 0 Tier 1 Non-mission critical Dev & Test Everything else Not used Enterprise DB solutions Mission critical workloads The new fleet of databases requires a new way of thinking
  • 21. Tier 3 Tier 2 Tier 0 Tier 1 Mission critical workloads: - HA Clusters - Leader-Follower Mission critical and shared data sets: - Leader-Follower Enterprise DB solutions - Data Monoliths Manage a fleet of smaller databases that match your workload profile Non-mission critical, Dev & Test: - Single node - Leader- Follower
  • 23. Recovery Time Objective In how much time you need to recover your IT infrastructure and services following a disaster in order to maintain business continuity? Availability topologies App App App Recovery Point Objective How much time worth of data loss you can tolerate in the event of a disaster in order to maintain business continuity? Good Better Best Good Better Best
  • 24. Recovery Time Objective In how much time you need to recover your IT infrastructure and services following a disaster in order to maintain business continuity? Complexity & Cost How much time, effort, and technical expertise is required to troubleshoot in the event of a disaster in order to maintain business continuity? Availability Costs & Benefits App App App Recovery Point Objective How much time worth of data loss you can tolerate in the event of a disaster in order to maintain business continuity? Good Better Best Good Better Best Low Medium High
  • 25. PCF Operator Workflow - L-F Failover Video: https://youtu.be/iOU41-kfjuQ
  • 28. Developer creates high availability instance and binds it to app VM dies, App fails over BOSH resurrector restores high availability, App fails back Disk MySQL Disk MySQL Disk MySQL App Jumpbox Proxy Proxy Proxy Backups Disk MySQL Disk MySQL Disk MySQL App Jumpbox Proxy Proxy Proxy Backups Disk MySQL Disk MySQL Disk MySQL App Jumpbox Proxy Proxy Proxy Backups HA Clusters - Failover
  • 29. BOSH updates the 1st node, no impact to Applications BOSH continues to the 2nd, Apps fail over BOSH finishes the 3rd node, Apps fail back Disk MySQL Disk MySQL Disk MySQL App Jumpbox Proxy Proxy Proxy Backups Disk MySQL Disk MySQL Disk MySQL App Jumpbox Proxy Proxy Proxy Backups Disk MySQL Disk MySQL Disk MySQL App Jumpbox Proxy Proxy Proxy Backups HA Clusters - Rolling Upgrades
  • 30. ● Multi-master: Any node is available for failover ● Out of sync nodes are automatically evicted ● In Leader-Follower, if one node crashes, the service is down till manual failover completes. BOSH DNSProxy MySQL server Proxy MySQL server Zone1Zone2Zone3 Proxy App MySQL server HA Deep Dive - The Cluster
  • 31. MySQL server Zone1Zone2Zone3 ● Spreading three nodes across multiple AZs prevents against isolated IaaS failure. ● Worst case: Cluster is down, not split brainBOSH DNS Proxy Proxy Proxy App MySQL server MySQL server HA Deep Dive - Availability Zones
  • 32. MySQL server MySQL server MySQL server Zone1Zone2Zone3 Proxy ● We control all the traffic to a single master with proxies providing super-fast failover times ● Failover is near-immediate when one node crashes. ● The proxies also help protect from split brain and from some Galera limitations Proxy Proxy BOSH DNS App HA Deep Dive - Proxies
  • 33. MySQL server BOSH DNS Proxy MySQL server Proxy MySQL server Zone1Zone2Zone3 ● BOSH DNS (PCF 2.2+) directs apps to the active proxy ● “Zero downtime” rolling upgrades ● 99.999% uptime, planned and unplanned Proxy App HA Deep Dive
  • 34. Up Next: Multi-DC Replication
  • 35. Multi-DC Replication - Preview Active-Passive App Layer Active-Active *GSLB = Global Service Load Balancer Secondary DC Primary DC Secondary DCPrimary DC GSLB GSLB App A App A’ App A App A’ failover failover failover
  • 36. Transforming How The World Builds Software © Copyright 2017 Pivotal Software, Inc. All rights Reserved.
  • 38. Enterprise Ready Scale to Hundreds of DB Instances for Modern Microservices-based Applications ● Customize service plan definitions to support internal chargeback packages and enforce resource constraints. ● Highly available and resilient to node, availability zone, or site failure (beta). Zero downtime upgrade and patches ● Automate periodic backups and allow for restoring from a backup ● Data in motion is protected via transport layer security. ● Get visibility into details of service operation through standard monitoring and logging tools. Receive alerts for faster problem resolution