Deleting an Amazon MSK cluster
Note
If your cluster has an auto-scaling policy, we recommend that you remove the policy before you delete the cluster. For more information, see Automatic scaling.
Deleting a cluster using the Amazon Web Services Management Console
Open the Amazon MSK console at https://console.aws.amazon.com/msk/
. -
Choose the MSK cluster that you want to delete by selecting the check box next to it.
-
Choose Delete, and then confirm deletion.
Deleting a cluster using the Amazon CLI
Run the following command, replacing ClusterArn
with the
Amazon Resource Name (ARN) that you obtained when you created your cluster. If you don't
have the ARN for your cluster, you can find it by listing all clusters. For more information, see Listing Amazon MSK clusters.
aws kafka delete-cluster --cluster-arn
ClusterArn
Deleting a cluster using the API
To delete a cluster using the API, see DeleteCluster.