Remove an ECS service after scaling it down or forcing deletion.
Section: ECS Clusters and Services
Delete an ECS service
bash
bash
aws ecs delete-service --cluster my-cluster --service my-service --forceExplanation
Use with caution in production environments.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing ECS Clusters and Services
Describe services
Inspect ECS service desired count, task definition, and deployment status.
Force a new ECS deployment
Restart service tasks using the current task definition.