Process Flow - ECS service auto scaling
Start: ECS Service Running
Monitor Metrics (CPU, Memory)
Check if Metric > Scale Out Threshold?
No→Check if Metric < Scale In Threshold?
Increase Desired Task Count
Update ECS Service Desired Count
Wait for Stabilization
Repeat Monitoring
The ECS service auto scaling monitors resource metrics and adjusts the number of running tasks by increasing or decreasing desired count based on thresholds.