SlideShare a Scribd company logo
1 of 20
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.1
Installing Postgres on
Containers
A step-by-step approach
Gaby Schilders, Sales Engineer
Marc Linster, SVP, Product Development and Support
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.2
Agenda
● Who is EDB?
● The EDB Postgres Platform on Containers
● Why Containers?
● Demo: Installing EDB Postgres on Containers for Developers
● Q & A
● What’s next in Pulse on Postgres?
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.3
Survey
When are you planning to use Postgres in
containers?
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.4
● I am already doing that
● In the next three months
● Three to nine months
● After nine months
● I have no such plans
5
Get your EDB
Backpack!
Ask a question and give us your
business address and we will
send you an EDB Backpack!
WHO IS EDB?
The world leader in
open-source based Postgres
software and services
6
• Founded in 2004
• Recognized RDBMS leader by:
• Gartner
• Forrester
• Customer base > 4000
• 300+ employees
• Offices worldwide
• Major PostgreSQL
community contributor
ONLY OPEN
SOURCE BASED
RDBMS IN
GARTNER MQ
EDB Recognized 6 Years
In A Row on Gartner’s
Magic Quadrant
7
8
Customers working SMARTER, reducing RISK and being more PRODUCTIVE with EDB.
OVER 4,000 CUSTOMERS
U.S Customers
EMEA Customers APAC Customers
102
of the Fortune
500
337
of the Forbes
Global 2000
EDB OPEN SOURCE LEADERSHIP
NAMED EDB OPEN SOURCE COMMITTERS AND CONTRIBUTORS
9
• CORE TEAM
• • •
• MAJOR CONTRIBUTORS • CONTRIBUTORS
Akshay
Joshi
Amul
Sul
Ashesh
Vashi
Dilip
Kumar
Jeevan
Ladhe
Mithun
Cy
Devrim
Gündüz
Amit
Kapila
Bruce
Momjian
Dave
Page
Robert
Haas
Ashutos
h
Sharma
Rushabh
Lathia
- designates committers
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.10
EDB POSTGRES PLATFORM
EDB Postgres
Advanced
Server
Super set of PostgreSQL
All PostgreSQL features are available in
EDB Postgres Advanced Server
Managed fork, continuously synchronized
with PostgreSQL
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.11
When would you pick EDB
Postgres Advanced Server?
● Native PL/SQL compatibility, key
Oracle packages, pragma autonomous
transaction, query hints, etc.
● Resource Manager manages CPU and
I/O resources
● Session/System Wait Diagnostics
● EDB Loader for fast bulk loads
● Enhanced security features
○ Separate audit log
○ Native data redaction
○ Password policy management
Why Containers?
CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.12
Avoid cloud vendor lock-in
Arbitrage for the best workload performance
by moving workloads between on-premise
and the cloud
Seamless failover
Overcomes native Kubernetes
limitations when database master
fails & restarts
Reduce Complexity
Integrate Postgres into software
delivery pipelines by bringing
databases into DevOps
PORTABILITY HIGH AVAILABILITY MANAGEABILITY
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.13
EDB POSTGRES PLATFORM
Today’s Focus
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.14
EDB Postgres Container Platform: Components
Master
Read
Replica
Read
Replica
Postgres Postgres Postgres
Applications
Shared or Local Storage
Applications
Kubernetes Cluster
Monitoring
Backup & Restore
Read Scaling
Automated Failover
Automated Operations
Operator
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.15
EDB Postgres Container Platform:
Kubernetes Components
• Kubernetes features we used to create a
highly available containerized database
platform
• Stateful Sets
• Pod Anti-affinity
• Config Maps
• Secrets
• Dynamic Persistent Volume
Installing the
EDB Postgres
Container
A step-by-step approach to get
developers up and running quickly and
easily
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.16
● Install Docker
● Get your EDB login
● Get the EDB Postgres
Container
● Configure and start
● Connect via pgAdmin or
psql
● Done!
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.
Commands
we will
demo
today
17
yum install docker
systemctl start docker
Docker Installation
docker login containers.enterprisedb.com Login for
Containers.enterprisedb.com
docker pull containers.enterprisedb.com/edb/edb-as-lite:v11 Pulling containers
mkdir -p $DATA_VOLUME 
chmod -R 777 $DATA_VOLUME 
chcon -Rt svirt_sandbox_file_t $DATA_VOLUME
Set up a local directory
docker images List all docker images
docker ps List all running containers
docker run 
--name "demo" 
-e DATABASE_NAME=$DATABASE 
-e PGPORT=5444 
-e DATABASE_USER="enterprisedb" 
-e ENTERPRISEDB_PASSWORD="postgres" 
-e LOCALEPARAMETER="en_US.UTF-8" 
-e ACCEPT_EULA=Yes 
-e REPL_USER="repl" 
-e REPL_PASSWORD="postgres" 
-v $DATA_VOLUME:/edbvolume 
-p $EXTERNAL_PORT:5444 
-d containers.enterprisedb.com/edb/edb-as-lite:v11
Create and run
docker exec -it <container> bash Log into the container
docker stop <container> Stop the container
docker rm -f <container> Remove the container
Live Demo
Installing EDB’s lightweight
container for developers
18
© Copyright EnterpriseDB Corporation, 2019. All rights reserved.19
Q & A
Next Steps:
• Get EDB repo credentials:
https://www.enterprisedb.com/downl
oads
• Pull EDB Containers
Containers.enterprisedb.com
• Request a demo
info@enterprisedb.com
• Get a quote
info@enterprisedb.com
Upcoming events
Pulse of
Postgres
Programming the SQL
Way with Common Table
Expressions
Postgres Kubernetes
Operator
Nov 6
Nov 20

