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.
"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.
Intel is organizing another gaming workshop in London on June 4th. This time there is a focus on VR and Google Cardboards will be given to the first 200 attendees. It's also a chance to showcase your [ ... ]