Open aaron-collier opened 6 years ago
Currently the scaling down is using the same CloudWatch alarm as the scale up. I’m pretty sure we need a different alarm for scaling down. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch_alarm_autoscaling.html
(Optional) You can also create another alarm that triggers when the memory reservation is below 25%, which you can use to remove a container instance from your Auto Scaling group.
Can you look at the above commit and see if that answers for you?
Currently the scaling down is using the same CloudWatch alarm as the scale up. I’m pretty sure we need a different alarm for scaling down. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch_alarm_autoscaling.html
(Optional) You can also create another alarm that triggers when the memory reservation is below 25%, which you can use to remove a container instance from your Auto Scaling group.