Amazon CloudWatch is a monitoring and management service for Amazon-hosted (AWS) cloud applications.
Questions tagged [amazon-cloudwatch]
191 questions
14
votes
3 answers
Which permissions/policies for IAM role to be used with CloudWatch monitoring script
With CloudWatch monitoring script (mon-put-instance-data.pl) it's possible to specify a IAM role name to provide AWS credentials (--aws-iam-role=VALUE).
I'm creating a IAM role for this purpose (to run mon-put-instance-data.pl on an AWS instance),…

Céline Aussourd
- 600
- 1
- 5
- 14
13
votes
1 answer
Cloudwatch mon-put-instance-data not reporting on AMI-cloned instance
After cloning an EC2 instance using AMI (to change a hosts security group), none of the statistics reported by the Amazon-provided mon-put-instance-data.pl script are showing up in CloudWatch.
I can confirm that the script is reporting the data to…

syncsynchalt
- 481
- 4
- 7
13
votes
6 answers
Setting up Amazon Cloudwatch to get an alert when you server is down
I have an instance running on Amazon EC2 that I turned into a webserver.
Now I have been looking at cloudwatch, but I do not know if it is the correct tool for the job. Basically I want to get informed when the server is down, for whatever…

Saif Bechan
- 10,960
- 10
- 42
- 63
12
votes
1 answer
Why do EC2 T2 instances sometimes start with zero CPU Credits
Can anyone explain why when I launch a new T2.micro instance, it occasionally (perhaps 1 in 50) starts with a CPU credit balance of zero, instead of the 30 it is meant to have?
I've attached screenshots of the CPU credit balances from two machines I…

Ian Bamforth
- 289
- 3
- 16
12
votes
1 answer
Why does top report a different cpu usage than CloudWatch?
top shows an average CPU usage during peak times of about 20% while CloudWatch monitoring shows an average CPU usage of 40%. What causes this discrepancy?
user99751
12
votes
1 answer
Is anyone using an SNMP and/or WMI poller to push custom metrics to Amazon CloudWatch, and if so how?
Amazon CloudWatch has a decent console, and an alarm system which uses Amazon SNS for notifications.
Originally it only gave you AWS metrics, e.g. EC2 instance CPU utilization.
Recently they added custom metrics. You can use the CloudWatch REST API…

Greg Hendershott
- 816
- 1
- 8
- 12
11
votes
3 answers
Tail an AWS CloudWatch Log Group
I have a Log Group that includes several Log Streams (from several EC2 instances). Is there any way to simply "tail" the consolidated logs in the group? If I click "Search Events" that shows the consolidated logs but the button that jumps to the end…

stdout
- 243
- 1
- 3
- 10
10
votes
2 answers
What is the equivalent of 'sudo yum install -y awslogs' for apt-get?
According to aws documentation, this is the command to install the aws-log agent:
sudo yum install -y awslogs
However since I am using ubuntu, I have to use apt-get. But the aws-log package is not available.
Is there an equivalent of the aws-log…

Anthony Kong
- 3,288
- 11
- 57
- 96
9
votes
3 answers
Is it possible to get a list of running processes with a Cloudwatch Alarm?
We have an EC2 instance (Ubuntu) that has a few java-based applications and lately we're getting hit with high CPU utilization spikes that trigger one of our Cloudwatch alarms. By the time we get into the server to look at the cpu utilization,…

jtalarico
- 247
- 1
- 6
- 11
8
votes
1 answer
AWS RDS db.t2 instance performance thresholds & monitoring
We have been rolling out a standard web server configuration for mainstream CMS software like Drupal & WordPress, with the server & storage on EC2 / EBS and the database for those software packages in RDS / MySQL.
Usually we go into production…

rphair
- 173
- 3
- 9
7
votes
2 answers
How to log AWS SES event details
For some reason I'm having trouble connecting the dots on how to do what seems pretty simple.
How do I log all e-mail sent through the AWS Simple Email Service with specific message details?
That log, at the very minimum, needs to contain the IP…

Appleoddity
- 3,488
- 2
- 13
- 33
7
votes
1 answer
AWS: What is the difference between Burst Balance and EBS IO Balance metrics?
AWS Docs describe Burst Balance and EEBS IO Balance in the following way:
BurstBalance The percent of General Purpose SSD (gp2) burst-bucket I/O
credits available.
EBSIOBalance% The percentage of I/O credits remaining in the burst
bucket of your…

Zillo
- 81
- 1
- 4
6
votes
3 answers
AWS S3 bucket size has exploded, but I can't figure out how
Something happened recently with one of our S3 buckets:
I started looking for where all this extra stuff was coming from, but the metrics I gathered don't seem to match what is going on in CloudWatch (or our bill).
The bucket has a handful of…

user31415629
- 311
- 2
- 12
6
votes
2 answers
Load Balancing on Amazon (AWS) and staying up to date
I would like to have a load balancer for my site and have the site up to date.
The load balancer will take the AMI I select and spin up more of those instances when processing power hits a certain level.
The problem is the AMI may not be up to date…

jchysk
- 319
- 1
- 5
- 13
6
votes
1 answer
How to stop Lambda from incurring CloudTrail charges related to CreateLogStream?
I manage an actually not very big website, but Lambda is used extensively, invoked many times per site visit, resulting in hundreds of thousands of calls per month.
I noticed a spike in CloudTrail costs. Digging further I found that the biggest…

Alex R
- 1,063
- 3
- 14
- 29