Is there any way in AWS to tun off instance if bill increases certain amount

0

I know there is a option if CPU increases certain load then Ec2 instance can be terminated.

But i want to free my mind that if due to any reason my bill increases some amount say 100$ then my Ec2 instance should turned off.

If happend with me, i was lucky to get email but i checked email after 15 hrs and i got 200$ bill due to some ddos attack on server.

user1721949

Posted 2013-11-28T04:33:53.983

Reputation: 429

Contact amazon support on how to do this – Ramhound – 2013-11-28T05:25:54.437

You can set up alerts to warn you if your AWS bill exceeds specific amounts. Amazon published this to describe how to do it in the console: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/monitor_estimated_charges_with_cloudwatch.html I published the following with command line instructions: http://alestic.com/2013/01/aws-billing-alerts You could have the alert be sent to the instance triggering a shutdown.

– Eric Hammond – 2013-11-28T07:13:38.610

Answers

0

pulsarjune

Posted 2013-11-28T04:33:53.983

Reputation: 1 242