Creating an AWS billing alarms
One of the critical tasks you will need to perform as a sysadmin or DevOps engineer is to create a billing alarm so that a team will be notified when a certain billing threshold is reached. This is also useful if you forget to shutdown AWS resources that are not in use. In those cases, a billing alarm will be triggered once the threshold is reached, and it will work like a sanity check so that you can go back to the particular account and see which AWS resource you can shut down/clean up to save costs. Now let's see how you can create a billing alarm, but before that, some pre-requisites need to be met before creating it:
- You must be logged in as a root user or an IAM user who has the permission to view billing information.
- You need to select the
us-east
(N Virginia) region in the AWS console, as billing metric data is stored in this region. - You need to enable Receive Billing Alerts, which will mean you receive an email notification...