# Alarm conditions and shutting things down on #AWS

**URL:** <https://community.cloudbank.org/t/alarm-conditions-and-shutting-things-down-on-aws/57>\
**Category:** AWS\
**Created:** [August 20, 2020, 1:31am UTC](https://community.cloudbank.org/t/alarm-conditions-and-shutting-things-down-on-aws/57 "2020-08-20T01:31:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rob](https://sea2.discourse-cdn.com/flex016/user_avatar/community.cloudbank.org/rob/32/5_2.png) [@rob](https://community.cloudbank.org/u/rob)\
**Post date:** [August 20, 2020, 1:31am UTC](https://community.cloudbank.org/t/alarm-conditions-and-shutting-things-down-on-aws/57/1 "2020-08-20T01:31:55Z")

</div>

How do I set up an alarm that automatically **Stops** all VMs and **locks down** my cloud account and sends my team an email? I have in mind three possible scenarios, in the manner of an IF-statement:

- Our hourly burn exceeds $500

OR

- My cumulative spend exceeds my grant value pro-rated by date w/r/t the period of the grant

OR

- A single VM is costing more than $4 per hour

I’d like the auto-shutdown to be in place so I can debug the issue rather than have the money continue to burn over say a weekend.
