Ensure that billing alerts are enabled in order to receive notifications when your AWS estimated charges exceed a threshold that you choose so that you can decide whether to stop or reconfigure the AWS resources that have reached the cost limit set. The AWS Billing & Cost Management service provides features that you can use to estimate and plan your AWS costs, receive alerts (when integrated with AWS CloudWatch and SNS) if your costs exceed a threshold that you set and assess your biggest investments in AWS resources and components. Prior to running this rule by the Cloud Conformity engine, the AWS CloudWatch billing alarm name needs to be configured in the rule settings, on your Cloud Conformity account dashboard.
Enabling billing alerts will make it easier to track and manage the spending within your AWS account. Billing alerts can help prevent unexpected spend increases which may be due to unauthorized AWS account or EC2 instance usage, resources which have been provisioned in your account but are no longer in use or due to higher or unexpected traffic load that can increase the number of instances per auto-scaling group.
Audit
To determine if billing alerts are enabled for your AWS account, perform the following actions:
Remediation / Resolution
Step 1: To create a billing alarm using AWS CloudWatch and AWS SNS you need to turn on Receive Billing Alerts feature by performing the following actions:
Note: Enabling AWS Receive Billing Alerts feature via Command Line Interface (CLI) is not currently supported.Step 2: Create an AWS Simple Notification Service (SNS) topic in order to send notifications whenever the CloudWatch billing alarm will fire:
Step 3: Create an Amazon CloudWatch billing alarm that fires when your AWS charges exceed the threshold set:
References
- AWS Documentation
- Create a Billing Alarm to Monitor Your Estimated AWS Charges
- Create a Topic
- Subscribe to a Topic
- Creating Amazon CloudWatch Alarms
- Create a Billing Alarm to Monitor Your Estimated AWS Charges
- AWS Command Line Interface (CLI) Documentation
- cloudwatch
- describe-alarms
- put-metric-alarm
- create-topic
- subscribe
- confirm-subscription