Setup an everyday alert for your AWS usage bill
Tags: billing, alert, monitoring, cost
Published: 2022-02-07 08:31:54


## DAY 2 - AWS Budgets 
☁️[100 days of Cloud- **Day Two**](https://github.com/anuvindhs/100daysofcloud)
 ✅[Follow Me on Twitter](https://twitter.com/anuvindhs)

[![Cover](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ieryqtom61ptowne2s8f.gif)] (https://ictpro.co.nz) 

[Tweet This Blog](https://link.anuvindh.com/twitter/DAY-2-aws-budgets-tweet.html)  - [Read on GitHub](https://github.com/anuvindhs/100daysofcloud) - [iCTPro.co.nz](https://ictpro.co.nz)

## Goal
Monitor your costs against a specified dollar amount and receive alerts on a daily basis.
Use cases - everyday **report** to **Managers, CFO, Cloud Administrator**

## Prerequisite

AWS Account - User administrative privileges or with minimum access to the Budget (Limited: Read, Write)

You should have a budget setup  on Billing & Cost Management Dashboard.

Also Make sure you create budget alert on **root account** if you are using **ControlTower** 

## Lets Start
For this tutorial i will be creating both budget and Budget reports.

### Step 1
Create a budget 

| Screenshots  |  Steps |
| ------------ | ------------ |
|![Billing Dashboard](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p96m8s2xh8fsza6ccbbo.png)   | - Login to Aws Account and go to **Billing** , **or** click username on the right top area and then click **Billing Dashboard** |
|![budget menu](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jeaw60n2dzh78uqmhpb7.png)|- Now click on to **Budget** and click **Create Budgets**|
|![Costbudget](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/84d9natw665iwehuzfs2.png)|- Select **Cost Budget**|
|![Setting Budget](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ayjyf1wfriglr552850.png)|- Select **Period as Monthly**(there are options available for Daily, Monthly, Annualy </br> - Keep it as **Recurring budget** </br> - Choose how to budget as **Fixed** </br> - Enter your **budgeted amount** |
|![Iname](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m2flv4i3uhfhpce2eo88.png)| -** Name **your Budget and click **Next**|
|![threshold](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/geov0lwejxgqvvcwkmhl.png)|Click on  **add a threshold** ,set **80% **as your threshold also enter the **Email recipients** (alternatively you can add SNS arn if you have one). Click **Next **and **Create Budget** |



### Step 2

Creating a daily budget report

| Screenshots  |  Steps |
| ------------ | ------------ |
|![1](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aceqwbw6se0vsrmbnhze.png)| - Go back to Billing Console and click **Budgets Reports** then click **Create budget report** |
|![2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rll89yv1ceq53emlkdng.png)| - Select the newly created budget keep Delivery settings as Daily. |
|![3](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dpq6ugcjw1m6kxmp0biz.png)|Report frequency as **Daily** , and enter the **email address of recipients**. Finally give a **name** and click **Create budget Report** |

🎉Congratulations🎉 you have successfully created a daily budget alert for you AWS infrastructure.

For more refinement on **delivering** these messages to **Slack** Channel, **Microsoft Teams** Channel or to any company chat channels i have created a sample tutorial [here](https://dev.to/anuvindhs/how-to-send-aws-notifications-aws-sns-to-microsoft-teams-1d1l) or read on [iCTPro.co.nz](https://ictpro.co.nz/how-to-send-aws-notifications-aws-sns-to-microsoft-teams/)

{% user anuvindhs %}