Managed database connection service
Services/Cloud PostgreSQL

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

This service stands for a managed PostgreSQL server that runs at a cloud provider, outside the cluster. It has no containers, volumes or configuration of its own in the environment.

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_PASSWORD on 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

The versions are the ones you can select for Cloud PostgreSQL in a stack or an app environment. The service itself is published in revisions, and a stack references a specific revision.

Service type

Managed database connection service

Versions

13, 12, 11, 10, 9.6

Stacks

Stacks that include Cloud PostgreSQL

These public stacks include Cloud PostgreSQL. You can create an app from a public stack as it is, or add the service to a stack of your own.

Managed databases

Connect a stack to a managed database server

You create the managed database from Wodby, in your own cloud account, through a database integration. When you create an app from a stack that includes Cloud PostgreSQL, you select that 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.

Related databases

Related database services

These database services belong to the same family as Cloud PostgreSQL. The links open their database pages.