As of December 2011, if you have an AWS premium account you can use CloudWatch to monitor your estimated charges and if they go over a certain limit you can trigger different actions (such as shutting down the machine)
http://blog.bitnami.org/2011/12/monitor-your-estimated-aws-charges-with.html