Service type
Cloud PostgreSQL service
Connection service for apps that use managed PostgreSQL databases such as Amazon RDS instead of running PostgreSQL inside the stack.
This service runs no database server. It holds the connection to a database server that a cloud provider runs, and the services linked to it connect to that server.
On Wodby
How Cloud PostgreSQL runs on Wodby
What Wodby sets up
- The server is a managed database created on Wodby through a cloud provider integration and selected for this service when the application is created.
- One database and one user are declared for the environment, both named after the application and the environment. The user's password is generated once per environment (token
password). The application does not create them.
How a linked service reaches it
- Host and port are those of the managed database server, not a service name inside the environment.
- A service linked to this one receives the host, port, database name, user name and password as environment variables defined by its own link (for example
DB_HOST,DB_PORT,DB_NAME,DB_USERNAME,DB_PASSWORDon the PHP service). Read those in the application; do not hardcode the provider's address.
What is not here
- There is no database container to open a shell in, and no server settings on this service. Server parameters, storage and versions are managed on the managed database itself.
- The manifest declares no backups, imports or actions for this service.
Overview
Technical profile of Cloud PostgreSQL
Versions
Source repository
Database page
Stacks
Stacks that include Cloud PostgreSQL
Managed databases
Connect a stack to a managed database server
One database server per app environment
Each app environment selects its own managed database server, so production and staging can use different servers.
Connection details as environment variables
A service linked to Cloud PostgreSQL receives the host, port, database name, user name, and password of the server as environment variables.
Where the database server runs
The server runs at the cloud provider, outside the cluster. When the cluster runs on AWS EKS, Azure Kubernetes Service (AKS), DigitalOcean Kubernetes (DOKS), or Google Cloud Platform Kubernetes Engine (GKE) with the same cloud integration, Wodby can put the database on the cluster’s network, so the app reaches it privately and with less delay.
Managed database providers
Related databases