Cost - Do you manage the cost of your Azure resources?

Last updated by Chloe Lin [SSW] 3 months ago.See history

This rule has been archived
Archived Reason: Duplicate of https://www.ssw.com.au/rules/azure-budgets

Managing the monthly spend on cloud resources (e.g. Azure) is hard. It gets harder for the Spend Master (e.g. SysAdmins) when developers add services without sending an email to aid in reconciliation.

Azure has a nice tool for managing its own costs, called the Cost Analysis. You can break down costs per resource group, resource type and many other aspects in Azure.

Note: If your subscription is a Microsoft Sponsored account, you can't use the Cost Analysis tool to break down your costs, unfortunately. Microsoft has this planned for the future, but it's not here yet.

Even with Cost Analysis, Developers with enough permissions (e.g. Contributor permissions to a Resource Group) are able to create resources without the Spend Master knowing, and this will lead to budget and spending problems at the end of the billing cycle.

For everyone to be on the same page, the process a developer should follow is:

  1. Use the Azure calculator - work out the monthly resource $ price
  2. Email the Spend Master with $ and a request to create resources in Azure, like the below:
  1. Add a tag of cost-category to each of your resources. This will allow you to see the daily costs of your Azure resources based on whether they are Core, Value adding or Dev/Test. Then you can quickly turn off resources to save money if you require. It also helps you to see where money is disappearing.

azurecostsbycategory
Figure: Daily costs by category

We open source. Powered by GitHub