> ## Documentation Index
> Fetch the complete documentation index at: https://rasa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS Cleanup Infrastructure [Optional]

> Following these steps will delete all of the infrastructure and configuration you have deployed in all the previous steps. You'll need to set the environment variables defined in Setup Steps before you begin.

<Warning>
  Following these steps will delete all of the infrastructure and configuration you have deployed in all the previous steps. You'll need to set the environment variables defined in [Setup Steps](/docs/learn/deployment/aws/aws-playbook-setup) before you begin.
</Warning>

You should only perform this step after you're finished with the Rasa Platform and wish to destroy all of the infrastructure you've deployed.

If you would like to clean up everything created in this playbook, you can run the following script. It will delete all of the Kubernetes resources created on your cluster, and then tear down and permanently delete all of the AWS infrastructure. Only run this if you're absolutely sure you wish to delete everything. The command may take up to an hour to run to completion if you deployed all of the resources in the playbook.

```bash theme={null}
./aws/cleanup/cleanup.sh
```


## Related topics

- [GCP Cleanup Infrastructure [Optional]](/docs/learn/deployment/gcp/gcp-playbook-cleanup.md)
- [Azure Cleanup Infrastructure [Optional]](/docs/learn/deployment/azure/azure-playbook-cleanup.md)
- [Installing on Amazon Web Services (AWS)](/docs/learn/deployment/aws/aws-playbook-intro.md)
- [Install Rasa Studio](/docs/learn/deployment/aws/aws-playbook-studio.md)
- [Deploy Infrastructure](/docs/learn/deployment/aws/aws-playbook-infra.md)
