SlideShare a Scribd company logo
1
Building a Sovereign
DBaaS [on K8s]
supporting OpenStack
Johan Andersson Reski Rukmantio
2
1. Introduction
2. Architecture
3. OpenStack integration
4. Day 2 Operations
3
3
Business problem
● Indonesian Cloud provider
● Competition from hyperscalers
● Data sovereignty / data privacy
● Data gravity
● Needs to broaden beyond IaaS
● DBaaS is foundational service
4
4
DBaaS Options
● Trove
● Custom / DIY e.g
Ansible/TF/OpenTofu
● Work with a DBaaS provider
5
5
Solution
● Leverage Severalnines CCX DBaaS
with Lintasarta Cloudeka infra
● Controlplane in K8s
● Dataplane in Openstack VMs
● Supporting multiple databases
○ MySQL, MariaDB, Postgres,
Redis, MS SQL Server
6
Architecture
& Overview
7
Stack
7
Observability Prometheus
AlertManager
Loki/ElasticSearch
Fluentbit
Grafana
DNS ExternalDNS
RBAC Keycloak
Security At rest (LUKS)
In-transit (TLS)
Message queue NATS
Database Postgres (zalando patroni operator)
MySQL (mysql innodb cluster operator)
8
Helm install CCX
Installation steps
Setup OpenStack
credentials and
config
Specify flavors
and volumes that
should be
exposed
3
2
1
https://artifacthub.io/packages/helm/clustercontrol/ccx
9
OpenStack integration options
9
White-label
the CCX frontend
Full API
integration
Your branding here
10
Integration options
JWT
(White label UI)
Service Account
(Full API Integration)
CCX DBaaS
Controlplane
User auth
(Web UI)
11
OpenStack integration
11
12
JWT
Login request
Create JWT
- PROJECTID
- USERID
- ORGID
- EMAIL
Sign with
private key
Receive JWT
Public Key
User exists?
Provision user
Control
Plane
CSP
Create Session
Load UI
13
Now what?!
13
Our DBaaS is up and running
14
Now what?!
14
Our DBaaS is up and running
Create infra and databases
15
Now what?!
15
Lifecycle management
Our DBaaS is up and running
Create infra and databases
16
16
Day 2 Operations
● State handing
● Database Configuration management
● Backup and Restore
● Scaling
● Failover
● Automatic Failure Handling
● Upgrades
17
17
Day 2 Operations
● State handing
● Database Configuration management
● Backup and Restore
● Scaling
● Failover
● Automatic Failure Handling
● Upgrades
… while operating at scale
… while requiring no human interaction
18
Controller
Control loop
Controlplane Dataplane
datastore state
FAILED
STARTED
etc.
PRIMARY
1.1.2.4
REPLICA
1.1.2.5
OpenStack VM
OpenStack VM
datastore
State handling
19
DNS - Application Failover
ExternalDNS
Controlplane Dataplane
End-user Apps
replica.datastore.example.com
1.1.2.4 datastore.example.com
1.1.2.5 replica.datastore.example.com
REPLICA
1.1.2.5
OpenStack
VM
PRIMAR
Y 1.1.2.4
OpenStack
VM
datastore.example.com
20
DNS - Application Failover
ExternalDNS
Controlplane Dataplane
End-user Apps
replica.datastore.example.com
1.1.2.4 datastore.example.com
1.1.2.5 replica.datastore.example.com
REPLICA
1.1.2.5
OpenStack
VM
PRIMAR
Y 1.1.2.4
OpenStack
VM
datastore.example.com
21
DNS - Application Failover: Failover and update DNS
ExternalDNS
Controlplane Dataplane
End-user Apps
datastore.example.com
replica.datastore.example.com
1.1.2.4 datastore.example.com
1.1.2.5 replica.datastore.example.com
1.1.2.5 datastore.example.com
PRIMAR
Y 1.1.2.5
OpenStack
VM
PRIMAR
Y 1.1.2.4
OpenStack
VM
22
22
Immutable
infrastructure principle
● Error handling
● Do not attempt to login to the servers
and fix things. No SSH.
● No agent that intelligently tries to do
things on the datastore
→ Rely on simple procedures.
23
How does CCX resolve this?
ExternalDNS
Controlplane Dataplane
End-user Apps
datastore.example.com
replica.datastore.example.com
1.1.2.4 datastore.example.com
1.1.2.5 replica.datastore.example.com
1.1.2.5 datastore.example.com
PRIMAR
Y 1.1.2.5
OpenStack
VM
PRIMAR
Y 1.1.2.4
OpenStack
VM
24
Add new infrastructure
ExternalDNS
Controlplane Dataplane
End-user Apps
datastore.example.com
replica.datastore.example.com
1.1.2.4 datastore.example.com
1.1.2.6 replica.datastore.example.com
1.1.2.5 datastore.example.com
REPLICA
1.1.2.6
OpenStack
VM
PRIMAR
Y 1.1.2.5
OpenStack
VM
PRIMAR
Y 1.1.2.4
OpenStack
VM
25
Remove broken infrastructure & clean up
ExternalDNS
Controlplane Dataplane
End-user Apps
datastore.example.com
1.1.2.6 replica.datastore.example.com
1.1.2.5 datastore.example.com
REPLICA
1.1.2.6
OpenStack
VM
PRIMAR
Y 1.1.2.5
OpenStack
VM
replica.datastore.example.com
26
26
Observability/logging is key for troubleshooting
Deployment of datastores is easy
Day 2 operations needs to be completely automated
Immutable infrastructure
Keep it simple
Summary
https://artifacthub.io/packages/helm/clustercontrol/ccx
27
27
www.severalnines.com/ccx
e-mail: johan@severalnines.com
Learn more?
https://artifacthub.io/packages/helm/clustercontrol/ccx
28
Johan Andersson
CTO at Severalnines
@severalnines
Reski Rukmantiyo
Vice President of Cloud Solutions
Lintasarta Cloudeka

