|
1 | 1 | ---
|
2 |
| -title: Prevent unexpected costs and manage billing in Azure |
3 |
| -description: Learn how to avoid unexpected charges on your Azure bill. Use cost-tracking and management features for your Azure account. |
| 2 | +title: Prevent and analyze unexpected charges with Azure Cost Management and Billing |
| 3 | +description: Learn how to avoid unexpected charges on your Azure bill and use cost-tracking and management features for your Azure account. |
4 | 4 | author: bandersmsft
|
5 | 5 | ms.reviewer: amberb
|
6 | 6 | tags: billing
|
7 | 7 | ms.service: cost-management-billing
|
8 | 8 | ms.topic: conceptual
|
9 |
| -ms.date: 3/11/2020 |
| 9 | +ms.date: 3/30/2020 |
10 | 10 | ms.author: banders
|
11 | 11 | ---
|
12 | 12 | # Prevent unexpected charges with Azure billing and cost management
|
@@ -106,11 +106,6 @@ Select **Cost** from the left-hand side. You'll see actionable recommendations i
|
106 | 106 |
|
107 | 107 | Review the [Optimize costs from recommendations](../costs/tutorial-acm-opt-recommendations.md) tutorial for a guided tutorial about cost-saving Advisor recommendations.
|
108 | 108 |
|
109 |
| -## Review charges against your latest invoice |
110 |
| - |
111 |
| -At the end of the billing cycle, your invoice is available. You can [download invoices and detailed usage files](download-azure-invoice-daily-usage-date.md) and compare them to make sure you were charged correctly. For more information about comparing your daily usage with your invoice, see [Understand your bill for Microsoft Azure](../understand/review-individual-bill.md). |
112 |
| - |
113 |
| -If you are using Azure through a Microsoft Customer Agreement (MCA), you can also [compare your invoice with the transactions](../understand/review-customer-agreement-bill.md#review-invoiced-transactions-in-the-azure-portal) to understand the charges on your invoice. |
114 | 109 |
|
115 | 110 | ## Integrate with billing and consumption APIs
|
116 | 111 |
|
@@ -172,9 +167,65 @@ For some services, there are prerequisites for the SLA to apply. For example, vi
|
172 | 167 |
|
173 | 168 | For more information, see [Service Level Agreements](https://azure.microsoft.com/support/legal/sla/) and the [SLA summary for Azure services](https://azure.microsoft.com/support/legal/sla/summary/) documentation.
|
174 | 169 |
|
175 |
| -## Need help? Contact us. |
| 170 | +## Analyze unexpected charges |
| 171 | + |
| 172 | +The cloud resource infrastructure that you've built for your organization is likely complex. Many Azure resource types can have different types of charges. Azure resources might be owned by different teams in your organization and they might have different billing model types that apply to various resources. To gain a better understanding of the charges, begin your analysis using one or more of the strategies in the following sections. |
| 173 | + |
| 174 | +### Review your invoice and identify the resource that is responsible for the charge |
| 175 | + |
| 176 | +How you purchase your Azure services helps you determine the methodology and tools that are available to you as you identify the resource associated with a charge. To determine which methodology applies to you, first [determine your Azure offer type](../costs/understand-cost-mgt-data.md#determine-your-offer-type). Then, identify your customer category in the list of [supported Azure offers](../costs/understand-cost-mgt-data.md#supported-microsoft-azure-offers). |
| 177 | + |
| 178 | +The following articles provide detailed steps that explain how to review your bill based on your customer type. In each article there are instructions about how to download a CSV file containing usage and cost details for a given billing period. |
| 179 | + |
| 180 | +- [Pay-As-You-Go bill review process](../understand/review-individual-bill.md#compare-invoiced-charges-with-usage-file) |
| 181 | +- [Enterprise Agreement bill review process](../understand/review-enterprise-agreement-bill.md) |
| 182 | +- [Microsoft Customer Agreement review process](../understand/review-customer-agreement-bill.md#analyze-your-azure-usage-charges) |
| 183 | +- [Microsoft Partner Agreement review process](../understand/review-partner-agreement-bill.md#analyze-your-azure-usage-charges) |
| 184 | + |
| 185 | +Your Azure bill aggregates charges for the month on a per-_meter_ basis. Meters are used to track a resource's usage over time and are used to calculate your bill. When you create a single Azure resource, like a virtual machine, it has one or more-meter instances are created. |
| 186 | + |
| 187 | +Filter the usage CSV file based on the _MeterName_ as shown on the bill that you want to analyze to see all line items that apply to the meter. The _InstanceID_ for the line item corresponds to the actual Azure resource that generated the charge. |
| 188 | + |
| 189 | +When you've identified the resource in question, you can use Cost analysis in Azure Cost Management to further analyze the costs related to the resource. To learn more about using cost analysis, see [Start analyzing costs](../costs/quick-acm-cost-analysis.md). |
| 190 | + |
| 191 | +### Identify spikes in cost over time |
| 192 | + |
| 193 | +Sometimes you might not know what recent costs resulted in changes to your billed charges. To understand what changed, you can use Cost analysis to [see a daily or monthly breakdown of costs over time](../costs/cost-analysis-common-uses.md#view-costs-per-day-or-by-month). After you create the view, group your charges by either **Service** or **Resource** to identify the changes. You can also change your view to a **Line** chart to better visualize the data. |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | +### Determine resource pricing and understand its billing model |
| 198 | + |
| 199 | +A single resource can accrue charges across multiple Azure products and services. View the [Azure pricing by product](https://azure.microsoft.com/pricing/#product-pricing) page to learn more about the pricing for each Azure service. For example, a single virtual machine (VM) created in Azure can have the following meters created to track its usage. Each might have different pricing. |
| 200 | + |
| 201 | +- Compute Hours |
| 202 | +- IP Address Hours |
| 203 | +- Data Transfer In |
| 204 | +- Data Transfer Out |
| 205 | +- Standard Managed Disk |
| 206 | +- Standard Managed Disk Operations |
| 207 | +- Standard IO-Disk |
| 208 | +- Standard IO-Block Blob Read |
| 209 | +- Standard IO-Block Blob Write |
| 210 | +- Standard IO-Block Blob Delete |
| 211 | + |
| 212 | +When the VM is created, each meter begins emitting usage records. The usage and the meter's price are tracked in the Azure metering system. You can see the meters that were used to calculate your bill in the usage CSV file. |
| 213 | + |
| 214 | +### Find the people responsible for the resource and engage them |
| 215 | + |
| 216 | +Oftentimes, the team responsible for a given resource will know about changes that were made for a resource. Engaging them is useful as you identify why charges might appear. For example, the owning team may have recently created the resource, updated its SKU (thereby changing the resource rate) or increased the load on the resource due to code changes. Continue reading the following sections for more techniques to determine who owns a resource. |
| 217 | + |
| 218 | +#### Analyze the audit logs for the resource |
| 219 | + |
| 220 | +If you have permissions to view a resource, you should be able to access its audit logs. Review the logs to find the user who was responsible for the most recent changes to a resource. To learn more, see [View and retrieve Azure Activity log events](../../azure-monitor/platform/activity-log-view.md). |
| 221 | + |
| 222 | +#### Analyze user permissions to the resource's parent scope |
| 223 | + |
| 224 | +People that have write access to a subscription or resource group typically have information about the resources were created. They should be able to explain the purpose of a resource or point you to the person who knows. To identify the people with permissions for a Subscription scope, see [View role assignments](../../role-based-access-control/check-access.md#view-role-assignments). You can use a similar process for resource groups. |
| 225 | + |
| 226 | +### Get help to identify charges |
176 | 227 |
|
177 |
| -If you have questions or need help, [create a support request](https://go.microsoft.com/fwlink/?linkid=2083458). |
| 228 | +If you've used the preceding strategies and you still don't understand why you received a charge or if you need other help with billing issues, please [create a support request](https://go.microsoft.com/fwlink/?linkid=2083458). |
178 | 229 |
|
179 | 230 | ## Next steps
|
180 | 231 | - Learn about using [spending limits](spending-limit.md) to prevent overspending.
|
|
0 commit comments