How to Safely Delete Your Stack
Before you delete your stack in AWS CloudFormation, you must first disable termination protection on the associated EC2 instance. Please follow the steps below carefully:
Last updated
Before you delete your stack in AWS CloudFormation, you must first disable termination protection on the associated EC2 instance. Please follow the steps below carefully:
Last updated
Log in to the AWS Management Console.
In the search bar at the top, search and select EC2.
In the EC2 dashboard, click on Instances (running) from the left-hand menu.
Locate the EC2 instance with a name similar to: StakingUI-Cluster-<your-stack-name>
Select the checkbox next to the instance.
Click the Actions dropdown at the top.
Choose Instance Settings → Change termination protection.
In the dialog that appears, uncheck the option labeled: Enable
Click Save to apply the change.
Use the search bar at the top to type "CloudFormation", then select CloudFormation from the results to open the service dashboard.
In the CloudFormation dashboard, find the stack you want to delete.
Select the checkbox next to the appropriate stack.
Click the Delete button.
Important: Deleting a stack is irreversible and will remove all associated AWS resources. Please ensure you no longer need these resources before proceeding.
Please make sure your validator is NOT in active state after deleting your infrastructure. You can check the status of your validator via .