This page describes the cluster management and cluster deletion workflows for CockroachDB Basic.
View Clusters page
On logging in to the CockroachDB Cloud Console, the Clusters page is displayed. The Clusters page provides a high-level view of your clusters.
To view and manage a specific cluster, click the name of the cluster. The Overview page will display.
View cluster overview
The Overview page displays details about the selected CockroachDB Basic cluster. For more information, see Cluster Overview Page.
Estimate usage cost
This feature is not available if your organization is billed through Credits.
The monthly cost estimate is calculated using simple extrapolation that assumes your workload during the selected time frame is an accurate representation of your workload over the month. If you haven't been running a workload for at least the length of the selected time frame, your results will be inaccurate.
- In the Capacity used this month section of your cluster's Overview page, click Update capacity.
- On the Edit cluster page, navigate to Capacity.
Under the Estimate cost based on usage section, select a time period in which your workload was active.
Your used RUs, used storage, and accrued costs during the time period will be shown along with a monthly cost estimate. The accrued costs and monthly cost estimate do not account for the free resources granted to each non-contract organization, which you would have to use up before being charged.
Edit cluster capacity
The price-performance characteristics of CockroachDB Basic vary significantly depending on the workload. It can be difficult to estimate a workload's compute requirements in advance. With Basic, by default compute and storage scale with your cluster's needs, but you can limit a cluster's resource usage:
In the Capacity used this month section of your cluster's Overview page, click Update capacity.
On the Capacity page, edit the resource limits. In the sidebar, click Update cluster.
Changes apply to the current and future billing cycles. For more details, refer to Plan a CockroachDB Basic cluster.
Edit regions
You can add up to six regions at a time and change your primary region through the Cloud Console. You cannot currently edit the region configuration for a single-region cluster once it has been created, and you cannot remove a region once it has been added.
You can only add regions to clusters created after May 16, 2023.
Add regions
To add regions to your cluster:
- Navigate to the cluster's Overview page.
In the Cluster settings section, click the pencil icon next to the cluster's Regions.
The Edit cluster page displays.
Click Add region.
Choose the region you want to add or use the suggested one.
In the sidebar, verify the hourly estimated cost for the cluster.
Click Next: Capacity and then click Update cluster.
Edit the primary region
To set the primary region:
- Navigate to the cluster's Overview page.
In the Cluster settings section, click the pencil icon next to the cluster's Regions.
The Edit cluster page displays.
Select Set primary region next to your preferred region.
Click Next: Capacity and then click Update cluster.
Move cluster to a new region
A CockroachDB Basic cluster cannot be moved from one region to another directly. Instead, you must restore the cluster's data from a backup to a new CockroachDB Basic cluster with the desired region configuration:
- Back up your existing cluster's data.
- Create a new CockroachDB Basic cluster in the desired region.
- Once the new cluster is set up, restore your data from the backup into the new cluster.
Restore data from a backup
Use the Managed Backups to restore your cluster from automatic full cluster backups.
You can also back up and restore your CockroachDB Basic cluster manually. You can take backups locally to userfile
or back up to cloud storage.
Enable deletion protection
To help prevent a cluster from being deleted by mistake, you can enable deletion protection. Before you can delete a cluster with deletion protection enabled, you must disable deletion protection. A user with permission to delete a cluster can enable deletion protection on the same cluster.
- Navigate to the Overview page for the cluster you want to protect.
- If deletion protection is disabled, click the pencil icon next to it. Toggle the setting, then click Save.
Delete cluster
Deleting a cluster will delete all cluster data.
Free CockroachDB Basic clusters are subject to deletion after 6 months of no activity.
Proceed with the following steps only if you are sure you want to delete a cluster:
- Navigate to the Overview page for the cluster you want to delete.
- If deletion protection is enabled, click the pencil icon next to it. Toggle the setting, then click Save.
- Click the Actions button in the top right corner.
- Select Delete cluster.
- In the confirmation window, enter the name of the cluster.
- Click Delete.