What happens when an ECS service's auto scaling policy triggers a scale-out action?
Think about how ECS manages task counts when scaling.
When an ECS service auto scaling policy triggers a scale-out, ECS immediately launches new tasks to reach the new desired count.
Which AWS resource must you specify as the scalable target when configuring ECS service auto scaling?
Auto scaling targets the number of tasks running in the service.
The scalable target for ECS service auto scaling is the ECS service's task count, identified by the resource ID format service/cluster-name/service-name.
You want to scale your ECS service based on CPU usage. Which architecture component is essential to trigger scaling actions?
Auto scaling reacts to metrics monitored by CloudWatch alarms.
CloudWatch alarms monitor CPU usage and trigger scaling policies to adjust ECS service task counts automatically.
Which IAM permission is required for an ECS service auto scaling role to update the desired task count?
Think about what action changes the number of running tasks.
The ECS service auto scaling role needs "ecs:UpdateService" permission to change the desired count of tasks in the service.
What is the best practice for setting the cooldown period in ECS service auto scaling policies?
Consider how quickly tasks become healthy after scaling.
The cooldown period should be long enough to let new tasks start and stabilize, preventing rapid scaling fluctuations.