Skip to content

Commit 0297e28

Browse files
authored
Merge pull request #178585 from Heidilohr/work-tagging-avd
New doc for tagging resources in Azure Virtual Desktop
2 parents a52103f + 2632085 commit 0297e28

File tree

5 files changed

+126
-3
lines changed

5 files changed

+126
-3
lines changed

articles/virtual-desktop/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@
236236
href: azure-stack-hci-overview.md
237237
- name: Azure Stack HCI FAQ (preview)
238238
href: azure-stack-hci-faq.yml
239+
- name: Tag Azure Virtual Desktop resources
240+
href: tag-virtual-desktop-resources.md
239241
- name: Troubleshoot
240242
items:
241243
- name: Troubleshooting overview, feedback, and support

articles/virtual-desktop/remote-app-streaming/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
href: total-costs.md
3737
- name: Estimate per-user app streaming costs
3838
href: streaming-costs.md
39+
- name: Tag Azure Virtual Desktop resources
40+
href: ../tag-virtual-desktop-resources.md?toc=/azure/virtual-desktop/remote-app-streaming/toc.json&bc=/azure/virtual-desktop/breadcrumb/toc.json
3941
- name: Deploy apps with Microsoft Intune
4042
href: /mem/intune/apps/apps-windows-10-app-deploy?toc=/azure/virtual-desktop/remote-app-streaming/toc.json&bc=/azure/virtual-desktop/breadcrumb/toc.json
4143
- name: Serve Intune managed endpoint clients

articles/virtual-desktop/remote-app-streaming/overview.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: What is Azure Virtual Desktop remote app streaming? - Azure
33
description: An overview of Azure Virtual Desktop remote app streaming.
44
author: Heidilohr
55
ms.topic: overview
6-
ms.date: 08/06/2021
6+
ms.date: 11/12/2021
77
ms.author: helohr
88
manager: femila
99
---
@@ -63,6 +63,7 @@ Once you've set up Azure Virtual Desktop, you have lots of options to customize
6363
- [Scale session hosts using Azure Automation](../set-up-scaling-script.md?toc=/azure/virtual-desktop/remote-app-streaming/toc.json&bc=/azure/virtual-desktop/breadcrumb/toc.json)
6464
- [Set up Universal Print](/universal-print/fundamentals/universal-print-getting-started)
6565
- [Set up the Start VM on Connect feature](../start-virtual-machine-connect.md?toc=/azure/virtual-desktop/remote-app-streaming/toc.json&bc=/azure/virtual-desktop/breadcrumb/toc.json)
66+
- [Tag Azure Virtual Desktop resources to manage costs](../tag-virtual-desktop-resources.md?toc=/azure/virtual-desktop/remote-app-streaming/toc.json&bc=/azure/virtual-desktop/breadcrumb/toc.json)
6667

6768
## Get to know your Azure Virtual Desktop deployment
6869

articles/virtual-desktop/remote-app-streaming/total-costs.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: Heidilohr
66

77
ms.service: virtual-desktop
88
ms.topic: how-to
9-
ms.date: 07/14/2021
9+
ms.date: 11/12/2021
1010
ms.author: helohr
1111
manager: femila
1212
---
@@ -108,4 +108,5 @@ User access costs will appear each billing cycle on the Azure billing invoice fo
108108
If you'd like to get a clearer idea of how much specific parts of your deployment will cost, take a look at these articles:
109109

