Monitor your Auto Scaling instances and groups - Amazon EC2 Auto Scaling
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Monitor 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 Amazon Web Services Cloud solutions. Amazon 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. If an instance does not pass its health check, it is marked unhealthy and will be terminated while Amazon EC2 Auto Scaling launches a new instance in replacement. For more information, see Health checks for Auto Scaling instances.

Amazon Health Dashboard

The Amazon Health Dashboard displays information, and also provides notifications that are triggered by changes in the health of Amazon 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 Amazon 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 Amazon 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 Monitor 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 Amazon resources. For more information, see the Amazon CloudWatch User Guide.

CloudTrail logs

Amazon CloudTrail enables you to track the calls made to the Amazon EC2 Auto Scaling API by or on behalf of your Amazon Web Services 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 Log Amazon EC2 Auto Scaling API calls with Amazon 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 Get Amazon SNS notifications when your Auto Scaling group scales.