Delete clusters

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

  1. In the Google Cloud console, go to the Memorystore for Redis Cluster page.

    Memorystore for Redis Cluster

  2. Click the cluster that you want to delete.

  3. Optional. If the cluster that you want to delete is a secondary cluster, then do the following:

    1. Click the expander arrow next to the primary cluster that's the parent of the secondary cluster.
    2. Click the link of the secondary cluster.
  4. Click Delete.

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