- Newest
- Most votes
- Most comments
There is a possibility that a ECS service is force deleted and when you delete a service, if there are still running tasks that require cleanup, the service status moves from ACTIVE to DRAINING, and the service is no longer visible in the console, only after all tasks frmo this service have transitioned to either STOPPING or STOPPED status, the service status then moves from DRAINING to INACTIVE and operation is completed.
You can still use DescribeServices
API operation to find status of a service which is in the DRAINING
or INACTIVE
status.
While any of deployment or task is utilising deleted task definition, they will remain in DELETE_IN_PROGRESS
state.
Please check out ECS Deleting a task definition revision documentation for possible reasons and remediation steps.
Relevant content
- Accepted Answerasked a year ago
- Accepted Answerasked 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago