|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
Amazon CloudWatch is a web service that enables you to monitor, manage, and publish various metrics, as well as configure alarm actions based on data from metrics.
Amazon CloudWatch monitoring enables you to collect, analyze, and view system and application metrics so that you can make operational and business decisions more quickly and with greater confidence. You can use Amazon CloudWatch to collect metrics about your Amazon Web Services (AWS) resources—such as the performance of your Amazon EC2 instances. You can also publish your own metrics directly to Amazon CloudWatch.
Amazon CloudWatch allows you to manage the metrics in several ways. If you are publishing your own metrics, you can define custom metrics for your own use. If you are registered for an AWS product that supports Amazon CloudWatch, the service automatically pushes metrics to CloudWatch for you. Once Amazon CloudWatch contains either your custom metrics or metrics from an AWS service, you can calculate statistics based on that data and graphically visualize those statistics in the Amazon CloudWatch console. For more information about AWS products that Amazon CloudWatch supports, see CloudWatch Metrics, Namespaces, and Dimensions Reference.
Amazon CloudWatch alarms help you implement decisions more easily by enabling you to send notifications or automatically make changes to the resources you are monitoring, based on rules that you define. For example, you can create alarms that initiate Auto Scaling and Simple Notification Service actions on your behalf. For more information about alarms, see Alarms.
A common use for Amazon CloudWatch is to keep your applications and services healthy and running efficiently. For example, you can use it to discover that your website runs best when network traffic remains below a certain threshold level on your Amazon EC2 instances. You can then create an automated procedure to ensure that you always have the right number of instances to match the amount of traffic you have. You can also use Amazon CloudWatch to diagnose problems by looking at system performance before and after a problem occurs. Amazon CloudWatch helps you identify the cause and verify your fix by tracking performance in real time. For example, you can set up Amazon CloudWatch to email you right away when your application slows down, go back and discover that a particular database was being overloaded, and later watch response times come back up to speed.
As you can see in the following figure, Amazon CloudWatch is basically a metrics repository. An AWS product—such as Amazon EC2—puts metrics into the repository, and you retrieve statistics based on those metrics. If you put your own custom metrics into the repository, you can retrieve statistics based on your custom metrics.