Automatically create CloudWatch Alarms for Autoscaling instances

amazon-web-services

We use some basic CloudWatch alarms on our EC2 instances to perform notification via SNS of high CPU, etc. Is there a good way to automatically apply our standard alarm configuration to new EC2 instances spun up by an Auto Scaling Group?

Best Answer

Many of the common CloudWatch metrics are also aggregated based on their Auto Scaling group name.

So you can create alarms based on the CPU metric of the Auto Scaling group. You won't see the individual instance's metrics, but you'll be able to work with maximums, minimums, averages, etc.