More Related Content

More from EDB

Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLEDB
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresEDB
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINEDB
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQLEDB
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLEDB
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!EDB
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesEDB
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoEDB
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13EDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJEDB
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLEDB
 
EDB Postgres & Tools in a Smart City Project
EDB Postgres & Tools in a Smart City ProjectEDB Postgres & Tools in a Smart City Project
EDB Postgres & Tools in a Smart City ProjectEDB
 
Migrate Today: Proactive Steps to Unhook from Oracle
Migrate Today: Proactive Steps to Unhook from OracleMigrate Today: Proactive Steps to Unhook from Oracle
Migrate Today: Proactive Steps to Unhook from OracleEDB
 
All you need to know about CREATE STATISTICS
All you need to know about CREATE STATISTICSAll you need to know about CREATE STATISTICS
All you need to know about CREATE STATISTICSEDB
 
Cloud Native PostgreSQL
Cloud Native PostgreSQLCloud Native PostgreSQL
Cloud Native PostgreSQLEDB
 
Remote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needsRemote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needsEDB
 
A Review of PostgreSQL Replication Approaches - APJ
A Review of PostgreSQL Replication Approaches - APJA Review of PostgreSQL Replication Approaches - APJ
A Review of PostgreSQL Replication Approaches - APJEDB
 
Database Dumps and Backups
Database Dumps and BackupsDatabase Dumps and Backups
Database Dumps and BackupsEDB
 

More from EDB (20)

Data Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQLData Analysis with TensorFlow in PostgreSQL
Data Analysis with TensorFlow in PostgreSQL
 
Practical Partitioning in Production with Postgres
Practical Partitioning in Production with PostgresPractical Partitioning in Production with Postgres
Practical Partitioning in Production with Postgres
 
A Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAINA Deeper Dive into EXPLAIN
A Deeper Dive into EXPLAIN
 
IOT with PostgreSQL
IOT with PostgreSQLIOT with PostgreSQL
IOT with PostgreSQL
 
A Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQLA Journey from Oracle to PostgreSQL
A Journey from Oracle to PostgreSQL
 
