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
Copy file name to clipboardExpand all lines: articles/lab-services/how-to-manage-lab-accounts.md
+17-14Lines changed: 17 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Manage lab accounts in Azure Lab Services | Microsoft Docs
3
-
description: Learn how to create a lab account, view all lab accounts, or delete a lab account in an Azure subscription.
3
+
description: Learn how to create a lab account, view all lab accounts, or delete a lab account in an Azure subscription.
4
4
ms.topic: how-to
5
5
ms.date: 02/02/2022
6
6
---
@@ -16,13 +16,13 @@ In Azure Lab Services, a lab account is a container for labs. An administrator c
16
16
The following steps illustrate how to use the Azure portal to create a lab account with Azure Lab Services.
17
17
18
18
1. Sign in to the [Azure portal](https://portal.azure.com).
19
-
1. Select **All services** on the left menu. Select the **DevOps** category. Select the **Lab accounts** tile.
19
+
1. Select **All services** on the left menu. Select the **DevOps** category. Select the **Lab accounts** tile.
20
20
21
-
:::image type="content" source="./media/how-to-manage-lab-accounts/select-lab-accounts.png" alt-text="Screenshot of All services page in the Azure portal. The Dev Ops category and DevTest Labs items are highlighted.":::
21
+
:::image type="content" source="./media/how-to-manage-lab-accounts/select-lab-accounts.png" alt-text="Screenshot of All services page in the Azure portal. The Dev Ops category and DevTest Labs items are highlighted.":::
22
22
23
23
1. On the **Lab Accounts** page, select **Create** on the toolbar or **Create lab account** on the page.
24
24
25
-
:::image type="content" source="./media/how-to-manage-lab-accounts/create-lab-account-button.png" alt-text="Screenshot of lab account resources in the Azure portal. The Create button and Create lab account buttons are highlighted.":::
25
+
:::image type="content" source="./media/how-to-manage-lab-accounts/create-lab-account-button.png" alt-text="Screenshot of lab account resources in the Azure portal. The Create button and Create lab account buttons are highlighted.":::
26
26
27
27
1. On the **Basics** tab of the **Create a lab account** page, do the following actions:
28
28
1. Select the **Azure subscription** in which you want to create the lab account.
@@ -35,16 +35,16 @@ The following steps illustrate how to use the Azure portal to create a lab accou
35
35
1. On the Tags tab, add any tags you want to associate with the lab account. Tags are name/value pairs that enable you to categorize resources and view consolidated billing by applying the same tag to multiple resources and resource groups. For more information, see [Use tags to organize your Azure resources](../azure-resource-manager/management/tag-resources.md).
36
36
37
37
:::image type="content" source="./media/how-to-manage-lab-accounts/create-lab-account-tags.png" alt-text="Screenshot that shows the Tags tab of the Create lab account wizard.":::
38
-
1. Select **Next: Review + create**.
39
-
1. Wait for validation to pass. Review the summary information on the **Review + create** page, and select **Create**.
38
+
1. Select **Next: Review + create**.
39
+
1. Wait for validation to pass. Review the summary information on the **Review + create** page, and select **Create**.
40
40
41
41
:::image type="content" source="./media/how-to-manage-lab-accounts/create-lab-account-review-create.png" alt-text="Screenshot that shows the Review and create tab of the Create lab account wizard":::
42
42
1. Wait until the deployment is complete, expand **Next steps**, and select **Go to resource**.
43
43
44
44
You can also select the **bell icon** on the toolbar (**Notifications**), confirm that the deployment succeeded, and then select **Go to resource**.
45
45
46
-
:::image type="content" source="./media/how-to-manage-lab-accounts/go-to-lab-account.png" alt-text="Screenshot that shows the deploy resource page for the lab account. The Go to resource button is highlighted.":::
47
-
1.You'll see the **Overview** page for the lab account.
46
+
:::image type="content" source="./media/how-to-manage-lab-accounts/go-to-lab-account.png" alt-text="Screenshot that shows the deploy resource page for the lab account. The Go to resource button is highlighted.":::
47
+
1.Notice the **Overview** page for the lab account.
48
48
49
49
:::image type="content" source="./media/how-to-manage-lab-accounts/lab-account-overview.png" alt-text="Screenshot that shows overview page of a lab account.":::
50
50
@@ -55,7 +55,7 @@ The following steps illustrate how to use the Azure portal to create a lab accou
55
55
3. Select **Lab Accounts** for the **type**.
56
56
You can also filter by subscription, resource group, locations, and tags.
57
57
58
-
:::image type="content" source="./media/how-to-manage-lab-accounts/all-resources-lab-accounts.png" alt-text="Screenshot that shows All resources page in the Azure portal. The resource type filter is highlighted and set to show resources of type lab accounts.":::
58
+
:::image type="content" source="./media/how-to-manage-lab-accounts/all-resources-lab-accounts.png" alt-text="Screenshot that shows All resources page in the Azure portal. The resource type filter is highlighted and set to show resources of type lab accounts.":::
59
59
60
60
## Delete a lab account
61
61
@@ -64,7 +64,7 @@ Follow instructions from the previous section that displays lab accounts in a li
64
64
1. Select the **lab account** that you want to delete.
65
65
1. Select **Delete** from the toolbar.
66
66
67
-
:::image type="content" source="./media/how-to-manage-lab-accounts/delete-button.png" alt-text="Screenshot that shows All resources page in the Azure portal with resources filtered to list lab accounts. The delete button on the toolbar is highlighted.":::
67
+
:::image type="content" source="./media/how-to-manage-lab-accounts/delete-button.png" alt-text="Screenshot that shows All resources page in the Azure portal with resources filtered to list lab accounts. The delete button on the toolbar is highlighted.":::
68
68
1. Type **yes** for confirmation.
69
69
1. Select **Delete**.
70
70
@@ -83,12 +83,15 @@ You can configure these settings at both the lab account level and the lab level
83
83
> [!NOTE]
84
84
> This setting is available only for Windows virtual machines.
85
85
86
+
> [!IMPORTANT]
87
+
> Changes to the disconnect on idle setting are reflected on the lab VM the next time it is started. Currently running lab VMs are not affected until they are restarted.
88
+
86
89
When the **Disconnect users when virtual machines are idle** setting is turned on, the user is disconnected from any machines in the lab when the Windows OS deems the session to be idle (including the template virtual machines). The [Windows OS definition of idle](/windows/win32/taskschd/task-idle-conditions#detecting-the-idle-state) uses two criteria:
87
90
88
91
- User absence: no keyboard or mouse input.
89
92
- Lack of resource consumption: All the processors and all the disks were idle for a certain percentage of time.
90
93
91
-
Users will see a message like this in the VM before they're disconnected:
94
+
Users see a message like this in the VM before they're disconnected:
92
95
93
96
:::image type="content" source="./media/cost-management-guide/idle-timer-expired.png" alt-text="Screenshot that shows a warning message that a session has been idle over its time limit.":::
94
97
@@ -107,13 +110,13 @@ The Windows virtual machines will automatically shut down 20 minutes after the u
107
110
108
111
### Automatically shut down virtual machines when users disconnect
109
112
110
-
The **Shut down virtual machines when users disconnect** setting supports both Windows and Linux virtual machines. When this setting is on, automatic shutdown will occur when:
113
+
The **Shut down virtual machines when users disconnect** setting supports both Windows and Linux virtual machines. When this setting is on, automatic shutdown occurs when:
111
114
112
115
- The Remote Desktop (RDP) connection is disconnected for Windows or Linux VMs.
113
116
- The Secure Shell (SSH) connection is disconnected for a Linux VM.
114
117
115
118
> [!IMPORTANT]
116
-
> Only [specific distributions and versions of Linux](../virtual-machines/extensions/diagnostics-linux.md#supported-linux-distributions) are supported. Shutdown settings are not supported by the [Data Science Virtual Machine - Ubuntu](https://azuremarketplace.microsoft.com/en-us/marketplace/apps?search=Data%20science%20Virtual%20machine&page=1&filters=microsoft%3Blinux) image.
119
+
> Only [specific distributions and versions of Linux](../virtual-machines/extensions/diagnostics-linux.md#supported-linux-distributions) are supported. Shutdown settings are not supported by the [Data Science Virtual Machine - Ubuntu](https://azuremarketplace.microsoft.com/en-us/marketplace/apps?search=Data%20science%20Virtual%20machine&page=1&filters=microsoft%3Blinux) image.
117
120
118
121
You can specify how long the virtual machines should wait for the user to reconnect before automatically shutting down.
119
122
@@ -124,7 +127,7 @@ In a lab, a user might start a virtual machine but never connect to it. For exam
124
127
- A schedule in the lab starts all virtual machines for a class session, but some students don't show up and don't connect to their machines.
125
128
- A user starts a virtual machine but forgets to connect.
126
129
127
-
The **Shut down virtual machines when users do not connect** setting will catch these cases and automatically shut down the virtual machines.
130
+
The **Shut down virtual machines when users do not connect** setting catches these cases and automatically shut down the virtual machines.
0 commit comments