Estimated time: 15 minutes
The goal of this task is to explore built-in Azure cost controls. This includes establishing a budget with alerts, viewing the recommendations from the cost advisor and exporting a daily cost summary.
This task does not require any pre-requisite setup.
For this requirement you need to configure a monthly budget with three alerts. Set the budget to $1000, with e-mail alerts at 50%, 80%, and 100% of budget. You will need to set up an action group for the alerts. To set up an action group:
Setting | Value |
---|---|
Name | budget-alerts |
Short name | budalerts |
Resource group | task-billing-rg (new) |
Action | |
Name | |
Type | Email/SMS/Push/Voice |
Settings | <your email address> |
Run the cost advisor and note any recommendations. Click the See list of cost recommendations link to view documentation on common cost reduction actions.
Generate a resource cost report for the last month. Add a scheduled daily export of billing-period-to-date costs. Define a new storage account in a new resource group named task-billing-rg. Once the export is provisioned, execute a run and then verify that a CSV file has been generated.
Optional:
Download the CSV file and open it in Excel, or any other spreadsheet tool.
Delete the task-billing-rg resource group to clean up this task.