Psql is awesome!
Psql is awesome!Psql is awesome!
Psql is awesome!
 
EDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJEDB 13 - New Enhancements for Security and Usability - APJ
EDB 13 - New Enhancements for Security and Usability - APJ
 
Comment sauvegarder correctement vos données
Comment sauvegarder correctement vos donnéesComment sauvegarder correctement vos données
Comment sauvegarder correctement vos données
 
Cloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - ItalianoCloud Native PostgreSQL - Italiano
Cloud Native PostgreSQL - Italiano
 
New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13New enhancements for security and usability in EDB 13
New enhancements for security and usability in EDB 13
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
Cloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJCloud Native PostgreSQL - APJ
Cloud Native PostgreSQL - APJ
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
EDB Postgres & Tools in a Smart City Project
EDB Postgres & Tools in a Smart City ProjectEDB Postgres & Tools in a Smart City Project
EDB Postgres & Tools in a Smart City Project
 
Migrate Today: Proactive Steps to Unhook from Oracle
Migrate Today: Proactive Steps to Unhook from OracleMigrate Today: Proactive Steps to Unhook from Oracle
Migrate Today: Proactive Steps to Unhook from Oracle
 
All you need to know about CREATE STATISTICS
All you need to know about CREATE STATISTICSAll you need to know about CREATE STATISTICS
All you need to know about CREATE STATISTICS
 
Cloud Native PostgreSQL
Cloud Native PostgreSQLCloud Native PostgreSQL
Cloud Native PostgreSQL
 
Remote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needsRemote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needs
 
A Review of PostgreSQL Replication Approaches - APJ
A Review of PostgreSQL Replication Approaches - APJA Review of PostgreSQL Replication Approaches - APJ
A Review of PostgreSQL Replication Approaches - APJ
 
Database Dumps and Backups
Database Dumps and BackupsDatabase Dumps and Backups
Database Dumps and Backups
 

