This page describes the cluster management and cluster deletion workflows for CockroachDB Serverless.
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.
For each cluster, the following details display:
- The cluster's Name
- The cluster's Plan type, either Serverless or Dedicated
- The date and time the cluster was Created
- The cluster's current State
- The cluster's cloud provider, either GCP or AWS
- The Version of CockroachDB the cluster is running
- The Action button, which is used to:
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 Serverless cluster:
- The Cluster settings section, including Cloud provider, Plan type, and Regions
- The Usage this month section, including the Resource limits, Storage, and Request Units
- The cluster's Current activity
- Time-series graphs of the cluster's Storage usage, Request Units, and SQL statements
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 Usage this month section of your cluster's Overview page, click Estimate usage cost.
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 accrused 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 your resource limits
On the Overview page, you can edit your resource limits. Changes apply to the current and future billing cycles. For more details, refer to Plan a CockroachDB Serverless cluster.
- Navigate to the Overview page for the cluster you want to edit.
Click the pencil icon (or Add resource limits if you haven't set one before) next to your Resource limits in the Usage this month section.
You will be taken to the Edit cluster page, which shows a graph of your cluster's Recommended budget compared to your current budget.
Enter new Resource limits.
Click Update.
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 Summary sidebar, verify the hourly estimated cost for the cluster.
Click Update.
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 Update.
Restore data from a backup
Use the Managed-Service Backups to restore your cluster from automatic full cluster backups.
You can also back up and restore your CockroachDB Serverless cluster manually. You can take backups locally to userfile
or back up to cloud storage.
Delete cluster
Deleting a cluster will delete all cluster data.
Free CockroachDB Serverless 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.
- Click the Actions button in the top right corner.
- Select Delete cluster.
- In the confirmation window, enter the name of the cluster.
- Click Delete.