databases? in containers!?...portable licensing \爀伀瀀攀爀愀琀漀爀 挀氀甀猀琀攀爀...
TRANSCRIPT
DATABASES? IN CONTAINERS!?
1
Crazy or not?
Michael WillerSales Engineer,EnterpriseDB
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
ABOUT ENTERPRISEDB
• 4000+ customers• 300+ employees• Delivers 24/7 Support and Services on PostgreSQL• Active contributor to PostgreSQL Community • Maintains proprietary Postgres Advanced Server with extra features• Develops Enterprise-enabling tools (monitoring, failover, backup, …)• Recognised RDBMS Leader by Gartner & Forrester (Gartner Magic Quadrant 6
years)
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.2
ABOUT ME
• Started my IT career in 1988.
• Been down the developer-manager road, but remained a techie in the end.
• Specialised in Java and Oracle backend (and a bit of Frontend Angular dev).
• Turned to the dark side (Sales) in May this year.
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.3
AGENDA
• Benefits of Cloud in general
• Container woes
• Containers, ACID vs. BASE.
• EnterpriseDB offerings (ONE! page)
• The compulsory advice page…
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.4
THE BENEFITS OF CLOUD
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.5
USUAL SUSPECTS
• Economical (Lower CapEx + Higher OpEx = Better cashflow)
• Automation
• Repeatability
• Maintainability
• Abstraction layer for Dev
• Scalability
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.6
SCALABILITY – USUAL SUSPECTS
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.7
LB LB LB LB
Scaled Web server Scaled microservices
CLOUD NATIVE APPLICATIONS
• Ask 4 architects
• Get 6 definitions
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.8
• Horizontally scalable
• Node anti-affinity
• Self-healing
• In short:
• “Runs until it dies. Runs faster with many copies. If it dies, you just start a new one..”
CATTLE VS. PETS
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.9
Stateless Stateful
SECURITY
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.11
• RunC scare
• Public Cloud data theft
• ...
• WHAT’S NEXT!?
• Cloud providers are working hard
• It’s new tech
PERSISTENCY
• Database are NOT STATELESS!!
• In Cloud that means • Persistent Volume
• StatefulSet
• CSI (Container Storage Interface) is relatively new on the block.
• Killer feature ( Volume Snapshot) is in Alpha
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.12
DATABASES IN CONTAINERS
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.13
DATABASE TERMS
• BASE• Basic Availability
• Soft state
• Eventual consistency
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.14
• ACID• Atomicity
• Consistency
• Isolation
• Durability
S S
ACID DATABASE SCALABILITY
• Distributed ACID compliance is (still) very difficult to do=> ACID compliant clusters will have• one or limited number of write-
copies• several read-copies
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.15
M
FAILOVER
SO WHY DEPLOY IN CONTAINERS?
• Once an organisation invests in cloud technology, they want as much as possible to deploy in the same way.
• Improvements are coming at a steady pace. We’re running out of excuses…
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.16
ENTERPRISEDB OFFERINGS
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.17
ENTERPRISEDB OFFERINGS
• Full tool-set for highly available databases • Bare-Metal, VM, Cloud
• Images for• Docker, Kubernetes, GKE, OpenShift
• Helm charts• Kubernetes operator
• GKE, OpenShift cert underway (20Q1).
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.18
Portable licensing
KUBERNETES OPERATOR WEBINAR
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.19
https://www.enterprisedb.com/resources/webinars-webcasts
DIY MIGRATION WEBINAR –DEC 10
• Oracle to Postgres migration
• Why migrate
• Migration targets
• Tools
• Advice on migration
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.20
COMPULSORY ADVICE PAGE(S)
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.21
ADVICE
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.22
Get started in development/test
Wait for the right set of features before going to production.
Build experience and know-how now.
Postgres anywhere
ADVICE (2)
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.23
The technology is working.
EnterpriseDB has the images you need.
Our customers are running database containers in Production today.
“The avalanche has already started. It is too late for the pebbles to vote”
-- Kosh, Babylon 5 (1993), Episode written by David Gerrold
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.24
FINAL THOUGHT
http://www.linkedin.com/in/michaelwiller
QUESTIONS & DISCUSSION
25 CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.
THANK YOU
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.