How do you bring down capacity once metrics drop?

I have an SQS queue and set an alarm that once it reaches passes 1000 messages scale up my ASG group. This works as expected but once the messages clear, how do I trigger the reduction of the capacity in the group?


Related discussions:

Rather than scaling up once you hit a specific value, you might be better using a target tracking policy as per this article.

I suggest you familiarize yourself with the multiple dynamic scaling options AWS has: simple scaling, step scaling and target tracking scaling.

https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scale-based-on-demand.html

Yes, if you use simple or step scaling, you need two policies. If target tracking, one is enough.

Since you’re already familiar with alarms, there’s nothing wrong with having a scale down alarm