How to Create Billing Alarm: A Step-By-Step Guide
Now we can follow below given steps to create a billing alarm using the CloudWatch console :
Step 1: Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/
Step 2: In the navigation pane, choose Alarms, and then choose All alarms.
Step 3: Select Create alarm.
Step 4: Choose Select metric. In Browse option, choose Billing, and then choose Total Estimated Charge.
Step 5: Select the box for the EstimatedCharges metric, and then choose Select metric.
Step 6: Fill the requested details on “Specify metric and conditions” page:
- For Statistic, choose Maximum.
- For Period, choose 6 hours(or choose any specified period as per your use case).
- For Threshold type, choose Static.
- For Whenever EstimatedCharges is . . ., choose Greater.
- For than . . ., define the value that you want to cause your alarm to trigger. For example, 200 USD.
Step 7: Choose Additional Configuration and do the following:
- For Datapoints to alarm, specify 1 out of 1.
- For Missing data treatment, choose Treat missing data as missing.
Step 8: Select Next.
Step 9: Under Notification, ensure that In alarm is selected. Then specify Amazon SNS topic to be notified when your alarm is in the ALARM state. The topic can include the email address so that user receive email when the billing amount crosses the threshold value.
Step 10: Select Next.
Step 11: Under Name and description, enter a name for your alarm.
Step 12: Under Preview and create, make sure that your configuration is correct, and then choose Create alarm.
The above steps will successfully create Billing alarm.
There are few points you need to consider regarding billing alarm:
- If the alarm is created when the prices have already surpassed the threshold, the alarm goes to the ALARM state immediately.
- Before creation of the billing alarm, make sure to set the Region to US East (N. Virginia). Billing metric data gets stored in this Region and represents worldwide charges.
If you don not need the billing alarm, you can delete it. To delete it, you can follow below given procedure:
How to Create AWS Billing Alarm ?
In this article, we will see how to create an billing alarm. We can create alarm to estimate the AWS charges by using Amazon CloudWatch. The AWS account’s estimated costs are computed and provided to CloudWatch as metric data multiple times a day after activating the monitoring of estimated charges.
The alarm gets triggered when the account billing exceeds the threshold value specified during the configuration. Only when the current billing surpasses the threshold does it activate. It doesn’t make use of estimates derived from your consumption for the current month.