A web service runs on ECS Fargate.
Increase task count when CPU rises and reduce it when CPU falls.
Choose TWO appropriate design elements.
Use ECS Service Auto Scaling with CPU utilization as a target-tracking metric to adjust the Fargate task count.
Detailed explanation
S3 object lifecycle rules do not scale ECS tasks.
S3 object lifecycle rules do not scale ECS tasks.
Fargate does not expose customer-managed hosts for this operation.
Fargate does not expose customer-managed hosts for this operation.
ECS Service Auto Scaling changes the desired task count from CloudWatch metrics.
ECS Service Auto Scaling changes the desired task count from CloudWatch metrics.
Target tracking can keep average service CPU near a selected target by changing capacity.
Target tracking can keep average service CPU near a selected target by changing capacity.
Check official documentation
Compare the following points with the official documentation.
Amazon ECS Service Auto ScalingとFargateの公式説明を確認する。
What to confirm
サーバーではなくサービスのタスク数をメトリクスで調整できる。
Key points
- ECS Service Auto Scaling
- Fargate
- Target tracking
Notes
- Environment: AWS公式ECSドキュメントの確認
- Confirm current AWS service behavior in the official documentation.
Foundation review
Service-level scaling
Fargate tasks scale through the ECS service rather than by logging in to a host.
Metric and action
The metric provides the signal; the scaling policy changes desired task capacity.