Exercise - Create your first budget
Now that you've learned how to create a budget, it's time to create your first one on your own. You should have determined your most expensive resource in a previous exercise. If this resource starts accruing more cost, you could see a significantly higher bill at the end of the month. In this exercise, you create a budget to help ensure that costs are monitored. When costs exceed the budget, email alerts are sent to people responsible.
You need your own Azure subscription to run this exercise, and you might incur charges. If you don't already have an Azure subscription, create a free account before you begin.
Access the Azure portal
To start, sign in to the Azure portal using the following step.
- Enter your credentials and sign in to the Azure portal.
Navigate to Budgets
Next, in the Azure portal, we'll go to Budgets.
In the portal search box, enter Subscriptions.
In the list of services, select Subscriptions.
In the list of subscriptions, select the subscription that you analyzed in the previous exercise. The subscription contains your most expensive resource.
In the menu, under Cost Management, select Budgets. The Budgets pane appears.
Configure your budget
Next, create a budget.
From the top menu, select Add, and then, under Budget scoping, select Add filter.
From the Filter dropdown list, select ResourceId.
In the selection dropdown list, select your most expensive resource that you identified in the pervious exercise. A suggested budget appears. The budget is associated with your selection.
Name your budget (for example: MyFirstBudget).
Set the Reset period to Monthly.
Examine the Budget Amount recommendation based on your filter. Then, analyze the View of monthly cost data graph to determine if the threshold meets your needs.
Optionally, change the budget amount to any value that you like.
When you've decided on a budget amount, select Next.
Configure a budget alert threshold
Lastly, configure a budget threshold, and specify an email address for alert notification.
Configure the alert condition for 90% of the budget. Don't specify an action group.
Enter your email address in the Alert recipients (email) section.
Examine the View of monthly cost data graph, and verify that the alert threshold is correct.