Before you can create a database, you must first create a cluster. This document explains how to create a cluster using the PlanetScale console.
To create a cluster, complete the following steps:
When you create a PlanetScale.com account, you are prompted to create a cluster. You can also access this view by going to console.planetscale.com/clusters.
After clicking Create Cluster, you are prompted to name your cluster.
The name of your cluster is prepended with your account name, and must be unique.
If you want to deploy your database to more than one cloud provider or region, choose Multi-region and Multi-cloud. If you want to create a cluster in a custom Kubernetes region on a Kubernetes cluster belonging to your organization, choose Custom Kubernetes Region.
If you are creating a Single Region cluster, select the cloud provider and region for your cluster.
If you are creating a Multi-Region and Multi-Cloud cluster, select each region where you wish to deploy your database. Once you deploy your cluster, you can only deploy databases to the regions you select for that cluster.
In order to use more than one region, you must select at least three total regions. You may select multiple regions in a single cloud provider.
If you are creating a cluster in a Custom Kubernetes Region, select one of the custom regions that appear. To create a new custom region, click the
Create new custom region button.
When you have selected a name and region for your cluster, click Create Cluster.
Under Create default admin user, enter the username and password for the default admin user. This user will have administrator privileges for all databases in the cluster.
PlanetScaleDB uses default parameters for your cluster that are appropriate for generic workloads. To customize these settings, including hot row protection, default pool size, streaming pool size, transaction pool size, and sharding scheme edit privileges, click Edit Advanced Parameters.
Now that you have a cluster, you can create a database.