SlideShare a Scribd company logo
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.
Running Highly
Available Postgres
Databases in
Containers
Aziz Rahman, Lead Architect, EDB Postgres
Container Platform
Marc Linster, SVP, Product Development
and Support
1
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.2
AGENDA
• Who is EDB?
• EDB Postgres Platform
• Cattle and Pets
• EDB Postgres Container Platform and Architecture
• Demo
• EDB Postgres Container Strategy
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.
WHO IS EDB?
The world leader in
open-source based Postgres
software and services.
• Founded in 2004
• Recognized RDBMS leader by:
• Gartner
• Forrester
• Customer base > 4000
• 300+ employees
• Offices worldwide
• PostgreSQL community leader
3
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.4
OVER 4,000 CUSTOMERS
U.S Customers
EMEA Customers APAC Customers
92
of the Fortune 500
311
of the Forbes
Global 2000
Our customers benefit from the most reliable, high-performing, flexible, open,
and cost-effective data management platform available.
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.
5
ONLY OPEN SOURCE
BASED RDBMS IN
GARTNER MQ
EDB Recognized
6 Years In A Row on
Gartner’s Magic
Quadrant
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.
EDB OPEN SOURCE LEADERSHIP
Named EDB open source committers and contributors
CONTRIBUTORS
Akshay Joshi Amul Sul Ashesh Vashi Ashutosh
Sharma
Dilip Kumar Jeevan Ladhe Mithun Cy M. Usama
Rushabh
Lathia
MAJOR CONTRIBUTORSCORE TEAM
Andres Freund Devrim Gündüz
Thomas Munro
Amit Kapila
Bruce Momjian
Dave Page
Robert Haas
6
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.7
EDB POSTGRES PLATFORM
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.8
EDB POSTGRES ADVANCED SERVER
Enterprise
capabilities add to
the strengths of
community
PostgreSQL
• Items in GREY are available
in Community PostgreSQL
• Items in RED are proprietary
additions in Advanced Server
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.9
EDB POSTGRES PLATFORM
Today’s Focus
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.10
Survey:
Are you running databases in containers today?
1) For production (10.11%)
1) Development (22.74%)
1) No (67.15%)
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.11
Cattle and Pets
● Containers support an ephemeral and
fungible model
○ Need more? Make more!
○ Acting up? Replace it!
● Applications are fungible, like cattle - databases
are not
● Databases are
○ Persistent
○ Take a long time to warm up (cache loading)
○ When disconnected, they impact applications (disconnects,
transaction restarts, errors visible to the users, …)
● Treat databases lovingly - just like pets
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.12
High Availability for Databases
● Things to consider
○ Do you need streaming replication with query routing, load balancing and/or read
scaling?
○ Do you need synchronous replication?
○ Double (triple?) check that the database container is really down (get consensus and
avoid false failover)
○ Promote carefully and make 100% sure that no application remains connected
(STONITH)
● Options:
○ Custom scripting
○ Stolon https://github.com/sorintlab/stolon
○ Patroni https://github.com/zalando/patroni/
○ EDB Failover Manager
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.13
Survey:
How are you handling high availability in
database containers?
1) No HA (62.37%)
2) Stolon (1.55%)
3) Patroni (4.12%)
4) EDB Failover Manager (9.28%)
5) Other (22.68%)
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.14
EDB Postgres Container Platform:
Components
Highly Available Data
Management
EDB Postgres Advanced
Server
● 9.5 - 11
● PostGIS optional
Always includes EDB
Failover Manager
Read Scalability
pgPool 4
● Query routing
● Load balancing
Backup and Recovery
EDB Backup and
Recovery
● Full and
incremental
backup
● Point in time
recovery
Tooling
Upgrade tool
● Migration paths
for older EPAS
versions
Monitoring & Management
Postgres Enterprise Manager
● Dashboards and Alerts
● Performance
management
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.
Master Node
15
EDB Postgres Container Platform:
Architecture Overview
k8s Cluster
Management
Components
edb-service
Master Node
Client
Anti-affinity
BART
edb-as
Master
EPAS
+EFM Agent
+PEM Agent
PgPool +EFM
Agent
edb-pgpool
Master Node
PEMServer
edb-as
Standby
EPAS
+EFM Agent
+PEM Agent
PgPool
+EFM Agent
edb-pgpool
edb-pemserver
Master Node
edb-as
Standby
EPAS
+EFM Agent
+PEM Agent
Storage Subsystem
.
.
.
Worker Node 1
Worker Node 2
Worker Node 3
Shared Storageedb-bart
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.16
EDB Postgres Container Platform:
Architecture Discussion
• Kubernetes features we used to create a
highly available containerized database
platform
• Stateful Sets
• Pod Anti-affinity
• Config Maps
• Secrets
• Dynamic Persistent Volume
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.17
EDB Postgres Container Platform:
Architecture Discussion
● Deployment Methods
• Helm charts for Google Kubernetes Engine
• Operators (all Kubernetes environments) coming soon
• Deployment Options
• EDB Postgres Advanced Server (w. EDB Failover Manager)
• EFM enabled or disabled
• pgPool
• EDB Backup/Recovery Tool
• EDB Postgres Enterprise Manager
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.18
Demo
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.19
EDB Container Strategy
● Containers are becoming a key database deployment platform
○ Current focus: Development, some production deployments
○ Expectation 2020: Major production deployment for EDB Postgres platform
● Database best practices for containers are emerging
● EDB supports
○ GKE
○ OpenShift
○ IBM Cloud Private
○ Pivotal Cloud Foundry (planned for H2 2019)
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.20
Next Steps
● EDB Container Platform 2.4 GA plan date: March 19 2019
○ Current scripts and V 2.4 containers are beta versions!
● Get your containers from EDB https://www.enterprisedb.com/advanced-
downloads
● Get the sample Helm chart https://get.enterprisedb.com/helm-charts/edb-
demo-0.1.1.tgz
https://get.enterprisedb.com/helm-charts/demo-values.yaml
○ Accesses the demo repo - will not be available after GA
● Join us at Postgres Vision in Boston June 24 - 26
○ Pre-conference workshop will be about databases in containers
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.21
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.
THANK YOU
info@enterprisedb.com
www.enterprisedb.com
22

