AWS Auto Scaling monitors your applications and automatically adjusts capacity to maintain steady, predictable performance at the lowest possible cost.
The service is free. You pay only for the resources your application consumes.
StepAdjustment
q What is the lower and upper bounds?
For the following examples, suppose that you have an alarm with a breach threshold of 50:
- To trigger the adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.
- To trigger the adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0. https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html
q Will autoscaling kill my ongoing tasks in AWS ECR service?
To protect tasks that belong to your service from terminating in a scale-in event, set the
protectionEnabled
attribute totrue
. By default, tasks are protected for 2 hours. You can customize the protection period by using theexpiresInMinutes
attribute. You can protect your tasks for a minimum of 1 minute and up to a maximum of 2880 minutes (48 hours).