# Manage a CockroachDB Basic Cluster

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.

## Edit labels

You can organize CockroachDB Cloud clusters using labels.

## Estimate usage cost

Note:

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.

1. In the Capacity used this month section of your cluster's Overview page, click Update capacity.
2. On the Edit cluster page, navigate to Capacity.

3. 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 $15 of free resources each month granted to each organization (excluding those with annual or multi-year contracts), 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:

1. In the Capacity used this month section of your cluster's Overview page, click Update capacity.

2. 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.

Note:

You can only add regions to clusters created after May 16, 2023.

### Add regions

To add regions to your cluster:

1. Navigate to the cluster's Overview page.

2. In the Cluster settings section, click the pencil icon next to the cluster's Regions.

   The Edit cluster page displays.

3. Click Add region.

4. Choose the region you want to add or use the suggested one.

5. In the sidebar, verify the hourly estimated cost for the cluster.

6. Click Next: Capacity and then click Update cluster.

### Edit the primary region

To set the primary region:

1. Navigate to the cluster's Overview page.

2. In the Cluster settings section, click the pencil icon next to the cluster's Regions.

   The Edit cluster page displays.

3. Select Set primary region next to your preferred region.

4. 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:

1. Back up your existing cluster's data.
2. Create a new CockroachDB Basic cluster in the desired region.
3. Once the new cluster is set up, restore your data from the backup into the new cluster.

## Change a cluster's plan

To change your cluster's plan between Basic and Standard, refer to Change a Cluster's Plan Between Standard and Basic.

To change from Basic to Advanced, refer to Migrate from Standard or Basic to Advanced.

## 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.

1. Navigate to the Overview page for the cluster you want to protect.
2. If deletion protection is disabled, click the pencil icon next to it. Toggle the setting, then click Save.

## Delete cluster

Warning:

Deleting a cluster will delete all cluster data.

Note:

Free CockroachDB Basic clusters are subject to deletion after 6 months of no activity. Deleted clusters can not be restored.

Proceed with the following steps only if you are sure you want to delete a cluster:

1. Navigate to the Overview page for the cluster you want to delete.
2. If deletion protection is enabled, click the pencil icon next to it. Toggle the setting, then click Save.
3. Click the Actions button in the top right corner.
4. Select Delete cluster.
5. In the confirmation window, enter the name of the cluster.
6. Click Delete.