More Related Content

What's hot (20)

PDF
Zero-to-Hero: Running Postgres in Kubernetes
EDB
 
PPTX
Les nouveautés d'EDB Postgres 11
EDB
 
PDF
Keynote: The Postgres Ecosystem
EDB
 
PDF
EDB Postgres & Tools in a Smart City Project
EDB
 
PPTX
Preview of the EDB Postgres Roadmap
EDB
 
PPTX
No Time to Waste: Migrate from Oracle to Postgres in Minutes
EDB
 
PPTX
Webinar: Managing Postgres at Scale
EDB
 
PDF
How to Build On-demand Oracle Compatible Postgres Database in Minutes
EDB
 
PDF
Remote DBA Service: Powering your DBA needs
EDB
 
PPTX
Zero-to-hero: Running Postgres in Kubernetes, Enterprise Postgres Day
EDB
 
PDF
Managing Postgres at Scale With Postgres Enterprise Manager
EDB
 
PDF
Cloud Native PostgreSQL - APJ
EDB
 
PPTX
EDB Postgres Platform 11 Webinar
EDB
 
PDF
KT/KTDS Case Study: Open Source Database Adoption in Telecom
EDB
 
PPTX
Database Dumps and Backups
EDB
 
PPTX
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
EDB
 
PDF
No Time to Waste: Migrate from Oracle to EDB Postgres in Minutes
EDB
 
PDF
HTAP By Accident: Getting More From PostgreSQL Using Hardware Acceleration
EDB
 
PDF
New enhancements for security and usability in EDB 13
EDB
 
PDF
Optimizing Performance and Security with Platform Native Packaging
EDB
 
Zero-to-Hero: Running Postgres in Kubernetes
EDB
 
Les nouveautés d'EDB Postgres 11
EDB
 
Keynote: The Postgres Ecosystem
EDB
 
EDB Postgres & Tools in a Smart City Project
EDB
 
Preview of the EDB Postgres Roadmap
EDB
 
No Time to Waste: Migrate from Oracle to Postgres in Minutes
EDB
 
Webinar: Managing Postgres at Scale
EDB
 
How to Build On-demand Oracle Compatible Postgres Database in Minutes
EDB
 
Remote DBA Service: Powering your DBA needs
EDB
 