Recently uploaded

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Recently uploaded (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Postgres in Containern Installieren

  • 1. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.1
  • 2. Installing Postgres on Containers A step-by-step approach Gaby Schilders, Sales Engineer Marc Linster, SVP, Product Development and Support © Copyright EnterpriseDB Corporation, 2019. All rights reserved.2
  • 3. Agenda ● Who is EDB? ● The EDB Postgres Platform on Containers ● Why Containers? ● Demo: Installing EDB Postgres on Containers for Developers ● Q & A ● What’s next in Pulse on Postgres? © Copyright EnterpriseDB Corporation, 2019. All rights reserved.3
  • 4. Survey When are you planning to use Postgres in containers? © Copyright EnterpriseDB Corporation, 2019. All rights reserved.4 ● I am already doing that ● In the next three months ● Three to nine months ● After nine months ● I have no such plans
  • 5. 5 Get your EDB Backpack! Ask a question and give us your business address and we will send you an EDB Backpack!
  • 6. WHO IS EDB? The world leader in open-source based Postgres software and services 6 • Founded in 2004 • Recognized RDBMS leader by: • Gartner • Forrester • Customer base > 4000 • 300+ employees • Offices worldwide • Major PostgreSQL community contributor
  • 7. ONLY OPEN SOURCE BASED RDBMS IN GARTNER MQ EDB Recognized 6 Years In A Row on Gartner’s Magic Quadrant 7
  • 8. 8 Customers working SMARTER, reducing RISK and being more PRODUCTIVE with EDB. OVER 4,000 CUSTOMERS U.S Customers EMEA Customers APAC Customers 102 of the Fortune 500 337 of the Forbes Global 2000
  • 9. EDB OPEN SOURCE LEADERSHIP NAMED EDB OPEN SOURCE COMMITTERS AND CONTRIBUTORS 9 • CORE TEAM • • • • MAJOR CONTRIBUTORS • CONTRIBUTORS Akshay Joshi Amul Sul Ashesh Vashi Dilip Kumar Jeevan Ladhe Mithun Cy Devrim Gündüz Amit Kapila Bruce Momjian Dave Page Robert Haas Ashutos h Sharma Rushabh Lathia - designates committers
  • 10. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.10 EDB POSTGRES PLATFORM
  • 11. EDB Postgres Advanced Server Super set of PostgreSQL All PostgreSQL features are available in EDB Postgres Advanced Server Managed fork, continuously synchronized with PostgreSQL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.11 When would you pick EDB Postgres Advanced Server? ● Native PL/SQL compatibility, key Oracle packages, pragma autonomous transaction, query hints, etc. ● Resource Manager manages CPU and I/O resources ● Session/System Wait Diagnostics ● EDB Loader for fast bulk loads ● Enhanced security features ○ Separate audit log ○ Native data redaction ○ Password policy management
  • 12. Why Containers? CONFIDENTIAL © Copyright EnterpriseDB Corporation, 2019. All rights reserved.12 Avoid cloud vendor lock-in Arbitrage for the best workload performance by moving workloads between on-premise and the cloud Seamless failover Overcomes native Kubernetes limitations when database master fails & restarts Reduce Complexity Integrate Postgres into software delivery pipelines by bringing databases into DevOps PORTABILITY HIGH AVAILABILITY MANAGEABILITY
  • 13. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.13 EDB POSTGRES PLATFORM Today’s Focus
  • 14. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.14 EDB Postgres Container Platform: Components Master Read Replica Read Replica Postgres Postgres Postgres Applications Shared or Local Storage Applications Kubernetes Cluster Monitoring Backup & Restore Read Scaling Automated Failover Automated Operations Operator
  • 15. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.15 EDB Postgres Container Platform: Kubernetes Components • Kubernetes features we used to create a highly available containerized database platform • Stateful Sets • Pod Anti-affinity • Config Maps • Secrets • Dynamic Persistent Volume
  • 16. Installing the EDB Postgres Container A step-by-step approach to get developers up and running quickly and easily © Copyright EnterpriseDB Corporation, 2019. All rights reserved.16 ● Install Docker ● Get your EDB login ● Get the EDB Postgres Container ● Configure and start ● Connect via pgAdmin or psql ● Done!
  • 17. © Copyright EnterpriseDB Corporation, 2019. All rights reserved. Commands we will demo today 17 yum install docker systemctl start docker Docker Installation docker login containers.enterprisedb.com Login for Containers.enterprisedb.com docker pull containers.enterprisedb.com/edb/edb-as-lite:v11 Pulling containers mkdir -p $DATA_VOLUME chmod -R 777 $DATA_VOLUME chcon -Rt svirt_sandbox_file_t $DATA_VOLUME Set up a local directory docker images List all docker images docker ps List all running containers docker run --name "demo" -e DATABASE_NAME=$DATABASE -e PGPORT=5444 -e DATABASE_USER="enterprisedb" -e ENTERPRISEDB_PASSWORD="postgres" -e LOCALEPARAMETER="en_US.UTF-8" -e ACCEPT_EULA=Yes -e REPL_USER="repl" -e REPL_PASSWORD="postgres" -v $DATA_VOLUME:/edbvolume -p $EXTERNAL_PORT:5444 -d containers.enterprisedb.com/edb/edb-as-lite:v11 Create and run docker exec -it <container> bash Log into the container docker stop <container> Stop the container docker rm -f <container> Remove the container
  • 18. Live Demo Installing EDB’s lightweight container for developers 18
  • 19. © Copyright EnterpriseDB Corporation, 2019. All rights reserved.19 Q & A Next Steps: • Get EDB repo credentials: https://www.enterprisedb.com/downl oads • Pull EDB Containers Containers.enterprisedb.com • Request a demo info@enterprisedb.com • Get a quote info@enterprisedb.com
  • 20. Upcoming events Pulse of Postgres Programming the SQL Way with Common Table Expressions Postgres Kubernetes Operator Nov 6 Nov 20