Use this template to set up billing alarms in your AWS account. You will receive billing alarms to your email and your phone number.
Important: Can only be deployed in eu-east-1
, since SMS endpoint subscription is only supported in this region.
- Change email to your email
- Change phone number to your phone number
- Under
Mappings
set appropriate values for thresholds - Upload your file and create your stack
aws cloudformation deploy --template template.yaml --stack-name billing-alerts --capabilities CAPABILITY_IAM --region us-east-1 --parameter-overrides Email=YOUR_EMAIL Phone=YOUR_PHONE_NUMBER
- Once the stack is created, go to your email account and verify your email address (you should get an email from SNS)
- Test if everything works correctly, go to SNS and publish a message to your Topic
- Under Billing > Billing preferences > Activate Receive Billing Alerts feature
You should now receive automated billing alarms to your inbox and your phone.
Have fun!