You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article describes how to add *artifacts* to Azure DevTest Labs virtual machines (VMs). Artifacts are tools, actions, or software you can add to lab VMs. For example, artifacts can run Windows PowerShell scripts or Bash commands, install tools or applications, or take other actions like joining a domain.
16
16
17
-
DevTest Labs artifacts can come from the [public DevTest Labs Git repository](https://github.com/Azure/azure-devtestlab/tree/master/Artifacts) or from private Git repositories. Lab users can [create their own custom artifacts](devtest-lab-artifact-author.md) and store them in a repository, or use parameters to customize artifacts for their own needs.
17
+
DevTest Labs artifacts can come from the [public DevTest Labs Git repository](https://github.com/Azure/azure-devtestlab/tree/master/Artifacts) or from private Git repositories. Lab users can [create their own custom artifacts](devtest-lab-artifact-author.md) and store them in a repository, and use parameters to customize existing artifacts for their own needs.
18
18
19
19
A lab administrator can [add artifact repositories to a lab](add-artifact-repository.md) so all lab users can access them. Lab administrators can also [specify mandatory artifacts to be installed on all lab VMs](devtest-lab-mandatory-artifacts.md) at creation.
20
20
21
-
You can't change or remove mandatory artifacts at VM creation time, but you can add and configure other available individual artifacts at or after creation time. This article describes how to add available artifacts to VMs by using the Azure portal or Azure PowerShell.
21
+
You can't change or remove mandatory artifacts at VM creation time, but you can add and configure other available artifacts at or after VM creation time. This article describes how to add available artifacts to VMs by using the Azure portal or Azure PowerShell.
22
22
23
23
## Prerequisites
24
24
@@ -38,7 +38,7 @@ You can't change or remove mandatory artifacts at VM creation time, but you can
You can use the Azure portal to add artifacts during VM creation or to add artifacts to an existing lab VM.
43
43
44
44
### Add artifacts during VM creation
@@ -54,12 +54,13 @@ You can use the Azure portal to add artifacts during VM creation or to add artif
54
54
55
55
1. By default, artifacts install in the order you add them. To rearrange the order, select the ellipsis **...** next to the artifact in the **Selected artifacts** list, and select **Move up**, **Move down**, **Move to top**, or **Move to bottom**.
56
56
57
-
- To edit an artifact's parameters after you add it, select the pencil icon, or select **...** next to the artifact and select **Edit**, to reopen the **Add artifact** pane.
57
+
- To edit an artifact's parameters after you add it, select the pencil icon or select **...** next to the artifact and select **Edit** to reopen the **Add artifact** pane.
58
+
58
59
- To delete an artifact from the **Selected artifacts** list, select **...** and then select **Delete**.
59
60
60
61
1. When you're done adding, arranging, and configuring artifacts, select **OK** on the **Add artifacts** page.
61
62
1. The **Artifacts** section of the **Create lab resource** screen shows the number of artifacts added. To add, edit, rearrange, or delete the artifacts before you create the VM, select **Add or Remove Artifacts** again.
62
-
1. Optionally configure any **Advanced Settings** or **Tags**, and then select **Create** and **Create** again at the bottom of the **Create lab resource** screen to create the VM.
63
+
1. Optionally configure any **Advanced Settings** or **Tags**, and then select **Create** and **Create** again at the bottom of the **Create lab resource** screen to create the VM with added artifacts.
63
64
64
65
After you create the VM, the installed artifacts appear on the VM's **Artifacts** page. To see details about each artifact's installation, select the artifact name.
Copy file name to clipboardExpand all lines: articles/devtest-labs/connect-virtual-machine-through-browser.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,22 @@
1
1
---
2
-
title: Connect to lab VMs through Bastion
3
-
description: Learn how to connect to Azure DevTest Labs virtual machines (VMs) in a browser if Bastion is enabled for the lab.
2
+
title: Connect to lab VMs through a browser
3
+
description: Learn how to connect to Azure DevTest Labs virtual machines (VMs) through an internet browser if Bastion is enabled for the lab.
4
4
ms.topic: how-to
5
5
ms.author: rosemalcolm
6
6
author: RoseHJM
7
7
ms.date: 03/24/2023
8
8
ms.custom: UpdateFrequency2
9
+
10
+
#customer intent: As a lab user, I want to connect to Bastion-enabled lab VMs through my browser, so I can connect securely without using public IP addresses or exposing RDP or SSH ports to the internet.
9
11
---
10
12
11
-
# Connect to lab VMs in a browser via Azure Bastion
13
+
# Connect to lab VMs through a browser via Azure Bastion
12
14
13
-
This article describes how to connect to DevTest Labs virtual machines (VMs) through a browser by using [Azure Bastion](/azure/bastion/index). Bastion provides secure remote desktop protocol (RDP) or secure shell (SSH) access without using public IP addresses or exposing RDP or SSH ports to the internet.
15
+
This article describes how to connect to your DevTest Labs virtual machines (VMs) through a browser by using [Azure Bastion](/azure/bastion/index). Bastion provides secure remote desktop protocol (RDP) or secure shell (SSH) access without using public IP addresses or exposing RDP or SSH ports to the internet.
14
16
15
17
> [!IMPORTANT]
16
-
> The lab must be in an Azure Bastion-configured virtual network that has Bastion connections enabled. For more information, see [Enable browser connection to DevTest Labs VMs with Azure Bastion](enable-browser-connection-lab-virtual-machines.md).
18
+
> The VM and lab must be in an Azure Bastion-configured virtual network that has Bastion connections enabled. For more information, see [Enable browser connection to DevTest Labs VMs with Azure Bastion](enable-browser-connection-lab-virtual-machines.md).
19
+
> You must have ownership or sign-in permissions on the VM.
#customer intent: As a lab owner, I want to add and configure users for my lab so I can grant only the access necessary to do specific lab tasks.
10
+
#customer intent: As a lab owner, I want to add and configure users for my lab so I can grant the access necessary to do specific lab tasks.
11
11
---
12
12
13
-
# Add and configure lab users in Azure DevTest Labs
13
+
# Add and configure lab users in Azure DevTest Labs
14
14
15
15
Azure DevTest Labs uses Azure [role-based access control](/azure/role-based-access-control/overview) (RBAC) to define roles that have the access necessary to do specific lab tasks. DevTest Labs has three built-in roles: **Owner**, **Contributor**, and **DevTest Labs User**. This article describes the tasks each role can do, and how lab owners can add members to lab roles by using the Azure portal or an Azure PowerShell script.
16
16
17
+
<aname="devtest-labs-user"></a>
17
18
## Owners, Contributors, and DevTest Labs Users
18
19
19
20
The following table shows the actions that the DevTest Labs Owner, Contributor, and DevTest Labs User roles can take.
@@ -26,22 +27,19 @@ The following table shows the actions that the DevTest Labs Owner, Contributor,
26
27
|Configure user settings and roles.|X|||
27
28
|Update lab virtual machine (VM) policies.|X|X||
28
29
|Update cost settings.|X|X||
29
-
||||||
30
30
|VM base tasks:||||
31
31
|Enable Marketplace images.|X|X||
32
32
|Add, update, and delete VM base formulas.|X|X|X|
33
33
|Add and remove custom images.|X|X||
34
34
|Add, update, and delete formulas.|X|X||
35
-
||||||
36
35
|Individual VM tasks:||||
37
36
|Create VMs.|X|X|X|
38
-
|Start, stop, or delete own VMs.|X|X|X|
37
+
|Start, stop, or delete owned VMs.|X|X|X|
39
38
|Add or remove VM data disks.|X|X|X|
40
-
||||||
41
39
|Artifact and template tasks:||||
42
40
|Add and remove lab artifact and template repositories.|X|X||
43
41
|Create artifacts and templates.|X|X|X|
44
-
|Apply artifacts to own VMs.|X|X|X|
42
+
|Apply artifacts to owned VMs.|X|X|X|
45
43
46
44
> [!NOTE]
47
45
> Lab users automatically have the **Owner** role on VMs they create.
@@ -50,7 +48,7 @@ The following table shows the actions that the DevTest Labs Owner, Contributor,
50
48
51
49
Azure permissions propagate from parent scope to child scope. Owners of an Azure subscription that contains labs are automatically Owners of the subscription's labs.
52
50
53
-
Azure subscription [Owners](/azure/role-based-access-control/built-in-roles#owner) or [User Access Administrators](/azure/role-based-access-control/built-in-roles#user-access-administrator) can add Owners, Contributors, and DevTest Labs Users to labs in the subscription. To be added in a lab Owner role, users must have at least Contributor-level permissions in the Azure subscription.
51
+
Azure subscription [Owners](/azure/role-based-access-control/built-in-roles#owner) or [User Access Administrators](/azure/role-based-access-control/built-in-roles#user-access-administrator) can add Owners, Contributors, and DevTest Labs Users to labs in the subscription. To be added as a lab Owner, users must have at least Contributor-level permissions in the Azure subscription.
54
52
55
53
Users that are granted the lab Owner role can add and configure Owners, Contributors, and DevTest Labs Users for their own labs. However, added lab Owners have a narrower scope of administration than Azure subscription-based Owners. Added Owners don't have full access to some resources that the DevTest Labs service creates.
56
54
@@ -66,9 +64,9 @@ Lab Owners can add members to lab roles by using the Azure portal or an Azure Po
66
64
67
65
- Lab Owner role, either by assignment from a subscription owner or by inheritance as a subscription owner.
68
66
69
-
### Add a member:
67
+
### Add a lab member
70
68
71
-
The following procedure adds a **DevTest Labs User** member to a lab. If you're also a subscription owner, you can also do this procedure from the subscription's **Access control (IAM)** page.
69
+
The following procedure adds a **DevTest Labs User** member to a lab. If you're an Owner of the Azure subscription the lab is in, you can also do this procedure from the subscription's **Access control (IAM)** page.
72
70
73
71
1. On the lab's home page, select **Configuration and policies** from the left navigation.
74
72
1. On the **Configuration and policies** page, select **Access control (IAM)** from the left navigation.
@@ -98,7 +96,7 @@ This PowerShell script requires the added user to be in the Microsoft Entra ID.
98
96
99
97
### Add a member
100
98
101
-
The following PowerShell script adds a member to a lab with DevTest Labs User role. To use the script, update the parameter values under the `# Values to change` comment. You can get the `subscriptionId`, `labResourceGroup`, and `labName` values from the lab's main page in the Azure portal.
99
+
The following PowerShell script adds a member to a lab with DevTest Labs User role. To use the script, replace the parameter values under the `# Values to change` comment with your own values. You can get the `subscriptionId`, `labResourceGroup`, and `labName` values from the lab's main page in the Azure portal.
102
100
103
101
```azurepowershell
104
102
# Values to change
@@ -107,7 +105,7 @@ $labResourceGroup = "<Lab's resource group name>"
107
105
$labName = "<Lab name>"
108
106
$userDisplayName = "<User's display name>"
109
107
110
-
# Log into your Azure account.
108
+
# Sign into your Azure account.
111
109
Connect-AzAccount
112
110
113
111
# Select the Azure subscription that contains the lab. This step is optional if you have only one subscription.
0 commit comments