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
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
Frank Munz
 
PPT
EM12C High Availability without SLB and RAC
Secure-24
 
PDF
New VMware Continuent 5.0 - A powerful and cost-efficient Oracle GoldenGate a...
Continuent
 
PDF
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
Biju Thomas
 
PDF
Practical guide to Oracle Virtual environments
Nelson Calero
 
DOC
Resume
vittal dadi
 
DOC
Yugandhar uppala oracle dba_2016
Yugandhar Uppala
 
PDF
Tổng quan công nghệ Net backup - Phần 1
NguyenDat Quoc
 
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
Frank Munz
 
EM12C High Availability without SLB and RAC
Secure-24
 
New VMware Continuent 5.0 - A powerful and cost-efficient Oracle GoldenGate a...
Continuent
 
Collaborate 2014 OAUG - EBS 11i Upgrade to R12 - Compare versions 12.2 vs 12.1
Biju Thomas
 
Practical guide to Oracle Virtual environments
Nelson Calero
 
Resume
vittal dadi
 
Yugandhar uppala oracle dba_2016
Yugandhar Uppala
 
Tổng quan công nghệ Net backup - Phần 1
NguyenDat Quoc
 

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

DOC
Asim CV - (9+ Yrs Exadata,Exalogic,Oracle VM,Cloud, GG, DBA,Fusion MW & Fusio...
Mirza Asim
 
PPTX
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
LarryZaman
 
PPTX
Benchmark emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
solarisyougood
 
PDF
DBA Tasks in Oracle Autonomous Database
SinanPetrusToma
 
DOCX
Updated Resume
Charles Fon
 
DOC
Fayaz-Systems Engineer
Fayaz Syed
 
DOC
Storage&Os
krishna p
 
DOCX
Hidayth_DBA_WLS
Hidayath P
 
PPTX
SYMC BE 15 Boot Camp Presentation
Mohamed El Fishawy
 
PDF
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
VMworld
 
PDF
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
Philippe Fierens
 
PDF
Storage&Os-updated-18May
krishna p
 
PDF
Azure en Nutanix: your journey to the hybrid cloud
ICT-Partners
 
PDF
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
Biju Thomas
 
PPTX
Scaling DataStax in Docker
DataStax
 
DOC
AbdulMateen
Abdul Mateen
 
PDF
Maruthi_YH_resume
Maruthi YH
 
DOC
Dipesh Singh 01112016
Dipesh Singh
 
PPTX
Scylla on Kubernetes: Introducing the Scylla Operator
ScyllaDB
 
DOCX
Michael_Dickens
michael dickens
 
Asim CV - (9+ Yrs Exadata,Exalogic,Oracle VM,Cloud, GG, DBA,Fusion MW & Fusio...
Mirza Asim
 
Business_Continuity_Planning_with_SQL_Server_HADR_options_TechEd_Bangalore_20...
LarryZaman
 
Benchmark emc vnx7500, emc fast suite, emc snap sure and oracle rac on v-mware
solarisyougood
 
DBA Tasks in Oracle Autonomous Database
SinanPetrusToma
 
Updated Resume
Charles Fon
 
Fayaz-Systems Engineer
Fayaz Syed
 
Storage&Os
krishna p
 
Hidayth_DBA_WLS
Hidayath P
 
SYMC BE 15 Boot Camp Presentation
Mohamed El Fishawy
 
VMworld 2013: Architecting Oracle Databases on vSphere 5 with NetApp Storage
VMworld
 
What we unlearned_and_learned_by_moving_from_m9000_to_ssc_ukoug2014
Philippe Fierens
 
Storage&Os-updated-18May
krishna p
 
Azure en Nutanix: your journey to the hybrid cloud
ICT-Partners
 
GLOC 2014 NEOOUG - R12 Upgrade Downtime Reduction
Biju Thomas
 
Scaling DataStax in Docker
DataStax
 
AbdulMateen
Abdul Mateen
 
Maruthi_YH_resume
Maruthi YH
 
Dipesh Singh 01112016
Dipesh Singh
 
Scylla on Kubernetes: Introducing the Scylla Operator
ScyllaDB
 
Michael_Dickens
michael dickens
 
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
SREDAY London 2024 | Cloud Native Technologies: The Building Blocks of Modern...
Severalnines
 
PDF
S-DBaaS Community Call | Introduction to Sovereign DBaaS: The why, what and how
Severalnines
 
PDF
WEBINAR SLIDES: CCX for Cloud Service Providers
Severalnines
 
PPTX
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
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
 
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
 
SREDAY London 2024 | Cloud Native Technologies: The Building Blocks of Modern...
Severalnines
 
S-DBaaS Community Call | Introduction to Sovereign DBaaS: The why, what and how
Severalnines
 
WEBINAR SLIDES: CCX for Cloud Service Providers
Severalnines
 
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
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
 
Ad

Recently uploaded (20)

PDF
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
PPTX
Role Of Python In Programing Language.pptx
jaykoshti048
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PDF
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
PPTX
Explanation about Structures in C language.pptx
Veeral Rathod
 
PDF
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PDF
Teaching Reproducibility and Embracing Variability: From Floating-Point Exper...
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PDF
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PDF
Bandai Playdia The Book - David Glotz
BluePanther6
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PDF
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
Role Of Python In Programing Language.pptx
jaykoshti048
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
Explanation about Structures in C language.pptx
Veeral Rathod
 
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
Teaching Reproducibility and Embracing Variability: From Floating-Point Exper...
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
Activate_Methodology_Summary presentatio
annapureddyn
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
Bandai Playdia The Book - David Glotz
BluePanther6
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 

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