Delay between scale down events in AWS autoscaler

The terraform-aws-ec2-autoscaler should have a minimum (configurable) delay between scale out and scale in for an individual worker.

Workaround
Set `var.autoscaling_configuration.schedule_expression` can create a delay, but this will effect out as well as in for the autoscaler as a whole.
Problem
Say you scale to 0 Work is then assigned and we scale out to 1 That job completes and the autoscaler starts to scale in back to 0 almost immediately. While its scaling in, another job kicks off. I now have to wait for the autoscaler to scale out again. If there was a delay (an instance isnt scaled back in for at least 15 minutes or something) it would avoid this issue.

Please authenticate to join the conversation.

Upvoters
Status

βœ… Completed

Board

πŸ’‘ Feature Requests

Date

9 months ago

Subscribe to post

Get notified by email when there are changes.