Zero-to-hero: Running Postgres in Kubernetes, Enterprise Postgres Day
EDB
 
Managing Postgres at Scale With Postgres Enterprise Manager
EDB
 
Cloud Native PostgreSQL - APJ
EDB
 
EDB Postgres Platform 11 Webinar
EDB
 
KT/KTDS Case Study: Open Source Database Adoption in Telecom
EDB
 
Database Dumps and Backups
EDB
 
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
EDB
 
No Time to Waste: Migrate from Oracle to EDB Postgres in Minutes
EDB
 
HTAP By Accident: Getting More From PostgreSQL Using Hardware Acceleration
EDB
 
New enhancements for security and usability in EDB 13
EDB
 
Optimizing Performance and Security with Platform Native Packaging
EDB
 

Similar to Running Highly Available Postgres Databases in Containers (20)

PPTX
Which PostgreSQL is right for your multi cloud strategy? P2
Ashnikbiz
 
PPTX
Neuerungen in EDB Postgres 11
EDB
 
PPTX
New enhancements for security and usability in EDB 13
EDB
 
PPTX
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB
 
PDF
Which Postgres is Right for You?
EDB
 
PPTX
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
EDB
 
PPTX
Postgres Takes Charge Around the World
EDB
 
PPTX
An overview of reference architectures for Postgres
EDB
 
PDF
Top10 list planningpostgresdeployment.2014
EDB
 
PPTX
Installing Postgres on Linux
EDB
 
PPTX
PostgreSQL as a Strategic Tool
EDB
 
PDF
Top 10 Tips for an Effective Postgres Deployment
EDB
 
PPTX
Replacing Oracle with EDB Postgres
EDB
 
PPTX
Automating a PostgreSQL High Availability Architecture with Ansible
EDB
 
PPTX
Oracle Migration to Postgres in the Cloud
EDB
 
PDF
Using PEM to understand and improve performance in Postgres: Postgres Tuning ...
EDB
 
PDF
Powerplay: Postgres and Lenovo for the Best Performance & Savings
EDB
 
PDF
Reducing Database Pain & Costs with Postgres
EDB
 
PPTX
Webinar: Enterprise Trends for Database-as-a-Service
MongoDB
 
PDF
EDB Postgres with Containers
EDB
 
Which PostgreSQL is right for your multi cloud strategy? P2
Ashnikbiz
 
Neuerungen in EDB Postgres 11
EDB
 
New enhancements for security and usability in EDB 13
EDB
 
EDB's Migration Portal - Migrate from Oracle to Postgres
EDB
 
Which Postgres is Right for You?
EDB
 
Postgres Databases in Minutes with the EDB Postgres Cloud Database Service
EDB
 
Postgres Takes Charge Around the World
EDB
 
An overview of reference architectures for Postgres
EDB
 
Top10 list planningpostgresdeployment.2014
EDB
 
Installing Postgres on Linux
EDB
 
PostgreSQL as a Strategic Tool
EDB
 
Top 10 Tips for an Effective Postgres Deployment
EDB
 
Replacing Oracle with EDB Postgres
EDB
 
Automating a PostgreSQL High Availability Architecture with Ansible
EDB
 
Oracle Migration to Postgres in the Cloud
EDB
 
Using PEM to understand and improve performance in Postgres: Postgres Tuning ...
EDB
 
Powerplay: Postgres and Lenovo for the Best Performance & Savings
EDB
 
Reducing Database Pain & Costs with Postgres
EDB
 
Webinar: Enterprise Trends for Database-as-a-Service
MongoDB
 
EDB Postgres with Containers
EDB
 
Ad

More from EDB (20)

PDF
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
EDB
 
PDF
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
EDB
 
PDF
Migre sus bases de datos Oracle a la nube
EDB
 
PDF
EFM Office Hours - APJ - July 29, 2021
EDB
 
PDF
Benchmarking Cloud Native PostgreSQL
EDB
 
PDF
Las Variaciones de la Replicación de PostgreSQL
EDB
 
PDF
NoSQL and Spatial Database Capabilities using PostgreSQL
EDB
 
PDF
Is There Anything PgBouncer Can’t Do?
EDB
 
PDF
Data Analysis with TensorFlow in PostgreSQL
EDB
 
