Unsuccessful Task Definition deletion in Elastic Container Service.

0

Hi, I have a problem deleting an Elastic Container Service job definition.

I'm still learning about the platform, in a hands-on lab I created a container and Task Definition, but after successfully completing the task I need to delete the container and Task Definition. However, the deletion of the Task Definition is still in progress for almost 3 (three) days, generating an unforeseen cost for me, as I am only in training, I do not use the platform for work.

Because of this I cannot delete the ECS container.

Can anyone help me please?

posta 8 mesi fa176 visualizzazioni
1 Risposta
0
Risposta accettata

Hello.

There is no charge for the task definition itself.
If there is a task (container) that is running, the container must be deleted to incur the cost.
https://aws.amazon.com/jp/fargate/pricing/

What if we delete the entire service instead of the task definition?
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/delete-service.html
https://repost.aws/knowledge-center/ecs-delete-terminate

Stopping a task (container) can be done by following the procedure in the following document.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-task-console-v2.html

profile picture
ESPERTO
con risposta 8 mesi fa
profile pictureAWS
ESPERTO
verificato 8 mesi fa
  • Thank you very much for your support!

    I really just needed to stop all the activities that were running on the cluster, so that later I could complete the deletion of cluster process.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande