In this exercise, you will start by creating a budget for $100 that will notify you whenever you come up on $50 of spend. Next, you will create a report of that budget so that you can receive weekly email alerts that tells you how much spend you’ve incurred on AWS. Finally, you will create a free-tier budget that will notify you when you exceed the free-tier of AWS services for a use case like a personal account or self-study within AWS.
Objectives:
By the end of this exercise, you should be able to do the following:
To create a custom budget, go to the search box type AWS Budgets, and click AWS Budgets that will appear on the search result.
Once you're in the AWS Budgets dashboard. Click Create a budget.
You're now on the Choose budget type page, under Budget setup select Customise (advanced).(Later on in this exercise, you will select the Use a template (simplified). For now, you will learn how to manually create a Cost budget using the Customise (advanced) budget setup.)
Once you select Customise (advanced), the page will change its settings. Under Budget types, select Cost budget (Recommended)(Cost budgets allow you to plan your service costs and are particularly useful if you have a known amount you don't want to exceed. You can set fixed or monthly budgets based on the total cost or by individual or grouped AWS services. You can see the use cases of the other budget types in their descriptions.)
Once you select Cost budget (Recommended), click Next.
On the Set your budget page, enter the needed information:
Budget name:give your budget a name that is relevant to your budget, for example, "Monthly budget"
Period:You can set your period by daily, monthly, quarterly, and annually. For this exercise, you will select Monthly because that is the frequency at which you incur your bill from AWS by default. Therefore, select Monthly on the dropdown.
Budget renewal type: In this exercise, you will choose a Recurring budget to monitor your AWS costs over time
Start month: Select the current month. This means you will start monitoring of your AWS cost from this month.
Budgeting method: In this exercise, you will select Fixed budget to track your single monthly budgeted amount. (You would use the other two options if we want our budget to change month to month)
Enter your budgeted amount ($): Enter 100, as this is your fixed budget in this exercise.
Budget scope: Choose All AWS services (Recommended)
Once all is done on this page, click Next
On the Configure alerts page, you will create an alert. If you'd like to get proactive email alerts whenever you come close to exceeding that budget, set a threshold. In this exercise, set the threshold at 50 percent. (You can see the Summary message after you set the threshold)
The Trigger dropdown lets you decide when you want to get the email alert: Actual means you get notified when you've already spent the threshold amount, whereas Forecasted means you get notified when AWS thinks you might end up spending the threshold amount after setting up a new resource.
After you set the threshold, you will enter the email recipient(this is for you to receive the alert if you exceed the threshold via email). Enter your email.
Once all is done on the Configure alerts page, click Next.
The next page (Attach actions) is optional and will skip it. Click Next.
On the Review page, click Create budget.
Now you have successfully created your first budget, you can explore this by checking the check box before the name of your budget. You can see on the right side the graphical overview and a visual representation of your budget and the threshold that you set up.
Task 2: Create a budget report
IMPORTANT: AWS charges you $0.01 for every budget report it sends you, even if you're on a Free Tier account. If you do not want to be charged at all by AWS, please feel free to skip this task. Even if you don't have a budget report, AWS will still notify you (for free) when you're hitting your budget thresholds. If you do want to create a budget report, we'd recommend having one on a weekly/monthly basis rather than daily to avoid high fees.
In this task, you will set up a budget report. The budget report will allow you to be sent weekly, daily, or monthly emails about your budget rather than only being notified whenever you exceed your threshold. This is good for customers who would like to proactively monitor and be proactively notified of their weekly, daily, or monthly AWS spend.
To set up a budget report, select (check the box) the budget that you created on Task 1, click Actions, andclick Create budget report.
On the Create budget report page, enter the needed information:
Budget report name: give a name, for example, "Weekly budget report"
Select budgets: You already selected your budget here therefore no further actions are needed.
Delivery settings: In these settings, you will select Weekly every Sunday of the week.
Email recipients: Type your email address so that you will receive your weekly budget report via email.
Once all is done, click Create budget report.
Task 3: Create a free-tier budget
In this task, you will create your final budget which is the zero-spend budget or free-tier budget.
To set up a free-tier budget, return to the budges overview page click Create budget.
Under Budget setup, choose Use a template (simplified)
Under Templates - new, choose Zero spend budget. The zero spend budget will notify you if you exceed the free-tier of your AWS account. This is great for individual learners or people who don't want to incur any charges on AWS because this will notify you when you exceed your free-tier limits and are about to incur your first U.S. dollar of AWS charges.
Enter the needed information:
Budget name: give a name, for example, Free-tier budget
Email recipients: your email address that you want to receive your free-tier alert budget.
Once all is done, click Create budget.
Here's what you'd see if you've gone over your budget:
AWS will even send you an email!
Congratulations! You were able to successfully do the following: