Skip to main content

Your Own Machines

Deploy on existing servers

info

This method is suitable for deployment on existing servers, whether with another cloud provider or in your own data center.

Prerequisites

You will need root access or a user with sudo privileges to access the servers via SSH. You can use your private SSH key (assuming the corresponding public key has already been added to the servers), or a username and password if password access is enabled on your servers.

See also the Requirements and Compatibility pages.

Deployment

Select 'Your Own Machines' in the deployment destination.

deployment-destination

Specify the name and IP addresses of your servers.

note

Use private IP addresses so that the cluster does not listen a public IP.

Example:

database-servers

warning

Please note that at least 3 servers are required to ensure high availability.

Select authentication method.

authentication-method

Optionally, specify an IP address to provide a single entry point for client access to databases in the cluster.

Example:

cluster-vip

info

This must be an IP address that is currently unused on your network. The address will be assigned to the cluster after deployment.

warning

Not for cloud environments. Because VIP-based solutions like keepalived or vip-manager may not works in such environments.

Optionally, check the box for "HAProxy load balancer".

haproxy-load-balancer

tip

This feature supports load balancing for read operations, facilitating effective scale-out strategies through the use of read-only replicas. See the details on the Architecture page

Choose which environment your database cluster belongs to.

environment

Specify a name for your cluster.

cluster-name

Optionally, specify a description.

description

Select the PostgreSQL version to install.

postgres-version

Review the summary and click the "CREATE CLUSTER" button.

summary

Wait until deployment is complete. This process takes about 10 minutes.

info

You can see the deployment log in the "Operations" section. To do this, select the relevant event with the "deploy" type and click "Show details" under the Actions tab.

tip

After a successful deployment, you can obtain the connection info on the cluster page. To do this, click on the name of your cluster on the "Clusters" page.

сluster

Example of a cluster page:

cluster-overview