Monitoring Your Auto Scaling Instances and Groups - Amazon EC2 Auto Scaling

Monitoring Your Auto Scaling Instances and Groups

Monitoring is an important part of maintaining the reliability, availability, and performance of Amazon EC2 Auto Scaling and your AWS solutions. AWS provides the following monitoring tools to watch Amazon EC2 Auto Scaling, report when something is wrong, and take automatic actions when appropriate:

Health Checks

Amazon EC2 Auto Scaling periodically performs health checks on the instances in your Auto Scaling group and identifies any instances that are unhealthy. You can configure Auto Scaling groups to determine the health status of an instance using a combination of Amazon EC2 status checks, Elastic Load Balancing health checks, and custom health checks. For more information, see Health Checks for Auto Scaling Instances.

AWS Personal Health Dashboard

The Personal Health Dashboard (PHD) displays information, and also provides notifications that are triggered by changes in the health of AWS resources. The information is presented in two ways: on a dashboard that shows recent and upcoming events organized by category, and in a full event log that shows all events from the past 90 days. For more information, see Personal Health Dashboard Notifications for Amazon EC2 Auto Scaling.

CloudWatch Alarms

To detect unhealthy application behavior, CloudWatch helps you by automatically monitoring certain metrics for your AWS resources. You can configure a CloudWatch alarm and set up an Amazon SNS notification that sends an email when a metric’s value is not what you expect or when certain anomalies are detected. For example, you can be notified when network activity is suddenly higher or lower than a metric's expected value. For more information, see Monitoring CloudWatch Metrics for Your Auto Scaling Groups and Instances.

CloudWatch Dashboards

CloudWatch dashboards are customizable home pages in the CloudWatch console. You can use these pages to monitor your resources in a single view, even including resources that are spread across different Regions. You can use CloudWatch dashboards to create customized views of the metrics and alarms for your AWS resources. For more information, see the Amazon CloudWatch User Guide.

CloudTrail Logs

AWS CloudTrail enables you to track the calls made to the Amazon EC2 Auto Scaling API by or on behalf of your AWS account. CloudTrail stores the information in log files in the Amazon S3 bucket that you specify. You can use these log files to monitor activity of your Auto Scaling groups. Logs include which requests were made, the source IP addresses where the requests came from, who made the request, when the request was made, and so on. For more information, see Logging Amazon EC2 Auto Scaling API Calls with AWS CloudTrail.

CloudWatch Logs

CloudWatch Logs enable you to monitor, store, and access your log files from Amazon EC2 instances, CloudTrail, and other sources. CloudWatch Logs can monitor information in the log files and notify you when certain thresholds are met. You can also archive your log data in highly durable storage. For more information, see the Amazon CloudWatch Logs User Guide.

Amazon Simple Notification Service Notifications

You can configure Auto Scaling groups to send Amazon SNS notifications when Amazon EC2 Auto Scaling launches or terminates instances. For more information, see Getting Amazon SNS Notifications When Your Auto Scaling Group Scales.


Amazon EventBridge, formerly called CloudWatch Events, delivers a near real-time stream of system events that describe changes in AWS resources. EventBridge enables automated event-driven computing, as you can write rules that watch for certain events and trigger automated actions in other AWS services when these events happen. For example, you can use EventBridge to set up a target to invoke a Lambda function when your Auto Scaling group scales or when a lifecycle action occurs. You can also receive a two-minute warning when Spot Instances are about to be reclaimed by Amazon EC2.

For information about capturing Amazon EC2 Auto Scaling emitted events in EventBridge, see Automating Amazon EC2 Auto Scaling with EventBridge. For an example of the Amazon EC2 emitted event for Spot Instance interruption, see Spot Instance Interruption Notices in the Amazon EC2 User Guide for Linux Instances.