How to set an Azure Cloud cost budget

Allie Cliffe
  • Updated

If you're interested in using Terra on Azure, please email terra-enterprise@broadinstitute.org.

Learn how to monitor your organization’s cloud costs in Terra by setting alerts and budgets in the Azure Portal. See also Microsoft Azure’s budget documentation.

To follow the directions below, you must have the following 1. Access in the Azure Portal to the Azure subscription used to create the Terra Environment
2. The resource group name for the Terra Environment you're working with (if you have multiple Terra Environments or use the same subscription for other Azure resources).

Step-by-step instructions to set a budget in Azure

1. Log into https://azure.microsoft.com/en-us/get-started/azure-portal.

2. Select the subscription used to create your Terra Billing Project.

3. On the left-hand panel, under Cost Management, select Budgets.

Set-a-budget-in-ToA_Budget-option-under-cost-management_Screenshot.png

4. Click +Add at the top of the page (to the right of the left-sidebar).

ToA-Create-budget_Add-budget_Screenshot.png

What to expect

This opens a screen where you can set a budget for your Azure subscription as a whole or for specific resources in the subscription.

ToA_Create-budget-in-portal_Scope-and-details-and-amount-form_Screenshot.png

Next steps

Use the Budget scoping section to set a budget for resources and receive alerts to help you monitor costs.

Budget/alerts for the entire cost of my organization’s Terra

1. In the Budget Scoping section, add a filter: Resource Group Name: and select both the mrg- and mrg-AKS resource groups deployed for your Terra Environment.

2. Under Budget Amount, give your budget amount threshold for the time period you are monitoring (monthly, quarterly, annually).

3. Follow the remaining steps in the budget creation to set when and where to receive alerts.

Budget/alerts for direct workflow costs 

Direct workflow costs include batch VM+Disk and load balancers.

1. In the Budget Scoping section, add a filter: Resource Group Name and select only the mrg- resource group deployed for your Terra Environment.

2. Add another filter: Resource Type: and select microsoft.batch/batchaccounts and microsoft.network/loadbalancers.
ToA-Set-budget_select-batch-and-loadbalancer_Screenshot.png

3. Under Budget Amount, give your budget amount threshold for the time period you are monitoring (monthly, quarterly, annually).

4. Follow the remaining steps in the budget creation to set when and where to receive alerts.

Was this article helpful?

1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.