0

I have a ECS service that I have set up auto-scaling for. It is a service that has 2 Fargate tasks. The problem is the Docker containers' CPU utilization is usually very low, generally around 0.1%. I would like to test my auto-scaling set up, especially auto-scaling down which should happen when CPU utilization drops below a threshold. What is the best approach to test it?

fhcat
  • 971
  • 2
  • 9
  • 28

2 Answers2

0

If your app exposes an HTTP API, you could use load testers such as hey or ab to generate load and hence trigger scaling.

Michael Hausenblas
  • 13,162
  • 4
  • 52
  • 66
-1

I've been also thought about that before, then I was adjusting the threshold from 50% to 0.1% to trigger the auto-scaling, as well as adjusted the scale-in threshold.

David Hsu
  • 314
  • 1
  • 6