EC2 > ASG > asg-app-prod

Automatic Scaling

Dynamic scaling policies > create dynamic scaling policies

image.png

It will automatically scale down desired capacity. If CPU utiliisation is not much

image.png

You can hit cpu intensive endpoint /cpu. SSH into that machine and check the CPU utilization by running htop. It will be 100% nearly