Azure Virtual Desktop deployment overview
Before we walk through the deployment process, let's review some key terms and deployment options.
Key terms
The key components you deploy when you set up Azure Virtual Desktop are a host pool, application group, and workspace. The following video describes these components.
Host pool
A host pool is a collection of identical Azure virtual machines (VMs) that act as session hosts for Azure Virtual Desktop, letting your users access desktops or remote applications. There are two types of host pools:
- Pooled - A pooled host pool lets several users sign in and share a VM. This option is generally more efficient and less expensive, because several users share virtual machine resources. The pooled option provides a consistent experience for users who don't need to install apps or configure their virtual machines. Typically, none of those users would be a local administrator on the pooled VM. With pooled host pools, you can use one of the recommended images that include Windows 10 Enterprise multi-session. This OS is exclusive to Azure Virtual Desktop.
- Personal - A personal host pool is where each user has their own dedicated VM. Those users would typically be a local administrator for the VM. So they could install or uninstall apps without impacting other users.
There are two load-balancing options for the host pool:
- Breadth-first - This option is the default configuration for new non-persistent host pools. Breadth-first load balancing distributes new user sessions across all available session hosts in the host pool. When you configure breadth-first load balancing, you may set a maximum session limit per session host in the host pool.
- Depth-first - Distributes new user sessions to an available session host with the highest number of connections but has not reached its maximum session limit threshold. When you configure depth-first load balancing, you must set a maximum session limit per session host in the host pool.
Application group
An application group is a way to group remote resources and assign them to users. An application group can be one of two types:
- RemoteApp, where users access the applications you individually publish to the application group. You can create multiple RemoteApp app groups to accommodate different user scenarios. Use RemoteApp to virtualize an app that runs on a legacy OS or one that needs secured access to corporate resources.
- Remote Desktop, where users access the full desktop. By default, the group Desktop Application Group is automatically created when you create a host pool.
Workspace
A workspace is a logical grouping of application groups in Azure Virtual Desktop. When a user signs in to Azure Virtual Desktop, they see a workspace with a desktop or applications published to the application groups assigned to them.
The following diagram shows an Azure Virtual Desktop workspace with two host pools. Host pool A has two application groups: Desktop and RemoteApp. These resources are shared (pooled) across the sales team. Host pool B has a Desktop application group with personal desktops available to an engineering team.
Configure virtual machines for host pool
When you create an Azure Virtual Desktop host pool, you can choose to create new VMs or register existing VMs to a host pool.
Number of VMs
The setup process can create up to 400 VMs while setting up your host pool. And each deployment creates four objects per VM, which you can see in your resource group, along with Azure Resource Manager objects. As a result, you can reach the 800 Azure resources per deployment limit very quickly. Since the creation process doesn't check your subscription quota, make sure the number of VMs you enter is within the Azure VM and API limits for your resource group and subscription. You can add more VMs to the host pool after you finish creating your host pool. Check the Azure VM and API limits for your resource group and subscription.
VM sizing
For single-session scenarios, we recommend at least two physical CPU cores per VM. But check with your software vendor for sizing recommendations specific to your workload. VM sizing for single-session VMs likely align with physical device guidelines.
For multi-session VM sizing recommendations, see Virtual machine sizing guidelines.
Image types
You choose the image type Azure uses to create the virtual machine, either Gallery or Storage blob.
Gallery - With this image type, you can select one of the recommended images from the drop-down menu like Windows 10 Enterprise multi-session + Office 365. If you don't see the image you want, select See all images. This lets you select an image in your gallery or another image provided by Microsoft and other publishers.
Storage blob - Allows you to use your own image built through Hyper-V or on an Azure VM. You might use this option when you have an image you're using on-premises and just want to upload it and start using it in Azure immediately. When you select this option, there are some additional fields you need to complete.
- Image URI - Enter the URL to the generalized VHD from your Azure Storage account.
- Storage account - You select the Azure storage account that contains your image.
Anteckning
When using your own custom images, we recommend you create a managed image of a generalized VM in Azure and store images in an Azure Compute Gallery.
Select virtual network
We discussed the virtual network requirements in the module Prepare for Azure Virtual Desktop in Microsoft Azure. The virtual network you specify for the host pool provisioning process must be connected to your domain and allow outbound access to the URLs that support Azure Virtual Desktop. You'll need to join the virtual machines inside the virtual network to the domain.
If you're using Microsoft Entra Domain Services, we recommend that a Microsoft Entra Domain Services-managed domain is deployed into its own dedicated subnet. Don't deploy your VM in the same subnet as your Microsoft Entra Domain Services-managed domain. To deploy your VM and connect to an appropriate virtual network subnet, we recommend one of the following options:
- Create or select an existing, subnet in the same virtual network as your Microsoft Entra Domain Services-managed domain is deployed.
- Select a subnet in an Azure virtual network that is connected to it using Azure virtual network peering.
Domain join VMs
To domain join the VMs you create, you need to specify the full Active Directory domain name to join like contoso.com. If you've set up a test environment with Microsoft Entra Domain Services, use the DNS domain name that's on the properties page for Microsoft Entra Domain Services like adds-contoso.onmicrosoft.com.
You'll need to specify an Administrator account so the provisioning process can join the VMs to the domain. This account must be assigned to the Active Directory Domain administrator role.
Assign application groups
You can assign a user or group to both a remote desktop application group and a RemoteApp application group in the same host pool. However, users can only launch one type of application group per session.
If a user or group is assigned to multiple RemoteApp application groups within the same host pool, they'll see all the applications published to those application groups.
Connect to a workspace with a web or desktop client
You can access an Azure Virtual Desktop workspace from either a web browser or by using an app on your device. The browser option is helpful when you need to do some work and don't have your device with you. But for the best experience, we recommend you run the Azure Virtual Desktop client directly from your device. There are Azure Virtual Desktop clients that support the following types of devices:
- Windows
- Android
- macOS
- iOS
- Web
To learn more about these clients and what operating system versions they support, see the links available at the end of this module.
Bypass subscribe to workspace step
If you're using the Windows client, after you install the Azure Virtual Desktop client app and first launch it, you're prompted to subscribe to a workspace.
To bypass that step and simplify the process for your users, set up email discovery with your domain registrar. Add a DNS TXT record that has the following properties for the domain associated with your email:
Property | Value |
---|---|
Host | _msradc |
Text | https://rdweb.wvd.microsoft.com/api/arm/feeddiscovery/webfeeddiscovery.aspx |
TTL | 300 |
In the following units, you'll learn how to connect to a workspace by using both a web and desktop client.