Edit

Share via


How am I billed?

This article is the final installment in a series of seven articles that help developers get started with Azure.

When creating applications that use Azure, you need to understand the factors that influence the cost of the solutions you create. You also need to know how to estimate the cost of a solution, how you're billed, and how to monitor the costs incurred in your Azure subscriptions.

What is an Azure Account?

Your Azure account lets you sign in to Azure. You might have an Azure account through the organization you work for or the school you attend. You can also create an individual Azure account for personal use linked to your Microsoft account. If you're looking to learn about and experiment with Azure, create an Azure account for free.

If you're using an Azure account from your workplace or school, your organization's Azure administrators have likely assigned different groups and roles to your account that govern what you can and can't do in Azure. If you can't create a certain type of resource, check with your Azure administrator about the permissions assigned to your account.

What is an Azure subscription?

Billing for Azure resources is done on a per-subscription basis. An Azure subscription defines a set of Azure resources that are invoiced together.

Organizations often create multiple Azure subscriptions for billing and management purposes. For example, an organization might create one subscription for each department so each department pays for its own Azure resources. When creating Azure resources, it's important to pay attention to which subscription you create the resources in because the owner of that subscription pays for those resources.

If you have an individual Azure account tied to your Microsoft account, you can also have multiple subscriptions. For example, a user might have both a Visual Studio Enterprise subscription that provides monthly Azure credits and a Pay-as-you-go subscription which bills to their credit card. In this scenario, make sure to choose the right subscription when creating Azure resources to avoid unexpected bills for Azure services.

What factors influence the cost of a service on Azure?

There are several factors that can influence the cost of a given service in Azure.

  • Compute power - Compute power refers to the amount of CPU and memory assigned to a resource. The more compute power allocated to a resource, the higher the cost is. Many Azure services let you elastically scale, so you can increase compute power when demand is high and reduce it to save money when demand is low.
  • Storage amount - Most storage services are billed based on the amount of data you want to store.
  • Storage hardware - Some storage services provide options for the type of hardware where your data is stored. Depending on the type of data you're storing, you might prefer long-term storage with slower read and write speeds, or you might pay more for low-latency reads and writes for highly transactional operations.
  • Bandwidth - Most services bill ingress and egress separately. Ingress refers to the bandwidth needed for incoming requests, while egress refers to the bandwidth needed for outgoing data to satisfy those requests.
  • Per use - Some services bill based on the number of times the service is used, the number of requests handled, or the number of entities (such as Microsoft Entra user accounts) configured.
  • Per service - Some services simply charge a straight monthly fee.
  • Region - Services sometimes have different prices depending on the region (data center) where they're hosted.

Azure pricing calculator

Most Azure solutions involve multiple Azure services, making it challenging to determine the cost of a solution upfront. For this reason, Azure provides the Azure pricing calculator to help you estimate the cost of a solution.

Where can I find our current spend in Azure?

The Azure portal provides an easy-to-navigate and visual presentation of all the services your organization uses during a particular month. You can view the data by service, resource group, and more.

To access billing information in the Azure portal:

  1. Sign in to the Azure portal.

  2. In the search box at the top of the portal, enter Cost Management + Billing.

  3. Select Cost Management + Billing from the search results.

  4. Review your current spend and other billing information.

    A screenshot of the detailed overview page for an Azure subscription showing the links used for cost analysis, setting up cost alerts, and how to get detailed billing data by Azure resource.

You can also access the Cost Management + Billing overview page directly.

You can also access cost information programmatically to create a customized and accessible view of your cloud spend using the Billing API.

What tools are available to monitor and analyze cloud spend?

Two services are available to set up and manage your cloud costs.

  • The first is cost alerts, which let you set spending thresholds and receive notifications as your bill nears those thresholds.
  • The second is Azure Cost Management, which helps you plan for and control your costs by providing cost analysis, budgets, recommendations, and letting you export cost management data for analysis in Excel or your own custom reporting.

Learn more about cost alerts and Cost Management: