- Newest
- Most votes
- Most comments
While you mentioned deleting resources like namespaces, VPCs, etc., ensure you followed all the recommended steps for deleting an ECS cluster:
Deregister Container Instances: Before deleting the cluster, all container instances associated with it must be deregistered. Use the "DeregisterContainerInstance" command in the AWS CLI or the ECS console.
Delete Services: Terminate all services running in the cluster. You can scale them down to zero or use the "force delete" option.
Here are some helpful resources:
Deleting an Amazon ECS cluster: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/delete_cluster-new-console.html
Deregistering Container Instances: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deregister_container_instance.html
By following these steps and referencing the documentation, you should be able to successfully delete your ECS cluster.
Hi,
I found the Knowledge Center, hope it will help you.
Why can't I delete my Amazon EKS cluster?
https://repost.aws/knowledge-center/eks-delete-cluster-issues
Hi,
You may want to follow the guidance of this community article: https://repost.aws/knowledge-center/ecs-cluster-delete-failure-stack
Best,
Didier
Relevant content
- asked 2 years ago
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 years ago