PDF
Practical Partitioning in Production with Postgres
EDB
 
PDF
A Deeper Dive into EXPLAIN
EDB
 
PDF
IOT with PostgreSQL
EDB
 
PDF
A Journey from Oracle to PostgreSQL
EDB
 
PDF
Psql is awesome!
EDB
 
PDF
EDB 13 - New Enhancements for Security and Usability - APJ
EDB
 
PPTX
Comment sauvegarder correctement vos données
EDB
 
PDF
Cloud Native PostgreSQL - Italiano
EDB
 
PPTX
Best Practices in Security with PostgreSQL
EDB
 
PDF
Best Practices in Security with PostgreSQL
EDB
 
PDF
All you need to know about CREATE STATISTICS
EDB
 
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
EDB
 
Die 10 besten PostgreSQL-Replikationsstrategien für Ihr Unternehmen
EDB
 
Migre sus bases de datos Oracle a la nube
EDB
 
EFM Office Hours - APJ - July 29, 2021
EDB
 
Benchmarking Cloud Native PostgreSQL
EDB
 
Las Variaciones de la Replicación de PostgreSQL
EDB
 
NoSQL and Spatial Database Capabilities using PostgreSQL
EDB
 
Is There Anything PgBouncer Can’t Do?
EDB
 
Data Analysis with TensorFlow in PostgreSQL
EDB
 
Practical Partitioning in Production with Postgres
EDB
 
A Deeper Dive into EXPLAIN
EDB
 
IOT with PostgreSQL
EDB
 
A Journey from Oracle to PostgreSQL
EDB
 
Psql is awesome!
EDB
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB
 
Comment sauvegarder correctement vos données
EDB
 
Cloud Native PostgreSQL - Italiano
EDB
 
Best Practices in Security with PostgreSQL
EDB
 
Best Practices in Security with PostgreSQL
EDB
 
All you need to know about CREATE STATISTICS
EDB
 
Ad

Recently uploaded (20)

PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 

