Menu
Amazon ElastiCache
User Guide (API Version 2015-02-02)

Deleting a Cluster

As long as a cluster is in the available state, you are being charged for it, whether or not you are actively using it. To stop incurring charges, delete the cluster.

Deleting a Cluster (Console)

The following procedure deletes a single cluster from your deployment. To delete multiple clusters, repeat the procedure for each cluster you want to delete. You do not need to wait for one cluster to finish deleting before starting the procedure to delete another cluster.

To delete a cluster

  1. Sign in to the AWS Management Console and open the Amazon ElastiCache console at https://console.aws.amazon.com/elasticache/.

  2. In the ElastiCache console dashboard, select the engine the cluster you want to delete is running, either Memcached or Redis.

    A list of all clusters running the selected engine appears.

  3. To select the cluster to delete, select the cluster's name from the list of clusters.

    Important

    You can only delete one cluster at a time from the ElastiCache console. Selecting multiple clusters disables the delete operation.

  4. Select the Actions button and then select Delete from the list of actions.

  5. In the Delete Cluster confirmation screen:

    1. If this is a Redis cluster, specify whether or not a final snapshot should be taken, and, if you want a final snapshot, the name of the snapshot.

    2. Choose Delete to delete the cluster, or select Cancel to keep the cluster.

    If you chose Delete, the status of the cluster changes to deleting.

As soon as your cluster is no longer listed in the list of clusters, you stop incurring charges for it.

Deleting a Cache Cluster (AWS CLI)

The following code deletes the cache cluster myCluster.

Copy
aws elasticache delete-cache-cluster --cache-cluster-id myCluster

The delete-cache-cluster CLI action only deletes one cache cluster. To delete multiple cache clusters, call delete-cache-cluster for each cache cluster you want to delete. You do not need to wait for one cache cluster to finish deleting before deleting another.

For more information, go to the AWS CLI for ElastiCache topic delete-cache-cluster.

Deleting a Cache Cluster (ElastiCache API)

The following code deletes the cluster myCluster.

Copy
https://elasticache.us-west-2.amazonaws.com/ ?Action=DeleteCacheCluster &CacheClusterId=myCluster &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T220302Z &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Date=20150202T220302Z &X-Amz-SignedHeaders=Host &X-Amz-Expires=20150202T220302Z &X-Amz-Credential=<credential> &X-Amz-Signature=<signature>

The DeleteCacheCluster API operation only deletes one cache cluster. To delete multiple cache clusters, call DeleteCacheCluster for each cache cluster you want to delete. You do not need to wait for one cache cluster to finish deleting before deleting another.

For more information, go to the ElastiCache API reference topic DeleteCacheCluster.