Track Amazon ECS Availability Zone rebalancing
You can verify if Availability Zone rebalancing is enabled for a service in the console or by
calling describe-services. The following example can be used to see the
status with the CLI.
The response will be either ENABLED or DISABLED.
aws ecs describe-services \ --servicesservice-name\ --clustercluster-name\ --query services[0].availabilityZoneRebalancing
Service events
Amazon ECS sends service action events to help you understand the Availability Zone rebalancing lifecycle.
Task state change events
Amazon ECS sends a task state change event (START) for each task that it
starts as part of the rebalancing process.
Amazon ECS sends a task state change event (STOPPED) event for each task
that it stops as part of the rebalancing process. The reason is set to
Availability-zone rebalancing initiated by (deployment
ecs-svc/.deployment-id)
For more information about the events, see Amazon ECS task state change events.