Skip to content

Commit a9a1fc1

Browse files
committed
Acrolinx sugggestions
1 parent 3a73a09 commit a9a1fc1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: View the monthly estimated lab cost trend
3-
description: This article provides information on how to track the cost of your lab through Azure Cost Management
3+
description: This article provides information on how to track the cost of your lab through Azure Cost Management.
44
ms.topic: how-to
55
ms.author: rosemalcolm
66
author: RoseHJM
@@ -9,26 +9,26 @@ ms.custom: UpdateFrequency2
99
---
1010

1111
# Track costs associated with a lab in Azure DevTest Labs
12-
This article provides information on how to track the cost of your lab through [Azure Cost Management](../cost-management-billing/cost-management-billing-overview) by applying tags to the DevTest Lab to filter costs. DevTest Labs may create additional resource groups for resources related to the lab (depending on the features used and the settings of the lab). For this reason, it’s often not straightforward to get a view of the total costs for a lab just by looking at Resource Groups. To create a single view of costs per lab, tags are used.
12+
This article provides information on how to track the cost of your lab through [Azure Cost Management](../cost-management-billing/cost-management-billing-overview) by applying tags to the DevTest Lab to filter costs. DevTest Labs may create more resource groups for resources related to the lab (depending on the features used and the settings of the lab). For this reason, it’s often not straightforward to get a view of the total costs for a lab just by looking at Resource Groups. To create a single view of costs per lab, tags are used.
1313

1414
## Steps to Leverage Cost Management for DevTest Labs
1515

16-
These are the steps needed to leverage cost management for DevTest Labs, more details are captured below.
16+
These are the steps needed to use cost management for DevTest Labs. More details are captured in the following sections.
1717
1. Enable tag inheritance for costs
18-
1. Apply tags to the DevTest Labs (cost center, business unit, etc)
18+
1. Apply tags to the DevTest Labs (cost center, business unit, etc.)
1919
1. Provide permissions to allow users to view costs
2020
1. Use Azure Cost Management for viewing/filtering costs for DevTest Labs, based on the tags
2121

2222
## Step 1: Enable Tag Inheritance for Tags on Resource Groups
2323

24-
When DevTest Labs creates [environments](devtest-lab-create-environment-from-arm.md), these are each placed in their own resource group. To ensure that the DevTest Lab tags flow down (for billing purposes) from the resource group to the resources, it’s required to enable tag inheritance.
24+
When DevTest Labs creates [environments](devtest-lab-create-environment-from-arm.md), these are each placed in their own resource group. To ensure that the DevTest Lab tags flow down (for billing purposes) from the resource group to the resources, tag inheritance must be enabled.
2525

2626
This can be done either with billing properties OR via Azure Policies. The first method (billing properties) is the easiest & fastest if it doesn’t affect billing reporting for other resources in the same subscription.
2727

2828
- [Group and allocate costs using tag inheritance](../cost-management-billing/costs/enable-tag-inheritance)
29-
- [Use the Inherit a tag from the resource group Azure Policy](../azure-resource-manager/management/tag-policies)
29+
- [Use the "Inherit a tag from the resource group" Azure Policy](../azure-resource-manager/management/tag-policies)
3030

31-
If updated correctly using the first method above, you will see that Tag Inheritance now shows **Enabled**:
31+
If updated correctly using the first method, you see that Tag Inheritance now shows **Enabled**:
3232

3333
![Screenshot that shows Tag Inheritance is enabled.](media/devtest-lab-configure-cost-management/tag-inheritance.png)
3434

@@ -38,29 +38,29 @@ DevTest Labs automatically propagates tags applied at the lab level to the resou
3838

3939
![Screenshot that shows tags in DevTest Labs in the Azure portal.](media/devtest-lab-configure-cost-management/devtest-tags.png)
4040

41-
It’s important to remember that tags are propagated for any resources created _after_ the tag has been applied to the DevTest Lab. If there are _existing resources_ that must be updated with the new tags, there is a script available to propagate the new/updated tags correctly. If you have existing resources and want to apply the lab tags, please use the [Update-DevTestLabsTags script located in the DevTest Labs GitHub Repo](https://github.com/Azure/azure-devtestlab/tree/phauge/update-dtl-tags/samples/DevTestLabs/Scripts/UpdateDtlTags).
41+
It’s important to remember that tags are propagated for any resources created _after_ the tag has been applied to the DevTest Lab. If there are _existing resources_ that must be updated with the new tags, there's a script available to propagate the new/updated tags correctly. If you have existing resources and want to apply the lab tags, use the [Update-DevTestLabsTags script located in the DevTest Labs GitHub Repo](https://github.com/Azure/azure-devtestlab/tree/phauge/update-dtl-tags/samples/DevTestLabs/Scripts/UpdateDtlTags).
4242

4343
## Step 3: Provide permissions to allow users to view costs
4444

45-
DevTest Labs users don’t automatically have permission to view costs for their resources via Cost Management. There is an additional step to [enable users to view billing information](../cost-management-billing/costs/assign-access-acm-data#assign-billing-account-scope-access), which is to assign the _Billing Reader_ permission to users at the subscription level (if they don’t already have permissions that include Billing Reader access). More information is found here on managing access to billing information: [Manage access to Azure billing - Microsoft Cost Management](../cost-management-billing/manage/manage-billing-access)
45+
DevTest Labs users don’t automatically have permission to view costs for their resources via Cost Management. There's one more step to [enable users to view billing information](../cost-management-billing/costs/assign-access-acm-data#assign-billing-account-scope-access). Assign the _Billing Reader_ permission to users at the subscription level, if they don’t already have permissions that include Billing Reader access. More information is found here on managing access to billing information: [Manage access to Azure billing - Microsoft Cost Management](../cost-management-billing/manage/manage-billing-access)
4646

4747
## Step 4: Use Azure Cost Management for viewing/filtering costs for DevTest Labs
4848

49-
Now that DevTest Labs has been configured to provide the lab-specific information for Cost Management, please start here on Cost Management Reporting to view costs: Get started with [Cost Management reporting - Azure - Microsoft Cost Management](../cost-management-billing/costs/reporting-get-started). You can visualize the costs in the Azure Portal, download cost reporting information, or use PowerBI to visualize the costs.
49+
Now that DevTest Labs is configured to provide the lab-specific information for Cost Management, start here on Cost Management Reporting to view costs: Get started with [Cost Management reporting - Azure - Microsoft Cost Management](../cost-management-billing/costs/reporting-get-started). You can visualize the costs in the Azure Portal, download cost reporting information, or use PowerBI to visualize the costs.
5050

51-
For a quick view of costs per lab, please follow the following steps:
51+
For a quick view of costs per lab, see the following steps:
5252

5353
1. Select **Cost Management** and then on **Cost analysis**
5454
1. Select **Daily Costs**
5555
![Screenshot that shows the daily costs card](media/devtest-lab-configure-cost-management/devtest-tags.png)
56-
1. On the **Custom: Cost Analysis** page, select the **Group By** filter, choose **Tag** and then the Tag Name (like CostCenter) to group by
56+
1. On the **Custom: Cost Analysis** page, select the **Group By** filter, choose **Tag** and then the Tag Name (like "CostCenter") to group by
5757
![Screenshot that shows searching for tag in the group by filter](media/devtest-lab-configure-cost-management/tag.png)
5858

59-
The resulting view will show costs in the subscription grouped by the tag (which is grouping by the lab & it’s resources).
59+
The resulting view shows costs in the subscription grouped by the tag (which is grouping by the lab & its resources).
6060

6161
## Related content
6262

63-
- [Define lab policies](devtest-lab-set-lab-policy.md). Learn how to set the various policies used to govern how your lab and its VMs are used.
63+
- [Define lab policies](devtest-lab-set-lab-policy.md). Learn how to set the various policies used to govern how your lab and its virtual machines (VMs) are used.
6464
- [Create custom image](devtest-lab-create-template.md). When you create a VM, you specify a base. The base can be either a custom image or a Marketplace image. This article describes how to create a custom image from a VHD file.
6565
- [Configure Marketplace images](devtest-lab-configure-marketplace-images.md). DevTest Labs supports creating VMs based on Azure Marketplace images. This article illustrates how to specify Azure Marketplace images you can use when creating VMs in a lab.
6666
- [Create a VM in a lab](devtest-lab-add-vm.md). This article illustrates how to create a VM from a custom or Marketplace base image, and work with artifacts in the VM.

0 commit comments

Comments
 (0)