Make Autoscaling scale-out more quickly for customMetric

0

I'm setting up an Autoscaling group and it's using TargetTrackingScaling that is tracking a custom metric that is being updated every minute (via a scheduled lambda that queries the inservice instances).

It's working fine, but I'd like the scale-out action to happen more quickly. The source of this looks to be due to the ASG Alarm that gets auto created. It's looking for 3 datapoints before triggering, this means it takes 3 minutes for the alarm to fire.

Is there a way I can configure the ASG/Scaling policy such that the alarm only needs 1 datapoint to fire? Or if not can I create a custom alarm and use that instead?

The metric is {Unit: 'Percent', Statistic: 'Average'}

profile picture
ede
질문됨 2년 전694회 조회
2개 답변
1

Few cents --> Are you looking for this feature on 'TargetTrackingPolicy'? To my knowledge, the CloudWatch alarms for this policy are managed by AWS and is recommended not to edit. https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html (refer Cosideration #1).

You could control the number of datapoints for 'Step' and 'Simple' scaling policies as you manage the CW alarm.

profile pictureAWS
답변함 2년 전
0

Yes I'm looking at TargetTrackingPolicy - will see if I can achieve what I want with Step or Simple policies.

profile picture
ede
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