Running Highly Available Postgres Databases in Containers

  • 1. © Copyright EnterpriseDB Corporation, 2019. All rights reserved. Running Highly Available Postgres Databases in Containers Aziz Rahman, Lead Architect, EDB Postgres Container Platform Marc Linster, SVP, Product Development and Support 1
  • 2. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.2 AGENDA • Who is EDB? • EDB Postgres Platform • Cattle and Pets • EDB Postgres Container Platform and Architecture • Demo • EDB Postgres Container Strategy
  • 3. © Copyright EnterpriseDB Corporation, 2019. All rights reserved. WHO IS EDB? The world leader in open-source based Postgres software and services. • Founded in 2004 • Recognized RDBMS leader by: • Gartner • Forrester • Customer base > 4000 • 300+ employees • Offices worldwide • PostgreSQL community leader 3
  • 4. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.4 OVER 4,000 CUSTOMERS U.S Customers EMEA Customers APAC Customers 92 of the Fortune 500 311 of the Forbes Global 2000 Our customers benefit from the most reliable, high-performing, flexible, open, and cost-effective data management platform available.
  • 5. © Copyright EnterpriseDB Corporation, 2019. All rights reserved. 5 ONLY OPEN SOURCE BASED RDBMS IN GARTNER MQ EDB Recognized 6 Years In A Row on Gartner’s Magic Quadrant
  • 6. © Copyright EnterpriseDB Corporation, 2019. All rights reserved. EDB OPEN SOURCE LEADERSHIP Named EDB open source committers and contributors CONTRIBUTORS Akshay Joshi Amul Sul Ashesh Vashi Ashutosh Sharma Dilip Kumar Jeevan Ladhe Mithun Cy M. Usama Rushabh Lathia MAJOR CONTRIBUTORSCORE TEAM Andres Freund Devrim Gündüz Thomas Munro Amit Kapila Bruce Momjian Dave Page Robert Haas 6
  • 7. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.7 EDB POSTGRES PLATFORM
  • 8. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.8 EDB POSTGRES ADVANCED SERVER Enterprise capabilities add to the strengths of community PostgreSQL • Items in GREY are available in Community PostgreSQL • Items in RED are proprietary additions in Advanced Server
  • 9. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.9 EDB POSTGRES PLATFORM Today’s Focus
  • 10. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.10 Survey: Are you running databases in containers today? 1) For production (10.11%) 1) Development (22.74%) 1) No (67.15%)
  • 11. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.11 Cattle and Pets ● Containers support an ephemeral and fungible model ○ Need more? Make more! ○ Acting up? Replace it! ● Applications are fungible, like cattle - databases are not ● Databases are ○ Persistent ○ Take a long time to warm up (cache loading) ○ When disconnected, they impact applications (disconnects, transaction restarts, errors visible to the users, …) ● Treat databases lovingly - just like pets
  • 12. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.12 High Availability for Databases ● Things to consider ○ Do you need streaming replication with query routing, load balancing and/or read scaling? ○ Do you need synchronous replication? ○ Double (triple?) check that the database container is really down (get consensus and avoid false failover) ○ Promote carefully and make 100% sure that no application remains connected (STONITH) ● Options: ○ Custom scripting ○ Stolon https://github.com/sorintlab/stolon ○ Patroni https://github.com/zalando/patroni/ ○ EDB Failover Manager
  • 13. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.13 Survey: How are you handling high availability in database containers? 1) No HA (62.37%) 2) Stolon (1.55%) 3) Patroni (4.12%) 4) EDB Failover Manager (9.28%) 5) Other (22.68%)
  • 14. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.14 EDB Postgres Container Platform: Components Highly Available Data Management EDB Postgres Advanced Server ● 9.5 - 11 ● PostGIS optional Always includes EDB Failover Manager Read Scalability pgPool 4 ● Query routing ● Load balancing Backup and Recovery EDB Backup and Recovery ● Full and incremental backup ● Point in time recovery Tooling Upgrade tool ● Migration paths for older EPAS versions Monitoring & Management Postgres Enterprise Manager ● Dashboards and Alerts ● Performance management
  • 15. © Copyright EnterpriseDB Corporation, 2019. All rights reserved. Master Node 15 EDB Postgres Container Platform: Architecture Overview k8s Cluster Management Components edb-service Master Node Client Anti-affinity BART edb-as Master EPAS +EFM Agent +PEM Agent PgPool +EFM Agent edb-pgpool Master Node PEMServer edb-as Standby EPAS +EFM Agent +PEM Agent PgPool +EFM Agent edb-pgpool edb-pemserver Master Node edb-as Standby EPAS +EFM Agent +PEM Agent Storage Subsystem . . . Worker Node 1 Worker Node 2 Worker Node 3 Shared Storageedb-bart
  • 16. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.16 EDB Postgres Container Platform: Architecture Discussion • Kubernetes features we used to create a highly available containerized database platform • Stateful Sets • Pod Anti-affinity • Config Maps • Secrets • Dynamic Persistent Volume
  • 17. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.17 EDB Postgres Container Platform: Architecture Discussion ● Deployment Methods • Helm charts for Google Kubernetes Engine • Operators (all Kubernetes environments) coming soon • Deployment Options • EDB Postgres Advanced Server (w. EDB Failover Manager) • EFM enabled or disabled • pgPool • EDB Backup/Recovery Tool • EDB Postgres Enterprise Manager
  • 18. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.18 Demo
  • 19. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.19 EDB Container Strategy ● Containers are becoming a key database deployment platform ○ Current focus: Development, some production deployments ○ Expectation 2020: Major production deployment for EDB Postgres platform ● Database best practices for containers are emerging ● EDB supports ○ GKE ○ OpenShift ○ IBM Cloud Private ○ Pivotal Cloud Foundry (planned for H2 2019)
  • 20. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.20 Next Steps ● EDB Container Platform 2.4 GA plan date: March 19 2019 ○ Current scripts and V 2.4 containers are beta versions! ● Get your containers from EDB https://www.enterprisedb.com/advanced- downloads ● Get the sample Helm chart https://get.enterprisedb.com/helm-charts/edb- demo-0.1.1.tgz https://get.enterprisedb.com/helm-charts/demo-values.yaml ○ Accesses the demo repo - will not be available after GA ● Join us at Postgres Vision in Boston June 24 - 26 ○ Pre-conference workshop will be about databases in containers
  • 21. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.21
  • 22. © Copyright EnterpriseDB Corporation, 2019. All rights reserved. THANK YOU [email protected] www.enterprisedb.com 22