Let's do a quick recap of this week's posts. Monday I posted a guide on how to get alerts when your AWS bill exceeds a specific amount. On Tuesday I shared steps on setting up alerts for when your AWS cost varies from the expected amounts. Today we'll be going over how to setup monitoring to alert you if AWS bill is expected to go above a specified threshold.

Money falling around a yellow warning sign with a dollar sign on it

All 3 of these guides do similar things, they're designed to keep your AWS bill in check. The difference is some of them will give you more warning than others and provide different information for you to act upon. Down the line you might fine one or more of these tools to be ineffective, but when starting out in the cloud it's definitely better to have more eyes on your billing than not enough.

This guide is divided into 2 parts:

  • Enabling the billing alerts for your AWS account
  • Creating the monitor

(NOTE: Amazon does provide a very concise guide for this if you don't need pictures.)


Enabling Billing Alerts

  1. Login to the AWS Console and search for Billing and Cost Management then navigate to it. Search example
  2. Click on Billing preferences in the lefthand menu. Billing preferences in the menu
  3. Find Alert preferences and click the Edit button. Edit alert preferences
  4. Check the box next to Receive CloudWatch Billing Alerts and click the Update button. Enable CloudWatch Billing Alerts

Once the CloudWatch Billing Alerts are enabled for your account you can now create actual alerts.


Create a Billing Alert in CloudWatch

  1. Login to the AWS Console and search for CloudWatch then navigate to it. CloudWatch
  2. Change your region to US-East-1 (N. Virginia) since this is the main region for all billing related monitoring. Change region
  3. Navigate to All alarms in the lefthand menu. All alarms
  4. Click the Create alarm button. Create alarm
  5. Click the Select metric button. Select metric
  6. Make sure the N. Virginia region is selected and click Billing. Metrics
  7. Select Total Estimated Charge. Total Estimated Charge
  8. Check the box next to the new metric and click the Select metric button. Select metric
  9. For the metric and conditions you can leave everything default except for the value in the Conditions box, set this to the cost you want to trigger the alert then click the Next button. Metrics and conditions
  10. Select Create new topic if you don't already have one and enter a name and e-mail address (comma separated), then click the Create topic button, then click the Next button. Create new topic
  11. Enter a name for the alarm (and an optional description if you'd like) then click the Next button. Name and description
  12. Review your alarm and then click the Create alarm button. Create alarm

And there you have it, an alarm setup in CloudWatch for potential AWS bills exceeding a specific amount. The beauty is that now you've walked through this process you can setup other alarms to monitor so many other things! But what does this cost you might be asking? NOTHING! ZERO DOLLARS! AWS has a free tier that includes CloudWatch which is 100% free with the following limits:

  • 10 Custom Metrics and 10 Alarms
  • 1,000,000 API Requests
  • 5GB of Log Data Ingestion and 5GB of Log Data Archive
  • 3 Dashboards with up to 50 Metrics Each per Month

While those numbers might be small for a company that monitors thousands of services, it's a lot for personal usage and should easily cover all of your needs for monitoring billing and a few services.

This wraps up my posts focused on keeping your AWS billing in check, but I plan to have many more AWS (and other cloud) related posts coming soon including guides and reviews for specific services! Stay tuned and happy Clouding!

Go out and do good things!
-KuJoe