This template creates composite alarms named "HighResourceUsage" and "DeploymentInProgress", and also creates metrics alarms named "HighCPUUsage" and "HighMemoryUsage". "DeploymentInProgress" is an alarm that must be manually set to TRUE or FALSE. The "HighResourceUsage" alarm goes into ALARM state only if both "HighCPUUsage" and "HighMemoryUsage" are in ALARM state, and if "DeploymentInProgress" is FALSE. Only "HighResourceUsage" has the alarm action of notifying SNS. This reduces alarm noise, so that you are alerted only if both CPU usage and memory usage are high, and a deployment is not currently in progress.

HighResourceUsage
AWS::CloudWatch::CompositeAlarm


AlarmActions

DeploymentInProgress
AWS::CloudWatch::CompositeAlarm


HighCPUUsage
AWS::CloudWatch::Alarm


HighMemoryUsage
AWS::CloudWatch::Alarm


CloudFormation Template

Share Template