How to delete ecs?

0

I am just a beginner trying to learn aws and this was created just as a demo purpose. Also I am on my root account. I am trying from last two weeks to delete my ecs services. When I try to delete that it says task defination is still present. In task defination the status is delete in progress from last two weeks. Without taks defination deletion I cant delete ecs which is curently charging money which I cant afford as a student. Please help me.

질문됨 일 년 전289회 조회
1개 답변
1

Hello.

I don't think ECS will charge you just for having a task definition.
Does this mean that the task container is running?
https://aws.amazon.com/fargate/pricing/?nc1=h_ls

Can you delete it using the steps in the document below?
https://repost.aws/knowledge-center/ecs-delete-terminate

An ECS service cannot be deleted if a task that it manages is running.
If the task is running, please stop it by following the steps in the document below.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-task-console-v2.html

profile picture
전문가
답변함 일 년 전
  • Currently the issue is the task defination shows delete in progress and by documentation it shows that something is blocking it. So I think some container or fargate is blocking. Ihave checked containers are not present. But I cant find fargate through the search. I just want to know if it could consume charges.

  • There is no cost if the container is not running.

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

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

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

관련 콘텐츠