Enable browser connection on lab virtual machines
DevTest Labs integrates with Azure Bastion, which enables you to connect to your virtual machines through a browser. You first need to enable browser connection on lab virtual machines.
As an owner of a lab you can enable accessing all lab virtual machines through a browser. You don't need an additional client, agent, or piece of software. Azure Bastion provides secure and seamless RDP/SSH connectivity to your virtual machines directly in the Azure portal over SSL. When you connect via Azure Bastion, your virtual machines don't need a public IP address. For more information, see What is Azure Bastion?
This article shows how to enable browser connection on lab virtual machines.
Either deploy a Bastion host in your existing lab's virtual network (OR) connect your lab with a Bastion configured VNet.
To learn how to deploy a Bastion host in a VNet, see Create an Azure Bastion host (Preview). When creating the Bastion host, select the lab's virtual network.
To learn how to connect your lab with a Bastion configured VNet, see Configure a virtual network in Azure DevTest Labs. Select the VNet that has the Bastion host deployed and the AzureBastionSubnet in it. Here are the detailed steps:
Sign in to the Azure portal.
Select All Services on the left navigational menu.
Select DevTest Labs from the list.
From the list of labs, select your lab.
Azure Bastion is now generally available in the following regions: West US, East US, West Europe, South Central US, Australia East, and Japan East. So, create a lab in one of these regions if your lab isn't in one of them.
Select Configuration and policies in the Settings section on the left menu.
Select Virtual networks.
Select Add from the toolbar.
Select the VNet that has the Bastion host deployed.
Select the subnet: AzureBastionSubnet.
Select Use in virtual machine creation option.
Select Save on the toolbar.
If you have an old VNet for the lab, remove it by selecting *... and Remove.
Enable browser connection
Once you have a Bastion configured VNet inside the lab, as a lab owner, you can enable browser connect on lab virtual machines.
To enable browser connect on lab virtual machines, follow these steps:
In the Azure portal, navigate to your lab.
Select Configuration and policies.
In Settings, select Browser connect (Preview).
See the following article to learn how to connect to your VMs using a browser: Connect to your virtual machines through a browser