Skip to content

Commit 94c1a5a

Browse files
Merge pull request #278868 from EMaher/enewman/update-1
adding note for V1 idle settings
2 parents b9da3d3 + 1a1d17d commit 94c1a5a

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

articles/lab-services/how-to-manage-lab-accounts.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
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.
44
ms.topic: how-to
55
ms.date: 02/02/2022
66
---
@@ -16,13 +16,13 @@ In Azure Lab Services, a lab account is a container for labs. An administrator c
1616
The following steps illustrate how to use the Azure portal to create a lab account with Azure Lab Services.
1717

1818
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.
2020

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.":::
2222

2323
1. On the **Lab Accounts** page, select **Create** on the toolbar or **Create lab account** on the page.
2424

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.":::
2626

2727
1. On the **Basics** tab of the **Create a lab account** page, do the following actions:
2828
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
3535
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).
3636

3737
:::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**.
4040

4141
:::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":::
4242
1. Wait until the deployment is complete, expand **Next steps**, and select **Go to resource**.
4343

4444
You can also select the **bell icon** on the toolbar (**Notifications**), confirm that the deployment succeeded, and then select **Go to resource**.
4545

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.
4848

4949
:::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.":::
5050

@@ -55,7 +55,7 @@ The following steps illustrate how to use the Azure portal to create a lab accou
5555
3. Select **Lab Accounts** for the **type**.
5656
You can also filter by subscription, resource group, locations, and tags.
5757

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.":::
5959

6060
## Delete a lab account
6161

@@ -64,7 +64,7 @@ Follow instructions from the previous section that displays lab accounts in a li
6464
1. Select the **lab account** that you want to delete.
6565
1. Select **Delete** from the toolbar.
6666

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.":::
6868
1. Type **yes** for confirmation.
6969
1. Select **Delete**.
7070

@@ -83,12 +83,15 @@ You can configure these settings at both the lab account level and the lab level
8383
> [!NOTE]
8484
> This setting is available only for Windows virtual machines.
8585
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+
8689
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:
8790

8891
- User absence: no keyboard or mouse input.
8992
- Lack of resource consumption: All the processors and all the disks were idle for a certain percentage of time.
9093

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:
9295

9396
:::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.":::
9497

@@ -107,13 +110,13 @@ The Windows virtual machines will automatically shut down 20 minutes after the u
107110

108111
### Automatically shut down virtual machines when users disconnect
109112

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:
111114

112115
- The Remote Desktop (RDP) connection is disconnected for Windows or Linux VMs.
113116
- The Secure Shell (SSH) connection is disconnected for a Linux VM.
114117

115118
> [!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.
117120
118121
You can specify how long the virtual machines should wait for the user to reconnect before automatically shutting down.
119122

@@ -124,7 +127,7 @@ In a lab, a user might start a virtual machine but never connect to it. For exam
124127
- 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.
125128
- A user starts a virtual machine but forgets to connect.
126129

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.
128131

129132
## Next steps
130133

0 commit comments

Comments
 (0)