How many fs can you find in:
Q: How to configure a scale-in policy in AWS Auto Scaling Group? Im trying to configure AWS Auto Scaling Group scale-down policy.
Ive already configured the ASG to increase the number of instances if average CPU increases above a certain threshold and it works as expected but Im having trouble configuring the opposite policy.
Id like to scale-in incase average CPU goes below a certain threshold.
Ive created some test policies, this is the scale-up policy that Ive configured:

This is the scale-in policy:

If I use the CloudWatch policy which is configured with a threshold already, then how should I configure the take the action part? also, it always checks for >= and I cant change it to <=...

A: The check is a <= (I assume you overlooked the -infinity instead of +infinity) - so the value you put in is the upper bound in that case. (Scale in as soon as CPUUtilization is between your value and -infinity)
Just to mention that here: you could also use the target tracking policy - with this you can say that auto-scaling should scale in a way that your target value is matched - that includes scale-out AND scale-in out-of-the-box.
Hope this helps!

user
There are 16 "f"s.
assistant