Amazon CloudWatch
Amazon CloudWatch
Written by Kay Ewbank   
Tuesday, 15 July 2014

A new service that lets you monitor and troubleshoot systems and applications from Amazon EC2 instances has been released by Amazon.

In terms of its architecture, 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 those statistics as well.


Amazon CloudWatch lets you monitor system, application, and custom log files. To use the service you send your log files to CloudWatch Logs and monitor the logs in near real-time for specific phrases, patterns or values. This means you could work out what level of errors on your system logs should trigger an alarm, set up the alarm, and CloudWatch will keep track and warn you if that many errors occur. You can then view the original log data to see the source of the problem. You can also use the alarms to detect and shut down Amazon EC2 instances that are unused or underutilized.

In a post about using the new service on the Amazon Application Management blog, Chris Barclay says that you could, for example,

"monitor application logs for specific literal terms (such as "NullReferenceException") or count the number of occurrences of a literal term at a particular position in log data (such as "404" status codes in an Apache access log). When the term you are searching for is found, CloudWatch Logs reports the data to an Amazon CloudWatch metric that you specify. You can then retrieve the associated log data from CloudWatch Logs if, for example, the count of "NullReferenceExceptions" exceeds its normal range."

In addition to the alarms, CloudWatch comes with a set of graphs and statistics in a dashboard that lets you view all your monitored AWS resources, and all your alarms. You can set it up to also show application metrics that you provide.

CloudWatch Logs includes an installable agent for Ubuntu, Amazon Linux, and Windows that you can use to send your logs to CloudWatch. The CloudWatch Logs Agent can be installed using CloudFormation, Chef, EC2 User Data or through direct command-line setup.

The AWS free usage tier includes 10 Metrics, 10 Alarms, and 1,000,000 API requests with Amazon CloudWatch.

More Information


Related Articles

AWS Elastic Beanstalk For Node.js

AWS Announces CloudSearch

Amazon Cognito - A Sync Solution

Amazon Mobile Analytics


To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.



Raspberry Pi Gets Processing

If you haven't discovered Processing - it's a programming language - then you have missed out on some fun. Now you can have even more fun with the newly announced Raspberry Pi version of Processing.

Fear And Loathing In the App Store 13 - Apple Rejects F.lux And It Isn't Even In The App Store!

I thought we had seen all the possibilities for troubles in the App Store, but this one reaches a new level of silliness. The app concerned wasn't even in the App Store, but Apple still managed to get [ ... ]

More News


blog comments powered by Disqus

Last Updated ( Tuesday, 15 July 2014 )

RSS feed of news items only
I Programmer News
Copyright © 2015 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.