Ao usar o AWS re:Post, você concorda com os AWS re:Post Termos de uso

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.

feita há um ano300 visualizações
1 Resposta
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
ESPECIALISTA
respondido há um ano
  • 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.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas