Deleting a cluster on the AWS CloudFormation console#
- 1. Select the stack
From the list of clusters (CloudFormation stacks) within the AWS CloudFormation Console, select the cluster you intend to uninstall. Note that the cluster must currently be running in order to delete it.
- 2. Actions menu
Navigate to the Actions drop down menu and click “delete stack”.
- 3. Confirm the delete action
When prompted with the option to confirm or cancel the delete request, click “Yes, Delete” to proceed with the uninstallation of your Starburst Enterprise platform (SEP) cluster.
Once stack deletion has begun, you cannot terminate the process. The cluster
proceeds to the
DELETE_IN_PROGRESS state. After the cluster deletion is
complete, the cluster is in the
DELETE_COMPLETE state. Clusters in the
DELETE_COMPLETE state are not displayed in the AWS CloudFormation console by
default. To display deleted clusters, you must change the stack view setting. If
the deletion failed, the cluster is in the
For information on how to fix failed delete actions on the AWS CloudFormation Console, navigate to the “delete stack fails” section within the AWS CloudFormation documentation.
Deleting a cluster in the AWS CLI#
To delete a cluster within the AWS CLI, you must run the AWS CloudFormation
delete-stack command. This process requires you to identify the name of
the stack you intend to delete.
When you delete a SEP cluster, you delete the entire cluster and all of its resources. Moreover, you can not delete a cluster in which termination protection is enabled.
Reference the following example:
aws cloudformation delete-stack --stack-name myprestostack
Safeguarding your cluster#
You can prevent your cluster from being accidentally deleted by enabling termination protection. See safeguarding your stacks.