Stopping an Amazon ECS task
If you no longer need to keep a standalone task running, you can stop the task. The Amazon ECS console makes it easy to stop one or more tasks.
If you want to stop a service, see Deleting an Amazon ECS service using the console.
To stop a standalone task (Amazon Web Services Management Console)
Open the console at https://console.amazonaws.cn/ecs/v2
. -
In the navigation pane, choose Clusters.
-
On the Clusters page, choose the cluster to navigate to the cluster details page.
-
On the cluster detail page, choose the Tasks tab.
-
You can filter tasks by launch type using the Filter launch type list.
Tasks to stop Steps One or more -
Select the tasks, and then choose Stop, Stop selected.
-
On the Stop task confirmation page, choose Stop
All Important
If you choose to stop all tasks using the console, Amazon ECS stops all standalone tasks and tasks that are part of a service. Therefore, we recommend caution when using this option.
-
Choose Stop, Stop all.
-
On the Stop task confirmation page, enter Stop all tasks, and then choose Stop.
-