SlideShare une entreprise Scribd logo
1  sur  38
Télécharger pour lire hors ligne
Path to Open Source
DBaaS with Kubernetes
Keeping your data portable
Peter Zaitsev,
CEO, Percona
StackConf Online
June 17th, 2020
Early Days of
Modern Open
Source
© 2020 Percona2
Installation of
Open Source
Software
© 2020 Percona 3
Download Sources, Patch and Compile
Tar.gz binaries and INSTALL
Packages with Dependencies - .deb .rpm
Package repositories APT and YUM
Docker, Snap etc
Trend
© 2020 Percona 4
MAKING IT EASY REDUCING BARRIER TO
ENTRY
Modern Open
Source
Most Developers will not be
able to build from scratch all
tools they use
© 2020 Percona 5
Not a bad
Thing…
© 2020 Percona 6
Allows us to use more complicated,
more valuable software
More people can be Open Source
Developers
The Dark Side
© 2020 Percona 7
Next
Simplification
comes with
Vendor Lock-In in
the Cloud
© 2020 Percona8
Current State
Easiest/fastest way to deploy
Open Source (and Compatible)
Software is to do it in the cloud,
using Proprietary API
© 2020 Percona 9
Choices for
Database
Technologies
© 2020 Percona 10
Roll your own using commodity
building blocks (Compute, Storage ETC)
Use Database as a Service (DBaaS)
functionality
DBaaS Removes a lot of “Toil”
© 2020 Percona 11
Managing High
Availability
Database Patching Backups (Some)
Performance Tuning
Easy to Scale
Two Kind of
DBaaS
© 2020 Percona 12
THE “PLAIN” OPEN SOURCE
PRODUCT WRAPPED IN
MANAGEMENT BACKEND
“ENHANCED” (PROPRIETARY) OPEN
SOURCE COMPATIBLE SOLUTION
Both of them
Reduce Data
and Application
Portability
It is NOT trivial to move from Amazon RDS to Google
CloudSQL but it is even harder with Amazon Aurora
© 2020 Percona 13
Could We…
© 2020 Percona 14
Get Public Cloud DBaaS Like Simplicity
But as Open Source Solution
Bad News
We’re Not there yet
© 2020 Percona 15
Good News
© 2020 Percona16
Kubernetes
© 2020 Percona 17
“Operating System” but for Cluster,
rather individual hosts
Has a lot of Momentum
Universally Supported in Public, Private,
Hybrid Cloud
Kubernetes
© 2020 Percona18
Stateful
Applications and
Kubernetes
© 2020 Percona19
Kubernetes
© 2020 Percona 20
Stateful Sets
Persistent Volumes
Operator Framework
Kubernetes
Powered Public
DBaaS
© 2020 Percona21
Percona’s Work
© 2020 Percona 22
Percona XtraDB
Cluster
MySQL Compatible
Strong High Availability
Open Source
Deploy Single Node if want dev database
© 2020 Percona23
Kubernetes
Users
© 2020 Percona 24
Direct users of Kubernetes Operators
Users of the Service which happen to
run Kubernetes on Backend
Percona DBaaS
CLI
Experimental Solutions for those who wants to Get Open
Source DBaaS without deep Kubernetes Understanding
© 2020 Percona 25
Let’s Walk Through
• Most Featureful Kubernetes Implementation among Major
Clouds
• Available in Many Locations
• Easy to use Command Line Tool (SDK)
© 2020 Percona 26
Components
Needed
© 2020 Percona 27
Kubectl
Gcloud SDK
Percona DBaaS CLI
Installing Kubectl
(Ubuntu 18.04)
© 2020 Percona28
https://kubernetes.io/docs/tasks/tools/install-kubectl/
Install Google
Cloud SDK
© 2020 Percona29
https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu
Installing
Percona DBaaS
CLI
© 2020 Percona30
https://www.percona.com/doc/dbaas-cli/installation.html
Setting things up
• gcloud auth login
• gcloud config set project hidden-brace-236921
• gcloud container clusters create --zone us-central1-a percona-dbaas-demo --
cluster-version 1.15 --num-nodes=3
• kubectl create clusterrolebinding cluster-admin-binding-$USER --
clusterrole=cluster-admin --user=$(gcloud config get-value core/account)
• kubectl create namespace my-namespace
• kubectl config set-context --current --namespace=my-namespace
© 2020 Percona 31
https://www.percona.com/doc/dbaas-cli/kubernetes.html
Spinning up the Cluster
# percona-dbaas mysql create-db example
Starting.........................................[done]
Database started successfully, connection details are below:
Provider: k8s
Engine: pxc
Resource Name: example
Resource Endpoint: example-proxysql.my-namespace.pxc.svc.local
Port: 3306
User: root
Pass: Nt9YZguajW7nfVXTTrP
Status: ready
© 2020 Percona 32
Connecting
• Establish Port Mapping
• kubectl port-forward svc/example-proxysql 3306:3306 &
• Connect with Your Favorite Client
• mysql -h 127.0.0.1 -P 3306 -uroot -pNt9YZguajW7nfVXTTrP
© 2020 Percona33
Advanced:
Exposing the
Database
# percona-dbaas mysql create-db exposed --options="proxysql.serviceType=LoadBalancer"
Starting...........................[done]
Database started successfully, connection details are below:
Provider: k8s
Engine: pxc
Resource Name: exposed
Resource Endpoint: 104.154.133.197
Port: 3306
User: root
Pass: k0QVxTr8EVfgyCLYse
Status: ready
To access database please run the following command:
mysql -h 104.154.133.197 -P 3306 -uroot -pk0QVxTr8EVfgyCLYse
© 2020 Percona34
Advanced: Set
your own
Password
# percona-dbaas mysql create-db withpw --password=mypassword
Starting......................................................
.[done]
Database started successfully, connection details are below:
Provider: k8s
Engine: pxc
Resource Name: withpw
Resource Endpoint: withpw-proxysql.my-namespace.pxc.svc.local
Port: 3306
User: root
Pass: mypassword
Status: ready
© 2020 Percona35
Advanced: Single
Node
Deployment
# percona-dbaas mysql create-db singlenode --
options="proxysql.enabled=false,allowUnsafeConfigurati
ons=true,pxc.size=1"
Starting............[done]
Database started successfully, connection details are
below:
Provider: k8s
Engine: pxc
Resource Name: singlenode
Resource Endpoint: singlenode-pxc.my-
namespace.pxc.svc.local
Port: 3306
User: root
Pass: 22VqFD96mvRnmPMGg
Status: ready
© 2020 Percona36
Summary
© 2020 Percona 37
With Percona DBaaS CLI you can get
DBaaS Like Experience with Kubernetes
We’re continuing work to bring more
features and extent usability all
available in Open Source Software
Give it a try, provide your feedback or
participate in development!
Thank you, Let’s Connect!
https://www.linkedin.com/in/peterzaitsev/
https://twitter.com/PeterZaitsev

