AWS CloudWatch - Signature Expired

I am setting up CloudWatch for multiple EC2 instances using AWS CloudWatch custom metrics .

Everything is going well except that one of my instances is giving me the following error:

ubuntu @ my-host: ~ $ / etc / aws-scripts-mon / mon-put-instance-data.pl --mem-util --disk-space-util - disk-path = / - aws-credential-file = / etc / aws-scripts-mon / awscreds.template

ERROR: Failed to call CloudWatch: HTTP 400. Message: Signature expired: 20150515T204709Z is now earlier than 20150515T204917Z (20150515T205417Z - 5 minutes .)

For more information run command 'mon-put-instance-data.pl -help'

I tried searching the web including this link but no luck. Any ideas?

One hint: I have a cron job calling this same command every 5 minutes. It is also unsuccessful. This could be due to the message bit x - 5 min.

in the above error message.

+3


source to share


1 answer


The system time of the EC2 instance problem is off for a few minutes. See AWS SDK Error - Signature Not Provided Yet



This is most likely the solution!

+9


source







All Articles