More Related Content

PDF
Montreal OpenStack Q2 MeetUp - May 30th 2017
Stacy Véronneau
 
PDF
OpenStack Toronto Q2 MeetUp - June 1st 2017
Stacy Véronneau
 
PPTX
Some Advanced OpenStack Overview Document
TrungPhamVan10
 
PDF
Cisco: Cassandra adoption on Cisco UCS & OpenStack
DataStax Academy
 
PPTX
Automating CloudStack and hypervisor installation and configuration
Dag Sonstebo
 
PDF
Openstack In Action 1st Edition V K Cody Bumgardner
pompefodge3d
 
PDF
WEBINAR SLIDES: CCX for Cloud Service Providers
Severalnines
 
PDF
All about open stack
DataCentred
 
Montreal OpenStack Q2 MeetUp - May 30th 2017
Stacy Véronneau
 
OpenStack Toronto Q2 MeetUp - June 1st 2017
Stacy Véronneau
 
Some Advanced OpenStack Overview Document
TrungPhamVan10
 
Cisco: Cassandra adoption on Cisco UCS & OpenStack
DataStax Academy
 
Automating CloudStack and hypervisor installation and configuration
Dag Sonstebo
 
Openstack In Action 1st Edition V K Cody Bumgardner
pompefodge3d
 
WEBINAR SLIDES: CCX for Cloud Service Providers
Severalnines
 
All about open stack
DataCentred
 

Similar to Building a Sovereign DBaaS on K8s OpenInfra Summit Asia 2024.pdf (20)

PPTX
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
OpenStack
 
PPTX
DR_PRESENT 1
Ahmed Salman
 
PDF
ARCHITECTING TENANT BASED QOS IN MULTI-TENANT CLOUD PLATFORMS
Arun prasath
 
PDF
SREDAY London 2024 | Cloud Native Technologies: The Building Blocks of Modern...
Severalnines
 
PPTX
Cloud Foundry and OpenStack – Marriage Made in Heaven !
Animesh Singh
 
PDF
Who Needs Network Management in a Cloud Native Environment?
Eshed Gal-Or
 
PPTX
Containers #101 Meetup: Containers and OpenStack
Codefresh
 
PDF
[OpenStack Day in Korea 2015] Track 3-2 - Huawei Cloud Computing Powered by O...
OpenStack Korea Community
 
PDF
Building managedprivatecloud kvh_vancouversummit
matsunota
 
PPTX
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
Severalnines
 
PPT
Sebastien goasguen cloud stack and docker
ShapeBlue
 
PDF
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
Jason Anderson
 
PDF
Lessions from building a high available cloud foudry on top of open stack
Yitao Jiang
 
PPTX
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
VMware Tanzu
 
PPTX
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
VMware Tanzu
 
PPTX
Containers #101 Meetup: Containers & OpenStack
Brittany Ingram
 
PPTX
Containers and CloudStack
ShapeBlue
 
PDF
As a Service: Cloud Foundry on OpenStack - Lessons Learnt
Animesh Singh
 
PDF
OpenStack Operations Guide 1st Edition Tom Fifield
tuekamrasyid
 
PDF
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
Animesh Singh
 
Containers and OpenStack: Marc Van Hoof, Kumulus: Containers and OpenStack
OpenStack
 
DR_PRESENT 1
Ahmed Salman
 
ARCHITECTING TENANT BASED QOS IN MULTI-TENANT CLOUD PLATFORMS
Arun prasath
 
SREDAY London 2024 | Cloud Native Technologies: The Building Blocks of Modern...
Severalnines
 
Cloud Foundry and OpenStack – Marriage Made in Heaven !
Animesh Singh
 
Who Needs Network Management in a Cloud Native Environment?
Eshed Gal-Or
 
Containers #101 Meetup: Containers and OpenStack
Codefresh
 
[OpenStack Day in Korea 2015] Track 3-2 - Huawei Cloud Computing Powered by O...
OpenStack Korea Community
 
