Stop ECS-EC2 Service

Stop running Amazon ECS Service, which is using EC2 Launch Type

  1. Open Amazon ECS console.
  2. Left navigation bar under Amazon ECS, Clusters and select the cluster name.
  3. Under Services tab, select the Service name to be removed and Delete it. Enter delete me under confirmation dialog box.
  4. Tasks running under service, should be stopped. However, if it’s not stopped, in 3-5 min, Go to Tasks tab, select all tasks and Stop them.
  5. Remove EC2 Launch type associated resources one by one, Capacity Providers for Autoscaling Groups, Autoscaling Groups and Launch configuration.