Vitali Skripka
Vitali Skripka

Reputation: 622

Why my ecs auto scaling action is not working?

I created REPLICA service and added 2 policies for scaling it. One for scale-in, second is for scale-out. Configured alarms for them and started testing service.

When CPUUtilization value pass the alarm limits and alarm's state becomes ALARM. It's history says 'Successfully executed action...'. In service i see that desired count value becomes 2, but only one task is running. What the problem? How should i configure scaling to run additional tasks?

Service load balancer enter image description here

Alarm config enter image description here

Scaling policies

enter image description here

Upvotes: 0

Views: 2484

Answers (1)

mohit
mohit

Reputation: 2471

According to screenshots, It seems your scaling policies are working fine. However, Your RUNNING tasks do not equal the number of the desired count.

I suggest you check the 'Events Tab' to see the exact reason why your tasks were not able to run.

Upvotes: 1

Related Questions