Posted On: Oct 9, 2014
You can now monitor, alarm and receive notifications on the operational performance of your Amazon CloudFront distributions using Amazon CloudWatch, giving you more visibility into the overall health of your web application. CloudFront now automatically publishes six operational metrics, each at 1-minute granularity, into Amazon CloudWatch. You can then use CloudWatch to set alarms on any abnormal patterns in your CloudFront traffic.
Six metrics appear in CloudWatch within a few minutes of the viewer request for each of your Amazon CloudFront web distributions:
- Requests: The total number of HTTP and HTTPS requests for all HTTP methods.
- Bytes Downloaded: The total number of bytes downloaded by viewers.
- Bytes Uploaded: The total number of bytes uploaded to your origin.
- 4xx Error Rate: The percentage of all requests for which the HTTP status code is 4xx (e.g. a client error).
- 5xx Error Rate: The percentage of all requests for which the HTTP status code is 5xx (e.g. the origin server didn't fulfill the request).
- Total Error Rate: The percentage of all requests for which the HTTP status code is 4xx and 5xx.
These metrics are automatically provided to all CloudFront customers at no additional costs. Alarming is billed at standard CloudWatch rates.
To learn how to get started monitoring CloudFront activity and setting alarms via CloudWatch, please view our walkthrough in the Amazon CloudFront Developer Guide or simply navigate to the Amazon CloudFront Management Console and select Monitoring & Alarming in the navigation pane.