Unable to delete ECS cluster

0

Hi,

I am trying to delete an ECS cluster. When try to delete the cluster, I am getting success message. But cluster is still active. I also tried following methods to delete ECS cluster:

  • Deleted all resources including namespaces, VPCs, SGs, IGWs etc

How to fix this?

Manu
질문됨 한 달 전406회 조회
3개 답변
0

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

AWS
전문가
hyp
답변함 한 달 전
0

Hi,

You may want to follow the guidance of this community article: https://repost.aws/knowledge-center/ecs-cluster-delete-failure-stack

Best,

Didier

profile pictureAWS
전문가
답변함 한 달 전
0

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.

답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