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?

已提问 8 个月前176 查看次数
1 回答
0
已接受的回答

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
专家
已回答 8 个月前
profile pictureAWS
专家
已审核 8 个月前
  • 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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则