Building managedprivatecloud kvh_vancouversummit
matsunota
 
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
Severalnines
 
Sebastien goasguen cloud stack and docker
ShapeBlue
 
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
Jason Anderson
 
Lessions from building a high available cloud foudry on top of open stack
Yitao Jiang
 
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
VMware Tanzu
 
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
VMware Tanzu
 
Containers #101 Meetup: Containers & OpenStack
Brittany Ingram
 
Containers and CloudStack
ShapeBlue
 
As a Service: Cloud Foundry on OpenStack - Lessons Learnt
Animesh Singh
 
OpenStack Operations Guide 1st Edition Tom Fifield
tuekamrasyid
 
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
Animesh Singh
 
Ad

More from Severalnines (20)

PDF
The Long Term Cost of Managed DBaaS vs Sovereign DBaaS
Severalnines
 
PPTX
Sovereign DBaaS_ A Practical Vision for Self-Implementation of DBaaS.pptx
Severalnines
 
PDF
PostgreSQL on AWS Aurora/Azure Cosmos VS EC2/Azure VMs
Severalnines
 
PDF
Localhost Conference 2024_ Building a Flexible and Scalable Database Strategy...
Severalnines
 
PDF
S-DBaaS Community Call | Introduction to Sovereign DBaaS: The why, what and how
Severalnines
 
PDF
Kubernetes at Scale: Going Multi-Cluster with Istio
Severalnines
 
PDF
DIY DBaaS: A guide to building your own full-featured DBaaS
Severalnines
 
PDF
Cloud's future runs through Sovereign DBaaS
Severalnines
 
PPTX
Tips to drive maria db cluster performance for nextcloud
Severalnines
 
PPTX
Working with the Moodle Database: The Basics
Severalnines
 
PPTX
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
Severalnines
 
PDF
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
Severalnines
 
PDF
Webinar slides: How to Migrate from Oracle DB to MariaDB
Severalnines
 
PDF
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Severalnines
 
PDF
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Severalnines
 
PDF
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Severalnines
 
PPTX
Disaster Recovery Planning for MySQL & MariaDB
Severalnines
 
PPTX
MariaDB Performance Tuning Crash Course
Severalnines
 
PPTX
Performance Tuning Cheat Sheet for MongoDB
Severalnines
 
PPTX
Advanced MySql Data-at-Rest Encryption in Percona Server
Severalnines
 
The Long Term Cost of Managed DBaaS vs Sovereign DBaaS
Severalnines
 
Sovereign DBaaS_ A Practical Vision for Self-Implementation of DBaaS.pptx
Severalnines
 
PostgreSQL on AWS Aurora/Azure Cosmos VS EC2/Azure VMs
Severalnines
 
Localhost Conference 2024_ Building a Flexible and Scalable Database Strategy...
Severalnines
 
S-DBaaS Community Call | Introduction to Sovereign DBaaS: The why, what and how
Severalnines
 
Kubernetes at Scale: Going Multi-Cluster with Istio
Severalnines
 
DIY DBaaS: A guide to building your own full-featured DBaaS
Severalnines
 
Cloud's future runs through Sovereign DBaaS
Severalnines
 
Tips to drive maria db cluster performance for nextcloud
Severalnines
 
Working with the Moodle Database: The Basics
Severalnines
 
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
Severalnines
 
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
Severalnines
 
Webinar slides: How to Migrate from Oracle DB to MariaDB
Severalnines
 
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Severalnines
 
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Severalnines
 
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Severalnines
 
Disaster Recovery Planning for MySQL & MariaDB
Severalnines
 
MariaDB Performance Tuning Crash Course
Severalnines
 
Performance Tuning Cheat Sheet for MongoDB
Severalnines
 
Advanced MySql Data-at-Rest Encryption in Percona Server
Severalnines
 
Ad

Recently uploaded (20)

PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
PPTX
Explanation about Structures in C language.pptx
Veeral Rathod
 
PPTX
Role Of Python In Programing Language.pptx
jaykoshti048
 
PDF
Jenkins: An open-source automation server powering CI/CD Automation
SaikatBasu37
 
PDF
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
PPTX
PFAS Reporting Requirements 2026 Are You Submission Ready Certivo.pptx
Certivo Inc
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PDF
Protecting the Digital World Cyber Securit
dnthakkar16
 
PDF
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PDF
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
Exploring AI Agents in Process Industries
amoreira6
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
Explanation about Structures in C language.pptx
Veeral Rathod
 
Role Of Python In Programing Language.pptx
jaykoshti048
 
Jenkins: An open-source automation server powering CI/CD Automation
SaikatBasu37
 
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
PFAS Reporting Requirements 2026 Are You Submission Ready Certivo.pptx
Certivo Inc
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Protecting the Digital World Cyber Securit
dnthakkar16
 
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 

Building a Sovereign DBaaS on K8s OpenInfra Summit Asia 2024.pdf