> For the complete documentation index, see [llms.txt](https://launchnodes.gitbook.io/ethereum-staking-user-interface-instructions/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://launchnodes.gitbook.io/ethereum-staking-user-interface-instructions/introduction/how-to-safely-delete-your-stack.md).

# How to Safely Delete Your Stack

{% embed url="<https://drive.google.com/file/d/1e-wTHFmcVxz8oi0ruqP5dg6k0Y3_xzRW/view?usp=sharing>" %}
Video Guide
{% endembed %}

### **Step 1: Locate the EC2 Instance**

* 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: <mark style="color:yellow;">StakingUI-Cluster-\<your-stack-name></mark>

{% hint style="info" %}
*<mark style="color:blue;">The stack name corresponds to the one you used when launching via CloudFormation.</mark>*
{% endhint %}

### **Step 2: Disable Termination Protection**

* 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: <mark style="color:green;">Enable</mark>
* Click **Save** to apply the change.

### Step 3: Delete the Stack from CloudFormation

* 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.

{% hint style="danger" %}
**Important**: *Deleting a stack is irreversible and will remove all associated AWS resources. Please ensure you no longer need these resources before proceeding.*
{% endhint %}

{% hint style="info" %}
Please make sure your validator is NOT in active state after deleting your infrastructure. You can check the status of your validator via [beaconcha](https://beaconcha.in/).&#x20;
{% endhint %}