Contenu connexe

Tendances

Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...Cloud Native Day Tel Aviv
 
Deep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingDeep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingSreenivas Makam
 
Kubernetes and Istio
Kubernetes and IstioKubernetes and Istio
Kubernetes and IstioKetan Gote
 
Packaging Strategy for Community Openstack and Implementation Reference | Hoj...
Packaging Strategy for Community Openstack and Implementation Reference | Hoj...Packaging Strategy for Community Openstack and Implementation Reference | Hoj...
Packaging Strategy for Community Openstack and Implementation Reference | Hoj...Vietnam Open Infrastructure User Group
 
Container Networking - State of the Ecosystem [ContainerConf, Mannheim, Nov 2...
Container Networking - State of the Ecosystem [ContainerConf, Mannheim, Nov 2...Container Networking - State of the Ecosystem [ContainerConf, Mannheim, Nov 2...
Container Networking - State of the Ecosystem [ContainerConf, Mannheim, Nov 2...Karthik Prabhakar
 
Docker Networking Overview
Docker Networking OverviewDocker Networking Overview
Docker Networking OverviewSreenivas Makam
 
John Spray - Ceph in Kubernetes
John Spray - Ceph in KubernetesJohn Spray - Ceph in Kubernetes
John Spray - Ceph in KubernetesShapeBlue
 
OpenShift v3 Internal networking details
OpenShift v3 Internal networking detailsOpenShift v3 Internal networking details
OpenShift v3 Internal networking detailsEtsuji Nakai
 
Running Dockerized services across several cloud providers
Running Dockerized services across several cloud providersRunning Dockerized services across several cloud providers
Running Dockerized services across several cloud providersKontena, Inc.
 
Antoine Coetsier - billing the cloud
Antoine Coetsier - billing the cloudAntoine Coetsier - billing the cloud
Antoine Coetsier - billing the cloudShapeBlue
 
Paul Angus - what's new in ACS 4.11
Paul Angus - what's new in ACS 4.11Paul Angus - what's new in ACS 4.11
Paul Angus - what's new in ACS 4.11ShapeBlue
 
Kuryr kubernetes: the seamless path to adding pods to your datacenter networking
Kuryr kubernetes: the seamless path to adding pods to your datacenter networkingKuryr kubernetes: the seamless path to adding pods to your datacenter networking
Kuryr kubernetes: the seamless path to adding pods to your datacenter networkingAntoni Segura Puimedon
 
How to deal second interface service discovery and load balancer in kubernetes
How to deal second interface  service discovery and load balancer  in kubernetesHow to deal second interface  service discovery and load balancer  in kubernetes
How to deal second interface service discovery and load balancer in kubernetesMeng-Ze Lee
 
Service mesh from linkerd to conduit (cloud native taiwan meetup)
Service mesh from linkerd to conduit (cloud native taiwan meetup)Service mesh from linkerd to conduit (cloud native taiwan meetup)
Service mesh from linkerd to conduit (cloud native taiwan meetup)Chia-Chun Shih
 
Giles Sirett - welcome and CloudStack news
Giles Sirett - welcome and CloudStack news Giles Sirett - welcome and CloudStack news
Giles Sirett - welcome and CloudStack news ShapeBlue
 
Docker network performance in the public cloud
Docker network performance in the public cloudDocker network performance in the public cloud
Docker network performance in the public cloudArjan Schaaf
 
Infinitic: Building a Workflow Engine on Top of Pulsar - Pulsar Summit NA 2021
 Infinitic: Building a Workflow Engine on Top of Pulsar - Pulsar Summit NA 2021 Infinitic: Building a Workflow Engine on Top of Pulsar - Pulsar Summit NA 2021
Infinitic: Building a Workflow Engine on Top of Pulsar - Pulsar Summit NA 2021StreamNative
 
DevOps Guide to Container Networking
DevOps Guide to Container NetworkingDevOps Guide to Container Networking
DevOps Guide to Container NetworkingDirk Wallerstorfer
 
KuberNETes - meetup
KuberNETes - meetupKuberNETes - meetup
KuberNETes - meetupNathan Ness
 

Tendances (20)

Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
Scaling OpenStack Networking Beyond 4000 Nodes with Dragonflow - Eshed Gal-Or...
 
Deep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingDeep dive into Kubernetes Networking
Deep dive into Kubernetes Networking
 
Keystone at openstack multi sites
Keystone at openstack multi sitesKeystone at openstack multi sites
Keystone at openstack multi sites
 
Kubernetes and Istio
Kubernetes and IstioKubernetes and Istio
Kubernetes and Istio
 
Packaging Strategy for Community Openstack and Implementation Reference | Hoj...
Packaging Strategy for Community Openstack and Implementation Reference | Hoj...Packaging Strategy for Community Openstack and Implementation Reference | Hoj...
Packaging Strategy for Community Openstack and Implementation Reference | Hoj...
 
Container Networking - State of the Ecosystem [ContainerConf, Mannheim, Nov 2...
Container Networking - State of the Ecosystem [ContainerConf, Mannheim, Nov 2...Container Networking - State of the Ecosystem [ContainerConf, Mannheim, Nov 2...
Container Networking - State of the Ecosystem [ContainerConf, Mannheim, Nov 2...
 
Docker Networking Overview
Docker Networking OverviewDocker Networking Overview
Docker Networking Overview
 
John Spray - Ceph in Kubernetes
John Spray - Ceph in KubernetesJohn Spray - Ceph in Kubernetes
John Spray - Ceph in Kubernetes
 
OpenShift v3 Internal networking details
OpenShift v3 Internal networking detailsOpenShift v3 Internal networking details
OpenShift v3 Internal networking details
 
Running Dockerized services across several cloud providers
Running Dockerized services across several cloud providersRunning Dockerized services across several cloud providers
Running Dockerized services across several cloud providers
 
Antoine Coetsier - billing the cloud
Antoine Coetsier - billing the cloudAntoine Coetsier - billing the cloud
Antoine Coetsier - billing the cloud
 
Paul Angus - what's new in ACS 4.11
Paul Angus - what's new in ACS 4.11Paul Angus - what's new in ACS 4.11
Paul Angus - what's new in ACS 4.11
 
Kuryr kubernetes: the seamless path to adding pods to your datacenter networking
Kuryr kubernetes: the seamless path to adding pods to your datacenter networkingKuryr kubernetes: the seamless path to adding pods to your datacenter networking
Kuryr kubernetes: the seamless path to adding pods to your datacenter networking
 
How to deal second interface service discovery and load balancer in kubernetes
How to deal second interface  service discovery and load balancer  in kubernetesHow to deal second interface  service discovery and load balancer  in kubernetes
How to deal second interface service discovery and load balancer in kubernetes
 
Service mesh from linkerd to conduit (cloud native taiwan meetup)
Service mesh from linkerd to conduit (cloud native taiwan meetup)Service mesh from linkerd to conduit (cloud native taiwan meetup)
Service mesh from linkerd to conduit (cloud native taiwan meetup)
 
Giles Sirett - welcome and CloudStack news
Giles Sirett - welcome and CloudStack news Giles Sirett - welcome and CloudStack news
Giles Sirett - welcome and CloudStack news
 
Docker network performance in the public cloud
Docker network performance in the public cloudDocker network performance in the public cloud
Docker network performance in the public cloud
 
Infinitic: Building a Workflow Engine on Top of Pulsar - Pulsar Summit NA 2021
 Infinitic: Building a Workflow Engine on Top of Pulsar - Pulsar Summit NA 2021 Infinitic: Building a Workflow Engine on Top of Pulsar - Pulsar Summit NA 2021
Infinitic: Building a Workflow Engine on Top of Pulsar - Pulsar Summit NA 2021
 
DevOps Guide to Container Networking
DevOps Guide to Container NetworkingDevOps Guide to Container Networking
DevOps Guide to Container Networking
 
KuberNETes - meetup
KuberNETes - meetupKuberNETes - meetup
KuberNETes - meetup
 

Similaire à stackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter Zaitsev

PartnerSkillUp_Enable a Streaming CDC Solution
PartnerSkillUp_Enable a Streaming CDC SolutionPartnerSkillUp_Enable a Streaming CDC Solution
PartnerSkillUp_Enable a Streaming CDC SolutionTimothy Spann
 
OSA Con 2022 - State of Open Source Databases - Peter Zaitsev - Percona.pdf
OSA Con 2022 - State of Open Source Databases - Peter Zaitsev - Percona.pdfOSA Con 2022 - State of Open Source Databases - Peter Zaitsev - Percona.pdf
OSA Con 2022 - State of Open Source Databases - Peter Zaitsev - Percona.pdfAltinity Ltd
 
Peter Zaitsev "18 ways to fix MySQL bottlenecks"
Peter Zaitsev "18 ways to fix MySQL bottlenecks"Peter Zaitsev "18 ways to fix MySQL bottlenecks"
Peter Zaitsev "18 ways to fix MySQL bottlenecks"Fwdays
 
20150425 experimenting with openstack sahara on docker
20150425 experimenting with openstack sahara on docker20150425 experimenting with openstack sahara on docker
20150425 experimenting with openstack sahara on dockerWei Ting Chen
 
Data Con LA 2022 - Key Open Source Databases Strategies That Share Business i...
Data Con LA 2022 - Key Open Source Databases Strategies That Share Business i...Data Con LA 2022 - Key Open Source Databases Strategies That Share Business i...
Data Con LA 2022 - Key Open Source Databases Strategies That Share Business i...Data Con LA
 
Cloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit KubernetesCloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit KubernetesQAware GmbH
 
17 Things Developers Should Know About Databases
17 Things Developers Should Know About Databases17 Things Developers Should Know About Databases
17 Things Developers Should Know About DatabasesAll Things Open
 
26Oct2023_Adding Generative AI to Real-Time Streaming Pipelines_ NYC Meetup
26Oct2023_Adding Generative AI to Real-Time Streaming Pipelines_ NYC Meetup26Oct2023_Adding Generative AI to Real-Time Streaming Pipelines_ NYC Meetup
26Oct2023_Adding Generative AI to Real-Time Streaming Pipelines_ NYC MeetupTimothy Spann
 
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...NETWAYS
 
The Database Trends that are Transforming Your Database Infrastructure Forever
The Database Trends that are Transforming Your Database Infrastructure ForeverThe Database Trends that are Transforming Your Database Infrastructure Forever
The Database Trends that are Transforming Your Database Infrastructure ForeverScyllaDB
 
Dayta AI Seminar - Kubernetes, Docker and AI on Cloud
Dayta AI Seminar - Kubernetes, Docker and AI on CloudDayta AI Seminar - Kubernetes, Docker and AI on Cloud
Dayta AI Seminar - Kubernetes, Docker and AI on CloudJung-Hong Kim
 
Docker, Kubernetes, and Mesos recipes for Java developers
Docker, Kubernetes, and Mesos recipes for Java developersDocker, Kubernetes, and Mesos recipes for Java developers
Docker, Kubernetes, and Mesos recipes for Java developersArun Gupta
 
Distributed Storage in the Cloud
Distributed Storage in the CloudDistributed Storage in the Cloud
Distributed Storage in the CloudAll Things Open
 
Spark day 2017 - Spark on Kubernetes
Spark day 2017 - Spark on KubernetesSpark day 2017 - Spark on Kubernetes
Spark day 2017 - Spark on KubernetesYousun Jeong
 
Docker Application to Scientific Computing
Docker Application to Scientific ComputingDocker Application to Scientific Computing
Docker Application to Scientific ComputingPeter Bryzgalov
 
Cloud native Kafka | Sascha Holtbruegge and Margaretha Erber, HiveMQ
Cloud native Kafka | Sascha Holtbruegge and Margaretha Erber, HiveMQCloud native Kafka | Sascha Holtbruegge and Margaretha Erber, HiveMQ
Cloud native Kafka | Sascha Holtbruegge and Margaretha Erber, HiveMQHostedbyConfluent
 
Kubernetes for java developers - Tutorial at Oracle Code One 2018
Kubernetes for java developers - Tutorial at Oracle Code One 2018Kubernetes for java developers - Tutorial at Oracle Code One 2018
Kubernetes for java developers - Tutorial at Oracle Code One 2018Anthony Dahanne
 
Docker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesDocker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesSreenivas Makam
 
Rancher Rodéo France
Rancher Rodéo FranceRancher Rodéo France
Rancher Rodéo FranceSUSE
 
Docker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITDocker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITStijn Wijndaele
 

Similaire à stackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter Zaitsev (20)

PartnerSkillUp_Enable a Streaming CDC Solution
PartnerSkillUp_Enable a Streaming CDC SolutionPartnerSkillUp_Enable a Streaming CDC Solution
PartnerSkillUp_Enable a Streaming CDC Solution
 
OSA Con 2022 - State of Open Source Databases - Peter Zaitsev - Percona.pdf
OSA Con 2022 - State of Open Source Databases - Peter Zaitsev - Percona.pdfOSA Con 2022 - State of Open Source Databases - Peter Zaitsev - Percona.pdf
OSA Con 2022 - State of Open Source Databases - Peter Zaitsev - Percona.pdf
 
Peter Zaitsev "18 ways to fix MySQL bottlenecks"
Peter Zaitsev "18 ways to fix MySQL bottlenecks"Peter Zaitsev "18 ways to fix MySQL bottlenecks"
Peter Zaitsev "18 ways to fix MySQL bottlenecks"
 
20150425 experimenting with openstack sahara on docker
20150425 experimenting with openstack sahara on docker20150425 experimenting with openstack sahara on docker
20150425 experimenting with openstack sahara on docker
 
Data Con LA 2022 - Key Open Source Databases Strategies That Share Business i...
Data Con LA 2022 - Key Open Source Databases Strategies That Share Business i...Data Con LA 2022 - Key Open Source Databases Strategies That Share Business i...
Data Con LA 2022 - Key Open Source Databases Strategies That Share Business i...
 
Cloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit KubernetesCloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit Kubernetes
 
17 Things Developers Should Know About Databases
17 Things Developers Should Know About Databases17 Things Developers Should Know About Databases
17 Things Developers Should Know About Databases
 
26Oct2023_Adding Generative AI to Real-Time Streaming Pipelines_ NYC Meetup
26Oct2023_Adding Generative AI to Real-Time Streaming Pipelines_ NYC Meetup26Oct2023_Adding Generative AI to Real-Time Streaming Pipelines_ NYC Meetup
26Oct2023_Adding Generative AI to Real-Time Streaming Pipelines_ NYC Meetup
 
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
OSMC 2022 | Ignite: Observability with Grafana & Prometheus for Kafka on Kube...
 
The Database Trends that are Transforming Your Database Infrastructure Forever
The Database Trends that are Transforming Your Database Infrastructure ForeverThe Database Trends that are Transforming Your Database Infrastructure Forever
The Database Trends that are Transforming Your Database Infrastructure Forever
 
Dayta AI Seminar - Kubernetes, Docker and AI on Cloud
Dayta AI Seminar - Kubernetes, Docker and AI on CloudDayta AI Seminar - Kubernetes, Docker and AI on Cloud
Dayta AI Seminar - Kubernetes, Docker and AI on Cloud
 
Docker, Kubernetes, and Mesos recipes for Java developers
Docker, Kubernetes, and Mesos recipes for Java developersDocker, Kubernetes, and Mesos recipes for Java developers
Docker, Kubernetes, and Mesos recipes for Java developers
 
Distributed Storage in the Cloud
Distributed Storage in the CloudDistributed Storage in the Cloud
Distributed Storage in the Cloud
 
Spark day 2017 - Spark on Kubernetes
Spark day 2017 - Spark on KubernetesSpark day 2017 - Spark on Kubernetes
Spark day 2017 - Spark on Kubernetes
 
Docker Application to Scientific Computing
Docker Application to Scientific ComputingDocker Application to Scientific Computing
Docker Application to Scientific Computing
 
Cloud native Kafka | Sascha Holtbruegge and Margaretha Erber, HiveMQ
Cloud native Kafka | Sascha Holtbruegge and Margaretha Erber, HiveMQCloud native Kafka | Sascha Holtbruegge and Margaretha Erber, HiveMQ
Cloud native Kafka | Sascha Holtbruegge and Margaretha Erber, HiveMQ
 
Kubernetes for java developers - Tutorial at Oracle Code One 2018
Kubernetes for java developers - Tutorial at Oracle Code One 2018Kubernetes for java developers - Tutorial at Oracle Code One 2018
Kubernetes for java developers - Tutorial at Oracle Code One 2018
 
Docker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesDocker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting Techniques
 
Rancher Rodéo France
Rancher Rodéo FranceRancher Rodéo France
Rancher Rodéo France
 
Docker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITDocker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-IT
 

Dernier

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...Nitya salvi
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburgmasabamasaba
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...masabamasaba
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durbanmasabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 

Dernier (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 

stackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter Zaitsev

  • 1. Path to Open Source DBaaS with Kubernetes Keeping your data portable Peter Zaitsev, CEO, Percona StackConf Online June 17th, 2020
  • 2. Early Days of Modern Open Source © 2020 Percona2
  • 3. Installation of Open Source Software © 2020 Percona 3 Download Sources, Patch and Compile Tar.gz binaries and INSTALL Packages with Dependencies - .deb .rpm Package repositories APT and YUM Docker, Snap etc
  • 4. Trend © 2020 Percona 4 MAKING IT EASY REDUCING BARRIER TO ENTRY
  • 5. Modern Open Source Most Developers will not be able to build from scratch all tools they use © 2020 Percona 5
  • 6. Not a bad Thing… © 2020 Percona 6 Allows us to use more complicated, more valuable software More people can be Open Source Developers
  • 7. The Dark Side © 2020 Percona 7
  • 8. Next Simplification comes with Vendor Lock-In in the Cloud © 2020 Percona8
  • 9. Current State Easiest/fastest way to deploy Open Source (and Compatible) Software is to do it in the cloud, using Proprietary API © 2020 Percona 9
  • 10. Choices for Database Technologies © 2020 Percona 10 Roll your own using commodity building blocks (Compute, Storage ETC) Use Database as a Service (DBaaS) functionality
  • 11. DBaaS Removes a lot of “Toil” © 2020 Percona 11 Managing High Availability Database Patching Backups (Some) Performance Tuning Easy to Scale
  • 12. Two Kind of DBaaS © 2020 Percona 12 THE “PLAIN” OPEN SOURCE PRODUCT WRAPPED IN MANAGEMENT BACKEND “ENHANCED” (PROPRIETARY) OPEN SOURCE COMPATIBLE SOLUTION
  • 13. Both of them Reduce Data and Application Portability It is NOT trivial to move from Amazon RDS to Google CloudSQL but it is even harder with Amazon Aurora © 2020 Percona 13
  • 14. Could We… © 2020 Percona 14 Get Public Cloud DBaaS Like Simplicity But as Open Source Solution
  • 15. Bad News We’re Not there yet © 2020 Percona 15
  • 16. Good News © 2020 Percona16
  • 17. Kubernetes © 2020 Percona 17 “Operating System” but for Cluster, rather individual hosts Has a lot of Momentum Universally Supported in Public, Private, Hybrid Cloud
  • 20. Kubernetes © 2020 Percona 20 Stateful Sets Persistent Volumes Operator Framework
  • 23. Percona XtraDB Cluster MySQL Compatible Strong High Availability Open Source Deploy Single Node if want dev database © 2020 Percona23
  • 24. Kubernetes Users © 2020 Percona 24 Direct users of Kubernetes Operators Users of the Service which happen to run Kubernetes on Backend
  • 25. Percona DBaaS CLI Experimental Solutions for those who wants to Get Open Source DBaaS without deep Kubernetes Understanding © 2020 Percona 25
  • 26. Let’s Walk Through • Most Featureful Kubernetes Implementation among Major Clouds • Available in Many Locations • Easy to use Command Line Tool (SDK) © 2020 Percona 26
  • 27. Components Needed © 2020 Percona 27 Kubectl Gcloud SDK Percona DBaaS CLI
  • 28. Installing Kubectl (Ubuntu 18.04) © 2020 Percona28 https://kubernetes.io/docs/tasks/tools/install-kubectl/
  • 29. Install Google Cloud SDK © 2020 Percona29 https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu
  • 30. Installing Percona DBaaS CLI © 2020 Percona30 https://www.percona.com/doc/dbaas-cli/installation.html
  • 31. Setting things up • gcloud auth login • gcloud config set project hidden-brace-236921 • gcloud container clusters create --zone us-central1-a percona-dbaas-demo -- cluster-version 1.15 --num-nodes=3 • kubectl create clusterrolebinding cluster-admin-binding-$USER -- clusterrole=cluster-admin --user=$(gcloud config get-value core/account) • kubectl create namespace my-namespace • kubectl config set-context --current --namespace=my-namespace © 2020 Percona 31 https://www.percona.com/doc/dbaas-cli/kubernetes.html
  • 32. Spinning up the Cluster # percona-dbaas mysql create-db example Starting.........................................[done] Database started successfully, connection details are below: Provider: k8s Engine: pxc Resource Name: example Resource Endpoint: example-proxysql.my-namespace.pxc.svc.local Port: 3306 User: root Pass: Nt9YZguajW7nfVXTTrP Status: ready © 2020 Percona 32
  • 33. Connecting • Establish Port Mapping • kubectl port-forward svc/example-proxysql 3306:3306 & • Connect with Your Favorite Client • mysql -h 127.0.0.1 -P 3306 -uroot -pNt9YZguajW7nfVXTTrP © 2020 Percona33
  • 34. Advanced: Exposing the Database # percona-dbaas mysql create-db exposed --options="proxysql.serviceType=LoadBalancer" Starting...........................[done] Database started successfully, connection details are below: Provider: k8s Engine: pxc Resource Name: exposed Resource Endpoint: 104.154.133.197 Port: 3306 User: root Pass: k0QVxTr8EVfgyCLYse Status: ready To access database please run the following command: mysql -h 104.154.133.197 -P 3306 -uroot -pk0QVxTr8EVfgyCLYse © 2020 Percona34
  • 35. Advanced: Set your own Password # percona-dbaas mysql create-db withpw --password=mypassword Starting...................................................... .[done] Database started successfully, connection details are below: Provider: k8s Engine: pxc Resource Name: withpw Resource Endpoint: withpw-proxysql.my-namespace.pxc.svc.local Port: 3306 User: root Pass: mypassword Status: ready © 2020 Percona35
  • 36. Advanced: Single Node Deployment # percona-dbaas mysql create-db singlenode -- options="proxysql.enabled=false,allowUnsafeConfigurati ons=true,pxc.size=1" Starting............[done] Database started successfully, connection details are below: Provider: k8s Engine: pxc Resource Name: singlenode Resource Endpoint: singlenode-pxc.my- namespace.pxc.svc.local Port: 3306 User: root Pass: 22VqFD96mvRnmPMGg Status: ready © 2020 Percona36
  • 37. Summary © 2020 Percona 37 With Percona DBaaS CLI you can get DBaaS Like Experience with Kubernetes We’re continuing work to bring more features and extent usability all available in Open Source Software Give it a try, provide your feedback or participate in development!
  • 38. Thank you, Let’s Connect! https://www.linkedin.com/in/peterzaitsev/ https://twitter.com/PeterZaitsev