110110
- [Understanding licensing and per-user access pricing](licensing.md)
111-
- [Estimate per-user app streaming costs for Azure Virtual Desktop](streaming-costs.md)
111+
- [Estimate per-user app streaming costs for Azure Virtual Desktop](streaming-costs.md)
112+
- [Tag Azure Virtual Desktop resources to manage costs](../tag-virtual-desktop-resources.md?toc=/azure/virtual-desktop/remote-app-streaming/toc.json&bc=/azure/virtual-desktop/breadcrumb/toc.json)
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
---
2+
title: Tag Azure Virtual Desktop resources - Azure
3+
description: What tagging is, and how you can use it to manage Azure service costs in Azure Virtual Desktop.
4+
author: heidilohr
5+
6+
ms.topic: conceptual
7+
ms.date: 11/12/2021
8+
ms.author: helohr
9+
manager: femila
10+
---
11+
12+
# Tag Azure Virtual Desktop resources to manage costs
13+
14+
Tagging is a tool available across Azure services that helps you organize resources inside their Azure subscription. Organizing resources makes it easier to track costs across multiple services. Tags also help you understand how much each grouping of Azure resources costs per billing cycle. If you'd like to learn more about tagging in general, see [Use tags to organize your Azure resources and management hierarchy](../azure-resource-manager/management/tag-resources.md). You can also watch a [quick video](https://www.youtube.com/watch?v=dUft4FZ40O8) about some other ways to use Azure tags.
15+
16+
## How tagging works
17+
18+
You can tag Azure services you manage in the Azure portal or through PowerShell. The tags will appear as key-value pairs of text. As you use tagged Azure resources, the associated tag key-value pair will be attached to the resource usage.
19+
20+
Once your deployment reports tagged usage information to [Azure Cost Management](../cost-management-billing/cost-management-billing-overview.md), you can use your tagging structure to filter cost data. To learn how to filter by tags in Azure Cost Management, see [Quickstart: Explore and analyze costs with cost analysis](../cost-management-billing/costs/quick-acm-cost-analysis.md).
21+
22+
### Add, edit, or delete tags
23+
24+
When you apply a new tag to a resource, it won't be visible in Azure Cost Management until its associated Azure resource reports activity. If you apply an existing tag to your resources, this change also won't be visible in Azure Cost Management until the Azure resources report activity.
25+
26+
If you edit a tag name, the associated resources will now associate costs with its new key-value pair. You can still filter data with the old tag, but all new data from after the change will be reported with the new tag.
27+
28+
If you delete a tag, Azure Virtual Desktop will no longer report data associated with the deleted tag to Azure Cost Management. You can still filter with deleted tags for data reported before you deleted the tag.
29+
30+
>[!IMPORTANT]
31+
>Tagged Azure resources that haven't been active since you applied new or updated tags to them won't report any activity associated with the changed tags to Azure Cost Management. You won't be able to filter for specific tags until their associated activity is reported to Azure Cost Management by the service.
32+
33+
### View all existing tags
34+
35+
You can view all existing tags for your Azure services by going to the Azure portal, then opening [the **Tags** tab](https://ms.portal.azure.com/#blade/HubsExtension/TagsBlade). The Tags tab will show you all tags in objects you have access to. You can also sort tags by their keys or values whenever you need to quickly update a large number of tags at the same time.
36+
37+
### What tags can and can't do
38+
39+
Tags only report usage and cost data for Azure resources they're directly assigned to. If you've tagged a resource without tagging the other resources in it, then Azure Virtual Desktop will only report activity related to the top-level tagged resource. You'll also need to tag every resource under that top-level resource if you want your billing data to be accurate.
40+
41+
To learn more about how tags work in Azure Cost Management, see [How tags are used in cost and usage data](../cost-management-billing/costs/understand-cost-mgt-data.md#how-tags-are-used-in-cost-and-usage-data).
42+
43+
For a list of known Azure tag limitations, see [Use tags to organize your Azure resources and management hierarchy](../azure-resource-manager/management/tag-resources.md#limitations).
44+
45+
## Using tags in Azure Virtual Desktop
46+
47+
Now that you understand the basics of Azure tags, let’s go over how you can use them in Azure Virtual Desktop.
48+
49+
You can use Azure tags to organize costs for creating, managing, and deploying virtualized experiences for your customers and users. Tagging can also help you track resources you buy directly through Azure Virtual Desktop and other Azure services connected to Azure Virtual Desktop deployments.
50+
51+
## Suggested tags for Azure Virtual Desktop
52+
53+
Because Azure Virtual Desktop can work with other Azure services to support its deployments, there isn't a universal system for tagging deployment resources. What's most important is that you develop a strategy that works for you and your organization. However, we do have some suggestions that might help you, especially if you're new to using Azure.
54+
55+
The following suggestions apply to all Azure Virtual Desktop deployments:
56+
57+
- Become familiar with your purchased Azure services so you understand the extent of what you want to tag. As you learn how to use the Azure portal, keep a list of service groups and objects where you can apply tags. Some resources that you should keep track of include resource groups, virtual machines, disks, and network interface cards (NICs). For a more comprehensive list of cost generating service components you can tag, see [Understanding total Azure Virtual Desktop deployment costs](./remote-app-streaming/total-costs.md).
58+
59+
- Create a cost reporting aggregation to organize your tags. You can either [follow a common tagging pattern](/azure/cloud-adoption-framework/ready/azure-best-practices/resource-tagging.md) or create a new pattern that meets your organization’s needs.
60+
61+
- Keep your tags consistent wherever you apply them. Even the smallest typo can impact data reporting, so make sure you're adding the exact key-value pair you want to look up later.
62+
63+
- Keep a record of any tags you update or edit. This record will let you combine each tag's historic data as needed. When you edit or update a tag, you should also apply those changes across all resources that include the changed tag.
64+
65+
## Suggested tags for Azure Virtual Desktop host pools
66+
67+
Every virtual machine in an Azure Virtual Desktop host pool creates a cost-producing construct. Because host pools are the foundation of an Azure Virtual Desktop deployment, their VMs are typically the main source of costs for Azure Virtual Desktop deployments. If you want to set up a tagging system, we recommend that you start with tagging all the host pools in your deployment to track VM compute costs. Tagging your host pools can help you use filtering in Azure Cost Management to identify these VM costs.
68+
69+
Like with the [general suggestions](#suggested-tags-for-azure-virtual-desktop), there's no universal system for tagging host pools. However, we do have a few suggestions to help you organize your host pool tags:
70+
71+
- Tagging host pools while you're creating them is optional, but tagging during the creation process will make it easier for you to view all tagged usage in Azure Cost Management later. Your host pool tags will follow all cost-generating components of the session hosts within your host pool. Learn more about session host-specific costs at [Understanding total Azure Virtual Desktop deployment costs](./remote-app-streaming/total-costs.md).
72+
73+
- If you use the Azure portal to create a new host pool, the creation workflow will give you the chance to add existing tags. These tags will be passed along to all resources you create during the host pool creation process. Tags will also be applied to any session hosts you add to an existing host pool in the Azure portal. However, you'll need to enter the tags manually every time you add a new session host.
74+
75+
- It's unlikely you'll ever get a complete cost report of every supporting Azure service working with your host pools, since configuration options are both limitless and unique to each customer. It's up to you to decide how closely you want to track costs across any Azure services associated with your Azure Virtual Desktop deployment. The more thoroughly you track these costs by tagging, the more accurate your monthly Azure Virtual Desktop cost report will become.
76+
77+
- If you build your tagging system around your host pools, make sure to use key-value pairs that make sense to add to other Azure services later.
78+
79+
## Suggested tags for other Azure Virtual Desktop resources
80+
81+
Most Azure Virtual Desktop customers deploy other Azure services to support their deployments. If you want to include the cost of these extra services in your cost report, you should consider the following suggestions:
82+
83+
- If you've already purchased an Azure service or resources that you want to integrate into your Azure Virtual Desktop deployments, you have two options:
84+
85+
- Separate your purchased Azure services between different Azure subscriptions.
86+
- Combine all purchased Azure services in the same subscription with your Azure Virtual Desktop tags.
87+
88+
Separating your services will give you a clearer idea of costs for each service, but may end up being more expensive in the end. You may need to purchase extra storage for these services to make sure your Azure Virtual Desktop has its own designated storage.
89+
90+
Combining your purchased services is less expensive, but may inflate your cost report because the usage data for shared resources won't be as accurate. To make up for the lack of accuracy, you can add multiple tags to your resources to see shared costs through filters that track different factors.
91+
92+
- If you started building your tagging system with a different Azure service, make sure the key-value pairs you create can be applied to your Azure Virtual Desktop deployment or other services later.
93+
94+
## Next steps
95+
96+
If you’d like to learn more about common Azure Virtual Desktop related costs, check out [Understanding total Azure Virtual Desktop deployment costs](./remote-app-streaming/total-costs.md).
97+
98+
If you’d like to learn more about Azure tags, check out the following resources:
99+
100+
- [Use tags to organize your Azure resources and management hierarchy](../azure-resource-manager/management/tag-resources.md)
101+
102+
- [A video explaining the value of using Azure tags](https://www.youtube.com/watch?v=dUft4FZ40O8)
103+
104+
- [How tags are used in cost and usage data](../cost-management-billing/costs/understand-cost-mgt-data.md#how-tags-are-used-in-cost-and-usage-data)
105+
106+
- [Develop your naming and tagging strategy for Azure resources](/azure/cloud-adoption-framework/ready/azure-best-practices/naming-and-tagging)
107+
108+
- [Define your tagging strategy](/azure/cloud-adoption-framework/ready/azure-best-practices/resource-tagging)
109+
110+
- [Resource naming and tagging decision guide](/azure/cloud-adoption-framework/decision-guides/resource-tagging)
111+
112+
If you’d like to learn more about Azure Cost Management, check out the following
113+
articles:
114+
115+
- [What is Azure Cost Management + Billing?](../cost-management-billing/cost-management-billing-overview.md)
116+
117+
- [Quickstart: Explore and analyze costs with cost analysis](../cost-management-billing/costs/quick-acm-cost-analysis.md)

0 commit comments

Comments
 (0)