Stopping Amazon ECS service deployments
You can manually stop a deployment when a failing deployment was not detected by the circuit breaker or CloudWatch alarms. The following stop types are available:
-
Rollback - This option rolls back the service deployment to the previous service revision.
You can use this option even if you didn't configure the service deployment for the rollback option.
You can stop a deployment that is in any of the following states. For more information about service deployment states, see View service history using Amazon ECS service deployments.
-
PENDING - The service deployment moves to the ROLLBACK_REQUESTED state, and then the rollback operation starts.
-
IN_PROGRESS - The service deployment moves to the ROLLBACK_REQUESTED state, and then the rollback operation starts.
-
STOP_REQUESTED - The service deployment continues to stop.
-
ROLLBACK_REQUESTED - The service deployment continues the rollback operation.
-
ROLLBACK_IN_PROGRESS - The service deployment continues the rollback operation.
Procedure
Before you begin, configure the required permissions for viewing service deployments. For more information, see Permissions required for viewing Amazon ECS service deployments.
Next steps
Decide what changes need to be made to the service, and then update the service. For more information, see Updating an Amazon ECS service using the console.