Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I script an alert for when my Amazon Web Service usage goes above a certain amount?

We're using S3, SimpleDB and SQS on quite a complicated project.

I'd like to be able to automatically track their usage, to be sure we don't suddenly spend large amounts of money when we didn't intend to (perhaps because of a bug).

Is there a way of reading the usage figures of all Amazon Web Services and/or the current real time dollar cost of an account from a script?

Or any service or script which provides alerts based on that?

like image 220
frabcus Avatar asked Mar 02 '10 11:03

frabcus


1 Answers

Amazon just announced that you can now "set alarms for any metric that Amazon CloudWatch monitors" (CPU utilization, disk reads and writes, and network traffic, etc). Also, all instances now come with basic monitoring for free.

like image 133
Justin Garrick Avatar answered Sep 22 '22 14:09

Justin Garrick