Stop ECS-EC2 Service
Stop running Amazon ECS Service, which is using EC2 Launch Type
- Open Amazon ECS console.
- Left navigation bar under Amazon ECS, Clusters and select the cluster name.
- Under Services tab, select the Service name to be removed and Delete it. Enter delete me under confirmation dialog box.
- 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.
- Remove EC2 Launch type associated resources one by one, Capacity Providers for Autoscaling Groups, Autoscaling Groups and Launch configuration.