Skip to content

Commit e513689

Browse files
authored
Merge pull request #104245 from spelluru/lablocation0212
Location selection
2 parents b37c9d7 + c080b80 commit e513689

File tree

10 files changed

+76
-12
lines changed

10 files changed

+76
-12
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
href: how-to-manage-lab-accounts.md
5353
- name: Configure lab accounts
5454
href: how-to-configure-lab-accounts.md
55+
- name: Allow lab creator to pick lab location
56+
href: allow-lab-creator-pick-lab-location.md
5557
- name: Connect your labs to a peer virtual network
5658
href: how-to-connect-peer-virtual-network.md
5759
- name: Attach or detach a shared image gallery
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
title: Allow lab creator to pick location in Azure Lab Services
3+
description: This article describes how a lab account administrator can allow lab creators to pick locations for their labs.
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: 02/12/2020
16+
ms.author: spelluru
17+
18+
---
19+
# Allow lab creator to pick location for the lab in Azure Lab Services
20+
In Azure Lab Services, a lab account owner can allow lab creators (educators) to pick a location for the lab they create. This location can be different from the location of the lab account. A location is a group of Azure regions. For example, United States location is a group of regions such as East US, West US, and so on.
21+
22+
You, as a lab account owner, can select the **Allow lab creator to pick lab location** option when you create a lab account and after you create the lab account (or an existing lab account).
23+
24+
## At the time of lab account creation
25+
When you create a lab account, you see this option on the first screen (**Basics** tab).
26+
27+
![Enable the option at the time of lab creation](../media/allow-lab-creator-pick-lab-location/create-lab-account.png)
28+
29+
This option is disabled if you select a peer virtual network for your lab account in the **Advanced** tab.
30+
31+
![When peer virtual network is enabled](../media/allow-lab-creator-pick-lab-location/peer-virtual-network.png)
32+
33+
34+
## After the lab account is created
35+
After you create the lab account, you can enable or disable this option by following these steps:
36+
37+
1. On the **Lab Account** page, select **Lab settings** on the left menu.
38+
2. Select the **Allow lab creator to pick lab location** option if you want to allow the lab creator to select a location for the lab. If it's disabled, the labs are automatically created in the same location in which the lab account exists.
39+
40+
This field is disabled when you select a virtual network for the **Peer virtual network** field. It's because labs in the lab account must be in the same region as the lab account for them to access resources in the peer virtual network.
41+
1. Select **Save** on the toolbar.
42+
43+
![Lab settings](../media/allow-lab-creator-pick-lab-location/lab-settings.png)
44+
45+
## No virtual network and location selection isn't allowed
46+
In this scenario, you haven't enabled the **Allow lab creator to pick lab location** option.
47+
48+
![No lab location](../media/allow-lab-creator-pick-lab-location/lab-no-location.png)
49+
50+
Then, lab creators (educators) don't see an option to pick a location for the lab. They will see the price per hour for every size option available to them. When they create a lab, it will be created in an Azure region that's in the same location as the Azure region that their lab account is in. For example, if the lab account is in **West US**, then the lab might be created in **South Central US** but would not be created in **Canada East**. We don't guarantee anything about the region we choose aside from that it's in the location. If a size is currently constrained, then the lab creator will see a checkbox where they can see the sizes that we normally support but are currently unavailable.
51+
52+
## In virtual network and location selection isn't allowed
53+
In this scenario, the **Allow lab creator to pick lab location** option is disabled because you have selected a peer virtual network for the lab account. Then, lab creators will see the same screen as with the previous option. Because all VMs have to be in the same Azure region as the virtual network, the lab will be created in the same Azure region that the virtual network is in. If that particular region is constrained for a size, the size will appear as unavailable.
54+
55+
## Location selection is enabled
56+
When you select **Allow lab creator to pick lab location**, lab creators (educators) see an option to select a location when creating a lab.
57+
58+
![Pick a lab location](../media/allow-lab-creator-pick-lab-location/location-selection.png)
59+
60+
Lab creators see the range of prices for all locations that size is in, and can choose a Location. The lab will be created in any Azure region that maps to that location.
61+
62+
If a location is constrained, it's not shown in the list by default. Expand the drop-down list, and select **Show unavailable locations for this size**.
63+
64+
![Show unavailable locations](../media/allow-lab-creator-pick-lab-location/show-unavailable-locations.png)
65+
66+
## Cost
67+
Earlier, the pricing was based on the VM size that you choose for the lab. Now, the price is based on the combination of Operating System (OS), Size, and location.
68+
69+
## Next steps
70+
See the following articles:
71+
72+
- [As a lab owner, create and manage labs](how-to-manage-classroom-labs.md)
73+
- [As a lab owner, set up and publish templates](how-to-create-manage-template.md)
74+
- [As a lab owner, configure and control usage of a lab](how-to-configure-student-usage.md)

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,6 @@ Labs created in this account are connected to the selected virtual network. They
3434

3535
When you select a virtual network for the **Peer virtual network** field, the **Allow lab creator to pick lab location** option is disabled. It's because labs in the lab account must be in the same region as the lab account for them to connect with resources in the peer virtual network.
3636

37-
## Allow lab creator to pick location for the lab
38-
You can allow lab creator to create labs in a different location than the location of the lab account by following these steps:
39-
40-
1. On the **Lab Account** page, select **Labs configuration** on the left menu.
41-
2. For the **Allow lab creator to pick lab location**, select **Enabled** if you want the lab creator to be able to select a location for the lab. If it's disabled, the labs are automatically created in the same location in which the lab account exists.
42-
43-
This field is disabled when you select a virtual network for the **Peer virtual network** field. It's because labs in the lab account must be in the same region as the lab account for them to access resources in the peer virtual network.
44-
1. Select **Save** on the toolbar.
45-
46-
![Configure lab location setting](../media/how-to-manage-lab-accounts/labs-configuration-page-lab-location.png)
47-
48-
4937
## Specify an address range for VMs in the lab
5038
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.
5139

40 KB
Loading
34.5 KB
Loading
68 KB
Loading
39.9 KB
Loading
44.5 KB
Loading
45.9 KB
Loading
-2.18 KB
Loading

0 commit comments

Comments
 (0)