Many organizations need to track costs of their Azure resources and ensure they don’t exceed a certain budget. However, as the number of systems and individual resources grows, it may be really difficult to achieve.
Netreo monitors Azure Billing to track utilization and costs per individual resource, systems, departments or customers. Additionally, since costs can be used in alerts and automation rules, Netreo users can get notifications when costs rapidly increase as compared to the previous month or previous day.
In this article we’ll show how to automatically pause a SQL Server Warehouse when its costs exceed 1000$ in the current month:
Netreo obtains information about resources utilization from Azure Management API and calculates costs based on the selected offer and currency.
It’s really important to specify the right offer and currency when configuring Azure Billing resource to guarantee that Netreo cost calculations are correct.
By default, Netreo tracks cost broken down by resources for the current month in a metric called “CurrentMonthBreakdownByResource”. The results are presented as a table containing resource group names and current metric values.
In this example, we want to track costs of an individual resource, i.e. a specific SQL Data Warehouse. To track its costs:
SQL Data Warehouse should be paused when its cost exceeds 1000$ in the current month. It’s a good idea to also verify if the resource is active and running before requesting the pause to avoid unnecessary requests.
To pause SQL Data Warehouse when costs exceed the threshold:
Netreo can also be used to track and control costs per system or customer. Read this article to learn more.