azureblog.co.uk
← AZ-900 study plan
AZ-900 · Describe Azure management and governance

Cost management in Azure

What drives Azure costs, the pricing calculator, Cost Management budgets and analysis, and using tags to organise spend.

  • 10 min
  • 4 concepts
  • Try it yourself
  • 4-question check

Learn

Azure's pay-as-you-go model makes costs flexible, but it also means you need to understand what you're paying for and keep an eye on it.

  1. 1

    Describe factors that can affect costs in Azure

    Cost depends on the resource type and its settings (size, tier), consumption (how long and how much), the region (prices differ by location), bandwidth (data leaving Azure, or crossing regions, is charged; data coming in is mostly free), and purchase options such as reservations, savings plans, spot and Azure Hybrid Benefit.

    Your subscription type and Marketplace purchases also affect what you pay.

    Remember: Ingress is mostly free; egress costs.

  2. 2

    Explore the pricing calculator

    The pricing calculator estimates the cost of Azure services before you deploy them. You pick services, regions, sizes and usage, and it gives a monthly estimate. It's for estimating only; nothing is created.

    Remember: Before you build: pricing calculator.

  3. 3

    Describe cost management capabilities in Azure

    Microsoft Cost Management shows what you've actually spent. Cost analysis breaks costs down by service, resource group, tag or time. Budgets set a spending threshold and send alerts when it's reached. Cost alerts include budget, credit and department spending quota alerts. Azure Advisor also suggests savings.

    Remember: Budgets alert, they don't stop resources on their own.

  4. 4

    Describe the purpose of tags

    Tags are name-value pairs such as CostCentre: Finance or Environment: Prod added to resources and resource groups. They help with cost reporting, automation and operations. Tags aren't inherited by default, but Azure Policy can apply or inherit them.

    Remember: Want costs by department? Tag the resources.

Plan, track, act

  1. EstimatePricing calculator before you build.
  2. TagTag resources by owner, cost centre and environment.
  3. TrackCost analysis shows actual spend.
  4. AlertBudgets warn you at thresholds.
  5. OptimiseAdvisor recommendations, reservations and right-sizing.

Try it

Which tool or concept do you need?

This interactive part needs JavaScript.

In the portal

  • Cost analysisAzure portal: Cost Management > Cost analysis
  • Create a budgetAzure portal: Cost Management > Budgets > Add
  • Add tagsAzure portal: your resource > Tags

Key terms

Click a card to see the definition.

Check your understanding

4 questions. Score 80% or more and these skills are marked as confident in your AZ-900 study plan.

  1. Which tool estimates costs before you deploy?

  2. What happens when a budget threshold is reached?

  3. Which usually incurs a bandwidth charge?

  4. How do you report costs by project?

Sources

Facts in this lesson are from Microsoft Learn. This site isn't affiliated with Microsoft.