Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Asked this over at the AWS forums with no response, so I thought I'd give it a go here.

If I have two auto-scaling priorities: 25% increase 50% increase

And I have two separate alarms on CPU utilization for them: 50% CPU Utilization = 25% increase 75% CPU Utilization = 50% increase

If CPU jumps to 80%, it will trigger both alarms, but will it fire the 50% increase policy or the 25% increase policy? If there are a way to ensure it would fire the 50% increase?

There doesn't seem to be any way to prioritise alarms or policies in this way that I can see.

share|improve this question
What's the URL of your post on the AWS forum? –  Eric Hammond Oct 20 '11 at 23:02

1 Answer 1

Both policies will trigger if you don't have DefaultCooldown set long enough in your config to prevent rapid events.

You can use the API call DescribeAutoScalingGroups to check what this value is set to.

Example: If this value is set to 300 (it's in seconds) that means the group is set to only scale every 5 minutes. If the 50% CPU alarm is triggered and then shortly after the 75% CPU alarm is triggered the system will wait 5 minutes before allowing the second to go through if the alarm is still present.

If the usage jump is from 10% to 80% immediately the 75% CPU alarm should trigger.

share|improve this answer
So essentially you are saying they will both trigger, and both will scale if DefaultCooldown is low (zero is possible?) That is at least easy to test. I was particularly interested whether it was determined that the 75% CPU alarm would trigger first and scale first, or is the order "undefined". –  Bazman Jan 2 '13 at 10:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.