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?

asked 8 months ago159 views
1 Answer
0
Accepted Answer

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
EXPERT
answered 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions