Subsequent CloudWatch Alarm notifications to SNS

后端 未结 1 1225
刺人心
刺人心 2021-01-24 16:21

When I use CloudWatch alarm to trigger an AutoScaling action, it repeatedly trigger the ASG actions. In other words, a subsequent set of N Alarms with state ALARM will trigger N

1条回答
  •  面向向阳花
    2021-01-24 17:07

    An Amazon CloudWatch alarm will only trigger an Amazon SNS notification when the alarm enters the ALARM state. That is, it triggers only once, and only when moving from something that isn't ALARM into the ALARM state.

    The same CloudWatch alarm, however, will continue to trigger an Auto Scaling Policy.

    For example, if an alarm is set to trigger when average CPU Utilization is above 80%, then the alarm will continue to trigger the Scaling Policy while the alarm is in the ALARM state. The Scaling Policy also has a warmup period, during which no additional scaling actions will take place (unless multiple steps are defined and another step limit has been breached).

    The above behaviours are intentional and cannot be configured differently.

    0 讨论(0)
提交回复
热议问题