Skip to content

Commit b3a3c7c

Browse files
authored
Merge pull request #112273 from EMaher/enewman/network-patch1
Updates to doc to call out tasks and limitations.
2 parents 9761ab7 + 8b59556 commit b3a3c7c

File tree

3 files changed

+46
-23
lines changed

3 files changed

+46
-23
lines changed

articles/lab-services/classroom-labs/administrator-guide.md

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,30 @@ When you create a lab account, you can automatically create and attach a shared
4747
We recommend investing time up front to plan the structure of your resource groups since it's *not* possible to change a lab account's or shared image gallery's resource group once it's created. If you need to change the resource group for these resources, you'll need to delete and recreate your lab account and\or shared image gallery.
4848

4949
## Lab account
50+
5051
A lab account serves as a container for one or more classroom labs. When getting started with Azure Lab Services, it's common to only have a single lab account. As your lab usage scales, you may later choose to create more lab accounts.
5152

5253
The following list highlights scenarios where more than one lab account may be beneficial:
5354

54-
- **Manage different policy requirements across classroom labs**
55-
55+
- **Manage different policy requirements across classroom labs**
56+
5657
When you set up a lab account, you set policies that apply to *all* classroom labs under the lab account, such as:
5758
- The Azure virtual network with shared resources that the classroom lab can access. For example, you may have a set of classroom labs that need access to a shared data set within a virtual network.
58-
- The virtual machine (VM) images that the classroom labs can use to create VMs. For example, you may have a set of classroom labs that need access to the [Data Science VM for Linux](https://azuremarketplace.microsoft.com/marketplace/apps/microsoft-dsvm.ubuntu-1804) Marketplace image.
59-
59+
- The virtual machine (VM) images that the classroom labs can use to create VMs. For example, you may have a set of classroom labs that need access to the [Data Science VM for Linux](https://azuremarketplace.microsoft.com/marketplace/apps/microsoft-dsvm.ubuntu-1804) Marketplace image.
60+
6061
If you have classroom labs that have unique policy requirements from one another, it may be beneficial to create separate lab accounts to manage these classroom labs separately.
6162

6263
- **Separate budget by lab account**
6364

6465
Instead of reporting all classroom lab costs through a single lab account, you may need a more clearly separated budget. For example, you can create lab accounts for your university's Math department, Computer Science department, and so forth, to separate the budget across departments. You can then view the cost for each individual lab account using [Azure Cost Management](https://docs.microsoft.com/azure/cost-management-billing/cost-management-billing-overview).
65-
66+
6667
- **Isolate pilot labs from active\production labs**
6768

6869
You may have cases where you want to pilot policy changes for a lab account without potentially impacting active\production labs. In this type of scenario, creating a separate lab account for piloting purposes allows you to isolate changes.
6970

7071
## Classroom lab
71-
A classroom lab contains virtual machines (VMs) that are each assigned to a single student. In general, you can expect to:
72+
73+
A classroom lab contains virtual machines (VMs) that are each assigned to a single student. In general, you can expect to:
7274

7375
- Have one classroom lab for each class.
7476
- Create a new set of classroom labs each semester (or for each time frame your class is offered). Typically for classes that have the same image needs, you should use a [shared image gallery](#shared-image-gallery) to reuse images across labs and semesters.
@@ -80,17 +82,20 @@ Consider the following points when determining how to structure your classroom l
8082
As a result, if you have a class that requires different lab images be published at the same time, separate classroom labs must be created for each one.
8183

8284
- **Usage quota is set at the lab level and applies to all users within the lab**
83-
85+
8486
To set different quotas for users, you must create separate classroom labs. However, it's possible to add more hours to a specific user after you have set the quota.
8587

8688
- **The startup or shutdown schedule is set at the lab level and applies to all VMs within the lab**
8789

88-
Similar to the previous point, if you need to set different schedules for users, you need to create separate classroom labs.
90+
Similar to the previous point, if you need to set different schedules for users, you need to create separate classroom labs.
91+
92+
By default, each classroom lab will have its own virtual network. If you have vnet peering enabled, each classroom lab will have its own subnet peered to the specified virtual network.
8993

9094
## Shared image gallery
95+
9196
A shared image gallery is attached to a lab account and serves as a central repository for storing images. An image is saved in the gallery when an educator chooses to export from a classroom lab's template virtual machine (VM). Each time an educator makes changes to the template VM and exports, new versions of the image are saved while maintaining previous versions.
9297

93-
Instructors can publish an image version from the shared image gallery when they create a new classroom lab. Although the gallery can store multiple versions of an image, educators can only select the latest version during lab creation.
98+
Instructors can publish an image version from the shared image gallery when they create a new classroom lab. Although the gallery stores multiple versions of an image, educators can only select the latest version during lab creation.
9499

95100
Shared image gallery is an optional resource that you may not need immediately when starting with only a few classroom labs. However, using shared image gallery has many benefits that are helpful as you scale to having more classroom labs:
96101

@@ -110,13 +115,14 @@ To logically group shared images, you have a couple of options:
110115
- Or, you can use a single shared image gallery that's shared by multiple lab accounts. In this case, each lab account can enable only those images that are applicable to the classroom labs that it contains.
111116

112117
## Naming
118+
113119
As you get started with Azure Lab Services, we recommend that you establish naming conventions for resource groups, lab accounts, classroom labs, and the shared image gallery. While the naming conventions that you establish will be unique to the needs of your organization, the following table outlines general guidelines.
114120

115121
| Resource type | Role | Suggested pattern | Examples |
116122
| ------------- | ---- | ----------------- | -------- |
117123
| Resource group | Contains one or more lab accounts and one or more shared image galleries | \<organization short name\>-\<environment\>-rg<ul><li>**Organization short name** identifies the name of the organization that the resource group supports</li><li>**Environment** identifies the environment for the resource, such as Pilot or Production</li><li>**Rg** stands for the resource type: resource group.</li></ul> | contosouniversitylabs-rg<br/>contosouniversitylabs-pilot-rg<br/>contosouniversitylabs-prod-rg |
118124
| Lab account | Contains one or more labs | \<organization short name\>-\<environment\>-la<ul><li>**Organization short name** identifies the name of the organization that the resource group supports</li><li>**Environment** identifies the environment for the resource, such as Pilot or Production</li><li>**La** stands for the resource type: lab account.</li></ul> | contosouniversitylabs-la<br/>mathdeptlabs-la<br/>sciencedeptlabs-pilot-la<br/>sciencedeptlabs-prod-la |
119-
| Classroom lab | Contains one or more VMs |\<class name\>-\<timeframe\>-\<educator identifier\><ul><li>**Class name** identifies the name of the class the lab supports.</li><li>**Timeframe** identifies the timeframe in which the class is offered.</li>**Education identifier** identifies the educator that owns the lab.</li></ul> | CS1234-fall2019-johndoe<br/>CS1234-spring2019-johndoe |
125+
| Classroom lab | Contains one or more VMs |\<class name\>-\<timeframe\>-\<educator identifier\><ul><li>**Class name** identifies the name of the class the lab supports.</li><li>**Timeframe** identifies the timeframe in which the class is offered.</li>**Education identifier** identifies the educator that owns the lab.</li></ul> | CS1234-fall2019-johndoe<br/>CS1234-spring2019-johndoe |
120126
| Shared image gallery | Contains one or more VM image versions | \<organization short name\>gallery | contosouniversitylabsgallery |
121127

122128
For more information on naming other Azure resources, see [Naming conventions for Azure resources](/azure/architecture/best-practices/naming-conventions).
@@ -134,7 +140,7 @@ The region specifies the data center where information about the resource group
134140
A lab account's location indicates the region that this resource exists in.
135141

136142
### Classroom lab
137-
143+
138144
The location that a classroom lab exists in varies based on the following factors:
139145

140146
- **Lab account is peered to a virtual network (VNet)**
@@ -162,6 +168,7 @@ A general rule is to set a resource's region to one that is closest to its users
162168
The region indicates the source region where the first image version is stored before it's automatically replicated to target regions.
163169

164170
## VM sizing
171+
165172
When administrators or lab creators create a classroom lab, they can choose from the following VM sizes based on the needs of their classroom. Remember that the compute sizes that are available depend on the region that your lab account is located in:
166173

167174
| Size | Specs | Series | Suggested use |
@@ -175,13 +182,14 @@ When administrators or lab creators create a classroom lab, they can choose from
175182
| Medium GPU (Visualization) | <ul><li>12 Cores</li><li>112 GB RAM</li></ul> | [Standard_NC12](https://docs.microsoft.com/azure/virtual-machines/nc-series) | This size is best suited for remote visualization, streaming, gaming, encoding using frameworks such as OpenGL and DirectX. |
176183

177184
## Manage identity
185+
178186
Using [Azure's role based access control](https://docs.microsoft.com/azure/role-based-access-control/overview), the following roles can be assigned to give access to lab accounts and classroom labs:
179187

180188
- **Lab account owner**
181189

182190
The administrator that creates the lab account is automatically added to the lab account's **Owner** role. An administrator that's assigned the **Owner** role can:
183191
- Change the lab account's settings.
184-
- Give other administrators access to the lab account as owners or contributors.
192+
- Give other administrators access to the lab account as owners or contributors.
185193
- Give educators access to classroom labs as creators, owners, or contributors.
186194
- Create and manage all classroom labs within in the lab account.
187195

@@ -190,7 +198,7 @@ Using [Azure's role based access control](https://docs.microsoft.com/azure/role-
190198
An administrator that's assigned the **Contributor** role can:
191199
- Change the lab account's settings.
192200
- Create and manage all classroom labs within the lab account.
193-
201+
194202
However, they *cannot* give other users access to either lab accounts or classroom labs.
195203

196204
- **Classroom lab creator**
@@ -202,42 +210,44 @@ Using [Azure's role based access control](https://docs.microsoft.com/azure/role-
202210
An educator can view and change a classroom lab's settings when they are a member of either a lab's **Owner** or **Contributor** role; they must also be a member of the lab account's **Reader** role.
203211

204212
A key difference between a lab's **Owner** and **Contributor** roles is that a contributor *cannot* give other users access to manage the lab - only owners can give other users access to manage the lab.
205-
213+
206214
In addition, an educator *cannot* create new classroom labs unless they are also a member of the **Lab Creator** role.
207215

208216
- **Shared image gallery**
209-
210-
When you attach a shared image gallery to a lab account, lab account owners\contributors and lab creators\owners\contributors are automatically given access to view and save images in the gallery.
217+
218+
When you attach a shared image gallery to a lab account, lab account owners\contributors and lab creators\owners\contributors are automatically given access to view and save images in the gallery.
211219

212220
Here are some tips to help with assigning roles:
213221
- Typically, only administrators should be members of a lab account's **Owner** or **Contributor** roles; you may have more than one owner\contributor.
214-
215222
- To give an educator the ability to create new classroom labs and manage the labs that they create; you only need to assign access to the **Lab Creator** role.
216-
217223
- To give an educator the ability to manage specific classroom labs, but *not* the ability to create new labs; you should assign access to either the **Owner** or **Contributor** role for each of the classroom labs that they will manage. For example, you may want to allow both a professor and a teaching assistant to co-own a classroom lab. Refer to the guide on how to [add a user as an owner to a classroom lab](https://docs.microsoft.com/azure/lab-services/classroom-labs/how-to-add-user-lab-owner).
218224

219225
## Pricing
220226

221227
### Azure Lab Services
228+
222229
The pricing for Azure Lab Services is described in the following article: [Azure Lab Services pricing](https://azure.microsoft.com/pricing/details/lab-services/).
223230

224231
You also need to consider the pricing for the shared image gallery if you plan to use it for storing and managing image versions.
225232

226233
### Shared image gallery
234+
227235
Creating a shared image gallery and attaching it to your lab account is free. Costs aren't incurred until you save an image version to the gallery. Typically, the pricing for using a shared image gallery is fairly negligible, but it's important to understand how it's calculated since it isn't included in the pricing for Azure Lab Services.
228236

229237
#### Storage charges
230-
To store image versions, a shared image gallery uses standard HDD-managed disks. The size of the HDD-managed disk that's used depends on the size of the image version being stored. See the following article to view the pricing: [Managed disks pricing](https://azure.microsoft.com/pricing/details/managed-disks/).
231238

239+
To store image versions, a shared image gallery uses standard HDD-managed disks. The size of the HDD-managed disk that's used depends on the size of the image version being stored. See the following article to view the pricing: [Managed disks pricing](https://azure.microsoft.com/pricing/details/managed-disks/).
232240

233241
#### Replication and network egress charges
242+
234243
When you save an image version using a classroom lab's template virtual machine (VM), Azure Lab Services first stores it in a source region and then automatically replicates the source image version to one or more target regions. It's important to note that Azure Lab Services automatically replicates the source image version to all target [regions within the geography](https://azure.microsoft.com/global-infrastructure/regions/) where the classroom lab is located. For example, if your classroom lab is in the U.S. geography, an image version is replicated to each of the eight regions that exist within the U.S.
235244

236245
A network egress charge occurs when an image version is replicated from the source region to additional target regions. The amount charged is based on the size of the image version when the image's data is initially transferred outbound from the source region. For pricing details, refer to the following article: [Bandwidth pricing details](https://azure.microsoft.com/pricing/details/bandwidth/).
237246

238247
[Education solutions](https://www.microsoft.com/licensing/licensing-programs/licensing-for-industries?rtc=1&activetab=licensing-for-industries-pivot:primaryr3) customers may be waived from paying egress charges. Speak with your account manager to learn more. For more information, see **refer to the FAQ** section in the linked document, specifically the question "What data transfer programs exist for academic customers and how do I qualify?".
239248

240249
#### Pricing example
250+
241251
To recap the pricing described above, let's look at an example of saving our template VM image to shared image gallery. Assume the following scenarios:
242252

243253
- You have one custom VM image.
@@ -254,9 +264,11 @@ In this example, the cost is:
254264
1 custom image (32 GB) x 2 versions x 8 U.S. regions x $1.54 = $24.64 per month
255265

256266
#### Cost management
267+
257268
It's important for lab account administrator to manage costs by routinely deleting unneeded image versions from the gallery.
258269

259270
You shouldn't delete replication to specific regions as a way to reduce the costs (this option exists in shared image gallery). Replication changes may have adverse effects on Azure Lab Service's ability to publish VMs from images saved within a shared image gallery.
260271

261272
## Next steps
273+
262274
See the tutorial for step-by-step instructions to create a lab account and a lab: [Set Up Guide](tutorial-setup-lab-account.md)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Virtual network peering enables you to seamlessly connect Azure virtual networks
2727

2828
You may need to connect your lab's network with a peer virtual network in some scenarios including the following ones:
2929

30-
- The virtual machines in the lab have software that connects to on-premises license servers to acquire license
30+
- The virtual machines in the lab have software that connects to on-premises license servers to acquire license.
3131
- The virtual machines in the lab need access to data sets (or any other files) on university's network shares.
3232

3333
Certain on-premises networks are connected to Azure Virtual Network either through [ExpressRoute](../../expressroute/expressroute-introduction.md) or [Virtual Network Gateway](../../vpn-gateway/vpn-gateway-about-vpngateways.md). These services must be set up outside of Azure Lab Services. To learn more about connecting an on-premises network to Azure using ExpressRoute, see [ExpressRoute overview](../../expressroute/expressroute-introduction.md). For on-premises connectivity using a Virtual Network Gateway, the gateway, specified virtual network, and the lab account must all be in the same region.

0 commit comments

Comments
 (0)