This page describes how to delete clusters in Memorystore for Redis Cluster.
Delete a cluster
You can delete clusters by using the Google Cloud console or the Google Cloud CLI.
Console
In the Google Cloud console, go to the Memorystore for Redis Cluster page.
Click the cluster that you want to delete.
Optional. If the cluster that you want to delete is a secondary cluster, then do the following:
- Click the expander arrow next to the primary cluster that's the parent of the secondary cluster.
- Click the link of the secondary cluster.
Click Delete.
In the dialog, enter the cluster ID, and then click Delete.
gcloud
To delete a cluster, use the gcloud redis clusters delete
command.
gcloud redis clusters delete CLUSTER_ID \ --project=PROJECT_ID \ --region=REGION_ID
Make the following replacements:
- CLUSTER_ID: the ID of the cluster that you want to delete
- PROJECT_ID: your project ID
- REGION_ID: the region where your cluster is located
For example:
gcloud redis clusters delete my-cluster \ --project=my-project \ --region=us-central1