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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