AMAZONCLOUDWATCH

From ServersCheck Wiki

Jump to: navigation, search

Amazon CloudWatch is a web service that provides monitoring for AWS cloud resources, starting with Amazon EC2. It provides customers with visibility into resource utilization, operational performance, and overall demand patterns—including metrics such as CPU utilization, disk reads and writes, and network traffic. To use Amazon CloudWatch, simply select the Amazon EC2 instances that you’d like to monitor; within minutes, Amazon CloudWatch will begin aggregating and storing monitoring data that can be accessed using the ServersCheck Monitoring Software.


This check requires the AWS Cloudwatch Detailed Monitoring to be enabled.


Setup your EC2 Instance for CloudWatch

Login into the AWS Management Console on https://console.aws.amazon.com/ec2/home

Cloudwatch1.png


Select your instance and enable Monitoring. Keep in mind that you might be charged by Amazon for this service. Note down the AMI image ID of the instance you would like to monitor with ServersCheck.


Now that Monitoring has been enabled, we need to get the EC2 Access Key and Secret Key. This information is stored in your Amazon AWS Security Credentials. You can access it on following url: https://aws-portal.amazon.com/gp/aws/developer/account/index.html?ie=UTF8&action=access-key


Cloudwatch0.png


Write down your Access Key ID and the Secret Access Key


Configuring the AMAZONCLOUDWATCH monitor

Click on ADD MONITOR and select the AMAZONCLOUDWATCH monitor type.

Cloudwatch2.png


In Step 4, you will see the definition screen as below. In there enter the details of your Amazon EC2 instance you have taken note of in the previous section

Cloudwatch3.png


Click on TEST SETTINGS to get the data from the CloudWatch service. If you don't get data then wait for 5 minutes or more as enabling the monitoring service on Amazon's end may not be immediate. The screen below is the result of a NetworkIN (incoming bytes from Amazon CloudWatch)

Cloudwatch4.png

Personal tools