Create Database Clusters


Create a managed database cluster to run one or more databases.

To create a cluster:

  1. Go to the Databases section and click Create.
  2. Select the database engine and version. You can't change the type or version after the cluster is created.
  3. Select the region for your cluster.
  4. Select a plan. On the basic plan, MySQL and PostgreSQL clusters are limited to one database and one user, and some configuration parameters can't be changed. For details, see the MySQL and PostgreSQL basic plan limitations.
  5. (Optional) Set up a maintenance window.
  6. (For MySQL and PostgreSQL) Select the number of replicas: No replicas, 2 replicas, or 4 replicas. Replicas improve fault tolerance and distribute read load. If the primary node fails, the cluster continues to run automatically. By default, the cluster has no replicas.
  7. Configure the network. Create a new private network or add the cluster to an existing one. You can also assign a private IP address manually. If you create a new network, set its IP address range. Available ranges:

Available ranges

Maximum CIDR size

Minimum CIDR size

10.0.0.0/x

/8

/28

192.168.0.0/x

/16

/28

172.16.0.0/x

/12

/28

  1. (Optional) Enable backups. Hostman creates one backup copy daily. You can enable or disable backups at any time after the cluster is created.
  2. Under Database information:
    • Enter a custom cluster name or keep the generated one.
    • Enter a password for the default database user or click Generate. After the cluster is created, you can add more users and change the password.
    • Select the password hash type.
    • Select the project for the cluster.
  3. Click Create.

The cluster is ready in a few minutes. The database gets a public IP address, which you can find in the dashboard. To disable public access, change this in the database settings.