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?

gefragt vor 8 Monaten169 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 8 Monaten
profile pictureAWS
EXPERTE
überprüft vor 8 Monaten
  • 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.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen