Skip to content

Commit a249766

Browse files
committed
Peer VNet & Cleanup
1 parent 82238b7 commit a249766

File tree

6 files changed

+112
-95
lines changed

6 files changed

+112
-95
lines changed

articles/lab-services/classroom-labs/TOC.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,24 @@
2828
items:
2929
- name: Use labs for conducting classes
3030
href: classroom-labs-scenarios.md
31+
- name: Classroom labs - class types
32+
items:
33+
- name: Class types overview
34+
href: class-types.md
35+
- name: Deep learning in natural language processing
36+
href: class-type-deep-learning-natural-language-processing.md
37+
- name: Shell scripting on Linux
38+
href: class-type-shell-scripting-linux.md
39+
- name: Ethical hacking
40+
href: class-type-ethical-hacking.md
41+
- name: Database management
42+
href: class-type-database-management.md
43+
- name: Python and Jupyter Notebooks
44+
href: class-type-jupyter-notebook.md
45+
- name: Mobile app development with Android Studio
46+
href: class-type-mobile-dev-android-studio.md
47+
- name: Big data analytics
48+
href: class-type-big-data-analytics.md
3149
- name: How-to guides
3250
items:
3351
- name: Administrator guide
@@ -36,29 +54,14 @@
3654
href: account-setup-guide.md
3755
- name: Accelerated lab set up guide
3856
href: setup-guide.md
39-
- name: Classroom labs - class types
40-
items:
41-
- name: Class types overview
42-
href: class-types.md
43-
- name: Deep learning in natural language processing
44-
href: class-type-deep-learning-natural-language-processing.md
45-
- name: Shell scripting on Linux
46-
href: class-type-shell-scripting-linux.md
47-
- name: Ethical hacking
48-
href: class-type-ethical-hacking.md
49-
- name: Database management
50-
href: class-type-database-management.md
51-
- name: Python and Jupyter Notebooks
52-
href: class-type-jupyter-notebook.md
53-
- name: Mobile app development with Android Studio
54-
href: class-type-mobile-dev-android-studio.md
55-
- name: Big data analytics
56-
href: class-type-big-data-analytics.md
5757
- name: Create and configure lab accounts (lab account owner)
5858
items:
5959
- name: Create and manage lab accounts
6060
href: how-to-manage-lab-accounts.md
61-
- name: Configure lab accounts
61+
- name: Manage labs in a lab account
62+
href: manage-labs-lab-account.md
63+
href: how-to-manage-lab-accounts.md
64+
- name: Configure automatic shutdown of VMs
6265
href: how-to-configure-lab-accounts.md
6366
- name: Add a lab creator
6467
href: add-lab-creator.md
Lines changed: 12 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Configure lab accounts in Azure Lab Services | Microsoft Docs
3-
description: This article describes how to create a lab account, view all lab accounts, or delete a lab account in Azure Lab Services.
2+
title: Configure automatic shutdown of VMs in Azure Lab Services
3+
description: This article describes how to configure automatic shutdown of VMs in the lab account.
44
services: lab-services
55
documentationcenter: na
66
author: spelluru
@@ -12,50 +12,24 @@ ms.workload: na
1212
ms.tgt_pltfrm: na
1313
ms.devlang: na
1414
ms.topic: article
15-
ms.date: 02/14/2020
15+
ms.date: 05/15/2020
1616
ms.author: spelluru
1717

1818
---
19-
# Configure lab accounts in Azure Lab Services
20-
In Azure Lab Services, a lab account is a container for managed lab types such as classroom labs. An administrator sets up a lab account with Azure Lab Services and provides access to lab owners who can create labs in the account.
19+
# Configure automatic shutdown of VMs on disconnect setting for a lab account
20+
You can enable or disable automatic shutdown of Windows lab VMs (template or student) after a remote desktop connection is disconnected. You can also specify how long Lab Services should wait for the user to reconnect before automatically shutting down.
2121

22-
This article shows how to perform the following tasks:
23-
24-
- Specify an address range for VMs in the lab
25-
- Configure automatic shutdown of VMs on disconnect
26-
27-
## Specify an address range for VMs in the lab
28-
The following procedure has steps to specify an address range for VMs in the lab. If you update the range that you previously specified, the modified address range applies only to VMs that are created after the change was made.
29-
30-
Here are some restrictions when specifying the address range that you should keep in mind.
31-
32-
- The prefix must be smaller than or equal to 23.
33-
- If a virtual network is peered to the lab account, the provided address range cannot overlap with address range from peered virtual network.
22+
## Enable automatic shutdown
3423

3524
1. On the **Lab Account** page, select **Labs settings** on the left menu.
36-
2. For the **Address range** field, specify the address range for VMs that will be created in the lab. The address range should be in the classless inter-domain routing (CIDR) notation (example: 10.20.0.0/23). Virtual machines in the lab will be created in this address range.
37-
38-
> [!NOTE]
39-
> The Address range property only applies if Peer virtual network is enabled for the lab.
40-
3. Select **Save** on the toolbar.
25+
2. Select the **Automatically shut down virtual machines when users disconnect** option.
26+
3. Specify how long Lab Services should wait for the user to reconnect before automatically shutting down the VMs.
4127

42-
![Configure address range](../media/how-to-manage-lab-accounts/labs-configuration-page-address-range.png)
28+
![Automatic shutdown setting at lab account](../media/how-to-configure-lab-accounts/automatic-shutdown-vm-disconnect.png)
4329

30+
This setting applies to all the labs created in the lab account. A lab creator (educator) can override this setting at the lab level. The change to this setting at the lab account will only affect labs that are created after the change is made.
4431

45-
## Automatic shutdown of VMs on disconnect
46-
You can enable or disable automatic shutdown of Windows lab VMs (template or student) after a remote desktop connection is disconnected. You can also specify how long the VMs should wait for the user to reconnect before automatically shutting down.
47-
48-
![Automatic shutdown setting at lab account](../media/how-to-configure-lab-accounts/automatic-shutdown-vm-disconnect.png)
49-
50-
This setting applies to all the labs created in the lab account. A lab owner can override this setting at the lab level. The change to this setting at the lab account will only affect labs that are created after the change is made.
51-
52-
To learn about how a lab owner can configure this setting at the lab level, see [this article](how-to-enable-shutdown-disconnect.md)
32+
To disable this setting, uncheck the checkbox for the **Automatically shutdown virtual machines when users disconnect** option on this page.
5333

5434
## Next steps
55-
See the following articles:
56-
57-
- [Allow lab creator to pick lab location](allow-lab-creator-pick-lab-location.md)
58-
- [Connect your lab's network with a peer virtual network](how-to-connect-peer-virtual-network.md)
59-
- [Attach a shared image gallery to a lab](how-to-attach-detach-shared-image-gallery.md)
60-
- [Add a user as a lab owner](how-to-add-user-lab-owner.md)
61-
- [View firewall settings for a lab](how-to-configure-firewall-settings.md)
35+
To learn about how a lab owner can configure or override this setting at the lab level, see [this article](how-to-enable-shutdown-disconnect.md)

articles/lab-services/classroom-labs/how-to-connect-peer-virtual-network.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Connect to a peer network in Azure Lab Services | Microsoft Docs
3-
description: Learn how to connect your lab network with another network as a peer. For example, connect your on-premises school/university network with Lab's virtual network in Azure.
3+
description: Learn how to connect your lab network with another network as a peer. For example, connect your on-premises organization/university network with Lab's virtual network in Azure.
44
services: lab-services
55
documentationcenter: na
66
author: spelluru
@@ -12,7 +12,7 @@ ms.workload: na
1212
ms.tgt_pltfrm: na
1313
ms.devlang: na
1414
ms.topic: article
15-
ms.date: 03/31/2020
15+
ms.date: 05/15/2020
1616
ms.author: spelluru
1717

1818
---
@@ -43,11 +43,16 @@ During the new [lab account creation](tutorial-setup-lab-account.md), you can pi
4343

4444
### Address range
4545

46-
There is also an option to provide **Address range** for virtual machines for the labs. The **Address range** property only applies if **Peer virtual network** is enabled for the lab. If the address range is provided, all the virtual machines in the labs under the lab account will be created in that address range. The address range should be in CIDR notation (e.g. 10.20.0.0/20) and not overlap with any existing address ranges. When providing an address range, it's important to think about the number of *labs* that will be created and provide an address range to accommodate that. Lab Services assumes a maximum of 512 virtual machines per lab. For example, an ip range with '/23' can create only one lab. A range with a '/21' will allow for the creation of four labs.
46+
There is also an option to provide **Address range** for virtual machines for the labs. The **address range** property applies only if a **peer virtual network** is enabled for the lab. If the address range is provided, all the virtual machines in the labs under the lab account will be created in that address range. The address range should be in CIDR notation (for example, 10.20.0.0/20) and not overlap with any existing address ranges. When providing an address range, it's important to think about the number of *labs* that will be created and provide an address range to accommodate that. Lab Services assumes a maximum of 512 virtual machines per lab. For example, an ip range with '/23' can create only one lab. A range with a '/21' will allow for the creation of four labs.
4747

4848
If the **Address range** is not specified, Lab Services will use the default address range given to it by Azure when creating the virtual network to be peered with your virtual network. The range is often something like 10.x.0.0/16. This may lead to ip range overlap, so make sure to either specify an address range in the lab settings or check the address range of your virtual network being peered.
4949

50-
## Configure after the lab is created
50+
> [!NOTE]
51+
> Lab creation can fail if the lab account is peered to a virtual network but has too narrow of an IP address range. You can run out of space in the address range if there are too many labs in the lab account (each lab uses 512 addresses).
52+
>
53+
> If the lab creation fails, contact your lab account owner/admin and request for the address range to be increased. The admin can increase the address range using steps mentioned in the [Specify an address range for VMs in a lab account](#specify-an-address-range-for-vms-in-the-lab-account) section.
54+
55+
## Configure after the lab account is created
5156

5257
The same property can be enabled from the **Labs configuration** tab of the **Lab Account** page if you didn't set up a peer network at the time of lab account creation. Change made to this setting applies only to the labs that are created after the change. As you can see in the image, you can enable or disable **Peer virtual network** for labs in the lab account.
5358

@@ -58,6 +63,21 @@ When you select a virtual network for the **Peer virtual network** field, the **
5863
> [!IMPORTANT]
5964
> The peered virtual network setting applies only to labs that are created after the change is made, not to the existing labs.
6065
66+
67+
## Specify an address range for VMs in the lab account
68+
The following procedure has steps to specify an address range for VMs in the lab. If you update the range that you previously specified, the modified address range applies only to VMs that are created after the change was made.
69+
70+
Here are some restrictions when specifying the address range that you should keep in mind.
71+
72+
- The prefix must be smaller than or equal to 23.
73+
- If a virtual network is peered to the lab account, the provided address range cannot overlap with address range from peered virtual network.
74+
75+
1. On the **Lab Account** page, select **Labs settings** on the left menu.
76+
2. For the **Address range** field, specify the address range for VMs that will be created in the lab. The address range should be in the classless inter-domain routing (CIDR) notation (example: 10.20.0.0/23). Virtual machines in the lab will be created in this address range.
77+
3. Select **Save** on the toolbar.
78+
79+
![Configure address range](../media/how-to-manage-lab-accounts/labs-configuration-page-address-range.png)
80+
6181
## Next steps
6282

6383
See the following articles:

articles/lab-services/classroom-labs/how-to-enable-shutdown-disconnect.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ ms.workload: na
1212
ms.tgt_pltfrm: na
1313
ms.devlang: na
1414
ms.topic: article
15-
ms.date: 12/13/2019
15+
ms.date: 05/15/2020
1616
ms.author: spelluru
1717

1818
---
1919

2020
# Enable automatic shutdown of VMs on disconnect
2121
This article shows you how you can enable or disable automatic shutdown of **Windows 10** lab VMs (template or student) after a remote desktop connection is disconnected. You can also specify how long the VMs should wait for the user to reconnect before automatically shutting down.
2222

23-
A lab account administrator can configure this setting for the lab account in which you create labs. For more information, see [Configure automatic shutdown of VMs on disconnect for a lab account](how-to-configure-lab-accounts.md#automatic-shutdown-of-vms-on-disconnect). As a lab owner, you can override the setting when creating a lab or after the lab is created.
23+
A lab account administrator can configure this setting for the lab account in which you create labs. For more information, see [Configure automatic shutdown of VMs on disconnect for a lab account](how-to-configure-lab-accounts.md). As a lab owner, you can override the setting when creating a lab or after the lab is created.
2424

2525
## Configure when creating a lab
2626
On the step 3 page of lab creation wizard, you can enable or disable this feature and also specify how long the VM should wait for the user to reconnect before automatically shutting down.

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

Lines changed: 6 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.workload: na
1212
ms.tgt_pltfrm: na
1313
ms.devlang: na
1414
ms.topic: article
15-
ms.date: 02/14/2020
15+
ms.date: 05/15/2020
1616
ms.author: spelluru
1717

1818
---
@@ -41,7 +41,10 @@ The following steps illustrate how to use the Azure portal to create a lab accou
4141
1. Select an existing **shared image gallery** or create one. You can save the template VM in the shared image gallery for it to be reused by others. For detailed information on shared image galleries, see [Use a shared image gallery in Azure Lab Services](how-to-use-shared-image-gallery.md).
4242
2. Specify whether you want to **automatically shut down Windows virtual machines** when users disconnect from them. Specify how long the virtual machines should wait for the user to reconnect before automatically shutting down.
4343
3. For **Peer virtual network**, select a peer virtual network (VNet) for the lab network. Labs created in this account are connected to the selected VNet and have access to the resources in the selected VNet. For more information, see [Connect your lab's virtual network with a peer virtual network](how-to-connect-peer-virtual-network.md).
44-
8. Specify an **address range** for VMs in the lab. The address range should be in the classless inter-domain routing (CIDR) notation (example: 10.20.0.0/23). Virtual machines in the lab will be created in this address range. For more information, see [Specify an address range for VMs in the lab](how-to-configure-lab-accounts.md#specify-an-address-range-for-vms-in-the-lab)
44+
8. Specify an **address range** for VMs in the lab. The address range should be in the classless inter-domain routing (CIDR) notation (example: 10.20.0.0/23). Virtual machines in the lab will be created in this address range. For more information, see [Specify an address range for VMs in the lab](how-to-connect-peer-virtual-network.md#specify-an-address-range-for-vms-in-the-lab-account)
45+
46+
> [!NOTE]
47+
> The **address range** property applies only if a **peer virtual network** is enabled for the lab.
4548
4649
![Create lab account -> Advanced](../media/how-to-manage-lab-accounts/create-lab-account-advanced.png)
4750
6. Select **Next: Tags** at the bottom of the page to switch to 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).
@@ -70,28 +73,6 @@ The following steps illustrate how to use the Azure portal to create a lab accou
7073

7174
![All resources -> Lab Accounts](../media/how-to-manage-lab-accounts/all-resources-lab-accounts.png)
7275

73-
## View and manage labs in the lab account
74-
75-
1. On the **Lab Account** page, select **All labs** on the left menu.
76-
77-
![Labs in the account](../media/how-to-manage-lab-accounts/labs-in-account.png)
78-
1. You see a **list of labs** in the account with the following information:
79-
1. Name of the lab.
80-
2. The date on which the lab was created.
81-
3. Email address of the user who created the lab.
82-
4. Maximum number of users allowed into the lab.
83-
5. Status of the lab.
84-
6. Role assignments.
85-
86-
## Delete a lab in the lab account
87-
Follow instructions in the previous section to see a list of the labs in the lab account.
88-
89-
1. Select **... (ellipsis)**, and select **Delete**.
90-
91-
![Delete a lab - button](../media/how-to-manage-lab-accounts/delete-lab-button.png)
92-
2. Select **Yes** on the warning message.
93-
94-
![Confirm lab deletion](../media/how-to-manage-lab-accounts/confirm-lab-delete.png)
9576

9677
## Delete a lab account
9778
Follow instructions from the previous section that displays lab accounts in a list. Use the following instructions to delete a lab account:
@@ -109,11 +90,4 @@ Follow instructions from the previous section that displays lab accounts in a li
10990
> You can also use the Az.LabServices PowerShell module (preview) to manage lab accounts. For more information, see the [Az.LabServices home page on GitHub](https://github.com/Azure/azure-devtestlab/tree/master/samples/ClassroomLabs/Modules/Library).
11091
11192
## Next steps
112-
See the following articles:
113-
114-
- [Allow lab creator to pick lab location](allow-lab-creator-pick-lab-location.md)
115-
- [Connect your lab's network with a peer virtual network](how-to-connect-peer-virtual-network.md)
116-
- [Attach a shared image gallery to a lab](how-to-attach-detach-shared-image-gallery.md)
117-
- [Add a user as a lab owner](how-to-add-user-lab-owner.md)
118-
- [View firewall settings for a lab](how-to-configure-firewall-settings.md)
119-
- [Configure other settings for a lab](how-to-configure-lab-accounts.md)
93+
See other articles in the **How-to guides** -> **Create and configure lab accounts (lab account owner)** section of the table-of-content (TOC).
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: View and delete labs in a lab account in Azure Lab Services
3+
description: Learn how to view all labs in a lab account and delete a lab from the lab account.
4+
services: lab-services
5+
documentationcenter: na
6+
author: spelluru
7+
manager:
8+
editor: ''
9+
10+
ms.service: lab-services
11+
ms.workload: na
12+
ms.tgt_pltfrm: na
13+
ms.devlang: na
14+
ms.topic: article
15+
ms.date: 05/15/2020
16+
ms.author: spelluru
17+
18+
---
19+
# View and delete labs in a lab account
20+
This article shows you how a lab account owner or administrator can view all the labs in a lab account, and delete a lab in the lab account.
21+
22+
## View labs in a lab account
23+
24+
1. On the **Lab Account** page, select **All labs** on the left menu.
25+
26+
![Labs in the account](../media/how-to-manage-lab-accounts/labs-in-account.png)
27+
1. You see a **list of labs** in the account with the following information:
28+
1. Name of the lab.
29+
2. The date on which the lab was created.
30+
3. Email address of the user who created the lab.
31+
4. Maximum number of users allowed into the lab.
32+
5. Status of the lab.
33+
6. Role assignments.
34+
35+
## Delete a lab in a lab account
36+
Follow instructions in the previous section to see a list of the labs in the lab account.
37+
38+
1. Select **... (ellipsis)**, and select **Delete**.
39+
40+
![Delete a lab - button](../media/how-to-manage-lab-accounts/delete-lab-button.png)
41+
2. Select **Yes** on the warning message.
42+
43+
![Confirm lab deletion](../media/how-to-manage-lab-accounts/confirm-lab-delete.png)
44+
45+
## Next steps
46+
See other articles in the **How-to guides** -> **Create and configure lab accounts (lab account owner)** section of the table-of-content (TOC).

0 commit comments

Comments
 (0)