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.

Sajiyah
demandé il y a 8 mois217 vues
1 réponse
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
EXPERT
répondu il y a 8 mois
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions