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/classroom-labs/administrator-guide.md
+31-19Lines changed: 31 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,28 +47,30 @@ When you create a lab account, you can automatically create and attach a shared
47
47
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.
48
48
49
49
## Lab account
50
+
50
51
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.
51
52
52
53
The following list highlights scenarios where more than one lab account may be beneficial:
53
54
54
-
-**Manage different policy requirements across classroom labs**
55
-
55
+
-**Manage different policy requirements across classroom labs**
56
+
56
57
When you set up a lab account, you set policies that apply to *all* classroom labs under the lab account, such as:
57
58
- 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
+
60
61
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.
61
62
62
63
-**Separate budget by lab account**
63
64
64
65
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
+
66
67
-**Isolate pilot labs from active\production labs**
67
68
68
69
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.
69
70
70
71
## 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:
72
74
73
75
- Have one classroom lab for each class.
74
76
- 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
80
82
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.
81
83
82
84
-**Usage quota is set at the lab level and applies to all users within the lab**
83
-
85
+
84
86
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.
85
87
86
88
-**The startup or shutdown schedule is set at the lab level and applies to all VMs within the lab**
87
89
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.
89
93
90
94
## Shared image gallery
95
+
91
96
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.
92
97
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.
94
99
95
100
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:
96
101
@@ -110,13 +115,14 @@ To logically group shared images, you have a couple of options:
110
115
- 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.
111
116
112
117
## Naming
118
+
113
119
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.
114
120
115
121
| Resource type | Role | Suggested pattern | Examples |
| 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 |
118
124
| 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 |
120
126
| Shared image gallery | Contains one or more VM image versions |\<organization short name\>gallery | contosouniversitylabsgallery |
121
127
122
128
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
134
140
A lab account's location indicates the region that this resource exists in.
135
141
136
142
### Classroom lab
137
-
143
+
138
144
The location that a classroom lab exists in varies based on the following factors:
139
145
140
146
-**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
162
168
The region indicates the source region where the first image version is stored before it's automatically replicated to target regions.
163
169
164
170
## VM sizing
171
+
165
172
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:
166
173
167
174
| Size | Specs | Series | Suggested use |
@@ -175,13 +182,14 @@ When administrators or lab creators create a classroom lab, they can choose from
175
182
| 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. |
176
183
177
184
## Manage identity
185
+
178
186
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:
179
187
180
188
-**Lab account owner**
181
189
182
190
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:
183
191
- 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.
185
193
- Give educators access to classroom labs as creators, owners, or contributors.
186
194
- Create and manage all classroom labs within in the lab account.
187
195
@@ -190,7 +198,7 @@ Using [Azure's role based access control](https://docs.microsoft.com/azure/role-
190
198
An administrator that's assigned the **Contributor** role can:
191
199
- Change the lab account's settings.
192
200
- Create and manage all classroom labs within the lab account.
193
-
201
+
194
202
However, they *cannot* give other users access to either lab accounts or classroom labs.
195
203
196
204
-**Classroom lab creator**
@@ -202,42 +210,44 @@ Using [Azure's role based access control](https://docs.microsoft.com/azure/role-
202
210
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.
203
211
204
212
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
+
206
214
In addition, an educator *cannot* create new classroom labs unless they are also a member of the **Lab Creator** role.
207
215
208
216
-**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.
211
219
212
220
Here are some tips to help with assigning roles:
213
221
- Typically, only administrators should be members of a lab account's **Owner** or **Contributor** roles; you may have more than one owner\contributor.
214
-
215
222
- 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
-
217
223
- 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).
218
224
219
225
## Pricing
220
226
221
227
### Azure Lab Services
228
+
222
229
The pricing for Azure Lab Services is described in the following article: [Azure Lab Services pricing](https://azure.microsoft.com/pricing/details/lab-services/).
223
230
224
231
You also need to consider the pricing for the shared image gallery if you plan to use it for storing and managing image versions.
225
232
226
233
### Shared image gallery
234
+
227
235
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.
228
236
229
237
#### 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/).
231
238
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/).
232
240
233
241
#### Replication and network egress charges
242
+
234
243
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.
235
244
236
245
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/).
237
246
238
247
[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?".
239
248
240
249
#### Pricing example
250
+
241
251
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:
242
252
243
253
- You have one custom VM image.
@@ -254,9 +264,11 @@ In this example, the cost is:
254
264
1 custom image (32 GB) x 2 versions x 8 U.S. regions x $1.54 = $24.64 per month
255
265
256
266
#### Cost management
267
+
257
268
It's important for lab account administrator to manage costs by routinely deleting unneeded image versions from the gallery.
258
269
259
270
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.
260
271
261
272
## Next steps
273
+
262
274
See the tutorial for step-by-step instructions to create a lab account and a lab: [Set Up Guide](tutorial-setup-lab-account.md)
Copy file name to clipboardExpand all lines: articles/lab-services/classroom-labs/how-to-connect-peer-virtual-network.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Virtual network peering enables you to seamlessly connect Azure virtual networks
27
27
28
28
You may need to connect your lab's network with a peer virtual network in some scenarios including the following ones:
29
29
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.
31
31
- The virtual machines in the lab need access to data sets (or any other files) on university's network shares.
32
32
33
33
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