How to Create Database Clusters

You can create a DigitalOcean Database Cluster at any time from the Create menu by selecting Databases. This will take you to the Create a Database page.

From here, you need to:

  1. Select a database engine. For PostgreSQL, we currently support major versions 10 and 11. The latest minor version is selected by default.

  2. Choose a cluster configuration. The smallest node size (1GB-RAM-1-vCPU) cannot be configured with a standby node. All other node sizes support standby nodes, which you can configure now or add later. See Cluster High Availability for details about failover.

    The combined monthly cost of the database nodes is displayed to the right, with the hourly cost underneath.

    Screenshot of Cluster configuration choices

    You can increase the size of database nodes at any time, but you cannot decrease the size.

  3. Choose a datacenter region. Creating a database cluster in a different region than your Droplets may negatively impact performance. Regions where you have Droplets have an indicator. Hover over the indicator to see the Droplets you have in that region.

  4. Finalize and Create. You can accept the automatically-generated name for the database or choose a custom name. Names must be between 3 - 63 characters long and consist only of alphanumeric characters and dashes.

    Optionally, you can add the cluster to a different project or add tags.

    When you’re ready, click the Create a Database Cluster button.

    Screenshot of Create a Cluster button

Clusters typically take five minutes or more to provision, but you can complete important configuration tasks such as restricting inbound connections while you wait.