Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Deleting an AWS CloudHSM cluster

Focus mode
Deleting an AWS CloudHSM cluster - AWS CloudHSM

Before you can delete a cluster, you must remove all HSMs from the cluster. For more information, see Removing an HSM from an AWS CloudHSM cluster.

After you remove all HSMs, you can delete a cluster by using the AWS CloudHSM console, the AWS Command Line Interface (AWS CLI), or the AWS CloudHSM API.

To delete a cluster (console)
  1. Open the AWS CloudHSM console at https://console.aws.amazon.com/cloudhsm/home.

  2. Choose the cluster that you are deleting. Then choose Delete cluster.

  3. Confirm that you want to delete the cluster, then choose Delete.

To delete a cluster (AWS CLI)
  • At a command prompt, issue the delete-cluster command, passing the ID of the cluster that you are deleting. If you don't know the cluster ID, issue the describe-clusters command.

    $ aws cloudhsmv2 delete-cluster --cluster-id <cluster ID> { "Cluster": { "Certificates": { "ClusterCertificate": "<certificate string>" }, "SourceBackupId": "backup-rtq2dwi2gq6", "SecurityGroup": "sg-40399d28", "CreateTimestamp": 1504903546.035, "SubnetMapping": { "us-east-2a": "subnet-f1d6e798", "us-east-2c": "subnet-0e358c43", "us-east-2b": "subnet-40ed9d3b" }, "ClusterId": "cluster-kdmrayrc7gi", "VpcId": "vpc-641d3c0d", "State": "DELETE_IN_PROGRESS", "HsmType": "hsm1.medium", "StateMessage": "The cluster is being deleted.", "Hsms": [], "BackupPolicy": "DEFAULT" } }
To delete a cluster (AWS CloudHSM API)
  • Send a DeleteCluster request, specifying the ID of the cluster that you are deleting.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.