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/concept-migrating-physical-labs.md
+81-23Lines changed: 81 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,16 @@ ms.date: 01/31/2023
14
14
15
15
Azure Lab Services enables you to provide lab environments that users can access from anywhere, any time of the day. When you migrate from physical labs to Azure Lab Services, you might reassess your lab structure to minimize costs and optimize the experience for lab creators and users. In this article, you learn about the considerations and benefits of migrating from physical labs to Azure Lab Services.
16
16
17
+
## Considerations for moving to Azure Lab Services
18
+
19
+
The key factors when migrating from physical labs to Azure Lab Services are:
20
+
21
+
- The lab structure: single-purpose labs versus shared labs
22
+
- Lab software requirements
23
+
- Lab hardware requirements
24
+
25
+
The software and hardware requirements for a lab depend on the lab structure. A shared lab has to accommodate the needs for all usage scenarios and therefore has higher requirements.
26
+
17
27
## Lab structure
18
28
19
29
Usually a physical lab is shared by students from multiple classes. As a result, all of the classes’ software applications are installed together at once on each lab computer. When a class uses the lab, students only run a subset of the applications that are relevant to their class.
@@ -23,7 +33,7 @@ This type of physical computer lab often leads to increased hardware requirement
23
33
- A large disk size may be required to install the combined set of applications that are needed by the classes that are sharing the lab.
24
34
- Some applications require more processing power compared to others, or require specialized processors, such as a GPU. By installing multiple applications on the same lab computer, each computer must have sufficient hardware to run the most compute-intensive applications.
25
35
26
-
This level of hardware is essentially wasted for classes that only use the lab to run applications that require less memory, compute power, or disk space.
36
+
This level of hardware is wasted for classes that only use the lab to run applications that require less memory, compute power, or disk space.
27
37
28
38
Azure Lab Services is designed to use hardware more efficiently, so that you only pay for what your users actually need and use. With Azure Lab Services, labs are structured to be more granular:
29
39
@@ -32,39 +42,87 @@ Azure Lab Services is designed to use hardware more efficiently, so that you onl
32
42
33
43
This structure helps to identify the optimal VM size for each class based on the specific workload, and helps to reduce the disk size requirements (Azure Lab Services’ currently supports a disk size of 127 GB).
34
44
35
-
## Considerations for moving to Azure Lab Services
45
+
Learn more about [how to structure labs](./administrator-guide.md#lab) in the Azure Lab Services administrator guide.
46
+
47
+
## Benefits
36
48
37
-
- Software requirements for each class
38
-
- Number and structure of your labs - multiple classes per lab vs one class per lab
39
-
- VM types and sizes
40
-
- Disk space requirements
41
-
- Look for opportunities to share images in Azure Compute Gallery
49
+
There are multiple benefits of using single-purpose labs (for example, one class per lab):
42
50
43
-
## Plan for moving to Azure Lab Services
51
+
- Optimize costs by selecting the right VM size for each lab. See the below [example use case and cost analysis](#example-use-case).
44
52
45
-
- Identify software applications for each class
46
-
- Understand workloads that students perform using the lab
47
-
- Oppties for shared images
53
+
- Lab VMs only contain the software that is needed for their purpose. This simplifies the set-up and maintenance of labs by lab creators, and provides more clarity for lab users.
48
54
49
-
## Benefits
55
+
- Access to each individual lab is controlled. Lab users are only granted access to labs and software they need to. Learn how to [add and manage lab users](./how-to-configure-student-usage.md).
56
+
57
+
- Further optimize costs by taking advantage of the following features:
58
+
59
+
-[Schedules](./how-to-create-schedules.md) are used to automatically start and stop all VMs within a lab according to each class’s schedule.
60
+
-[Quotas](./how-to-configure-student-usage.md#set-quotas-for-users) allow you to control the amount of time that each class’s students can access VMs outside of their scheduled hours.
61
+
62
+
## Example use case
63
+
64
+
Consider the following physical lab configuration, where the lab is shared by multiple classes:
65
+
66
+
- An engineering class that uses [SolidWorks](./class-type-solidworks.md) with 100 students enrolled.
67
+
- A math class that uses [MATLAB](./class-type-matlab.md) that also has 100 students enrolled.
68
+
69
+
Since our physical lab is shared by these two classes, each lab computer has both SolidWorks and MATLAB installed, along with various other common applications, such as Word, or Excel. Also, it’s important to note that SolidWorks is more compute-intensive since it typically requires a GPU.
70
+
71
+
To move this physical lab to Azure Lab Services:
72
+
73
+
- Create two labs: one for the engineering class and another for the math class.
74
+
- Create two VM images: one with SolidWorks installed and another with MATLAB.
75
+
76
+
Because SolidWorks requires a GPU, the engineering lab uses the **Small GPU (Visualization)** VM size. The lab for math class only requires a **Medium** VM size.
77
+
78
+
The following image shows how the lab structure changes when moving this physical lab to Azure Lab Services.
79
+
80
+
:::image type="content" source="./media/concept-migrating-physical-labs/physical-lab-to-lab-services.png" alt-text="Diagram that shows both the physical lab structure and the target lab structure in Azure Lab Services.":::
81
+
82
+
### Cost analysis
83
+
84
+
In this example, the cost per usage hour for the two VM sizes is substantially different:
85
+
86
+
- Small GPU (Visualization): provides high compute-power and as a result, the cost is 160 lab units per hour.
87
+
- Medium: provides less compute power but is suitable for many types of classes. The cost is only 55 lab units per hour.
88
+
89
+
By using separate labs and assigning the smallest appropriate VM size for each lab, you can save on the total cost for running the labs.
90
+
91
+
Consider a usage scenario where student uses their VM for a total of 10 hours:
92
+
93
+
- A single lab using the Small GPU (Visualization) size that is shared by students from both the engineering and math classes is estimated to have the following usage:
94
+
95
+
10 hours * 200 students * 160 lab units/hour = 320000 lab units
96
+
97
+
- Separate labs that use the Small GPU (Visualization) size for engineering and Medium size for math are estimated to have the following usage:
98
+
99
+
- Engineering class lab: 10 hours * 100 students * 160 lab units/hour = 160000
100
+
101
+
- Math class lab: 10 hours * 100 students * 55 lab units/hour = 55000
102
+
103
+
The total of both the engineering and math labs is 215000.
104
+
105
+
By using a more granular lab structure, the total savings for running the labs are 33%. Also, keep in mind that you only pay for the number of hours that your students actually use their VMs. If students use their VMs less, the actual costs will be lower.
106
+
107
+
>[!IMPORTANT]
108
+
> The cost estimate is for example purposes only. For current details on pricing, see [Azure Lab Services Pricing](https://azure.microsoft.com/pricing/details/lab-services/).
109
+
110
+
## Prepare for migrating to Azure Lab Services
50
111
51
-
- Optimize cost by selecting the right VM type for a class
52
-
- Single-purpose labs provide clarity for students, easier setup and maintenance
53
-
- Access control allows providing only access to software student needs
54
-
-
112
+
When you start using Azure Lab Services, IT and faculty should coordinate early in the planning process to:
55
113
56
-
(fine-grained)
114
+
- Identify the specific software applications that each class requires. Learn more about [lab software requirements](./setup-guide.md#what-software-requirements-does-the-class-have).
115
+
- Understand the workloads that students will perform using the lab.
57
116
58
-
## Advanced features
117
+
This information is needed to choose the appropriate VM size when you create a lab and to set up the image on the template VM. Learn more about [VM sizing in Azure Lab Services](./administrator-guide.md#vm-sizing).
59
118
60
-
- Quotas
61
-
- Schedules
62
-
- Access control
63
-
- Connect to on-premise resources
119
+
To ensure that you choose the appropriate VM size, we recommend starting with the minimum VM size that meets the hardware requirements for your applications. Then, have faculty connect to a lab VM to validate common workloads that students will perform to ensure the performance and experience is sufficient. It’s helpful to refer to the [Class Types](./class-types.md), which show real-world examples of how to set up applications for classes along with the recommended VM size.
64
120
65
-
## Conclusion
121
+
Also, [Azure Compute Gallery](./how-to-use-shared-image-gallery.md) is useful for creating and storing custom images. A compute gallery enables you to create an image once and reuse it to create multiple labs.
66
122
67
123
## Next steps
68
124
69
125
- Get started by [creating a lab plan](./quick-create-lab-plan-portal.md).
70
126
- Understand [cost estimation and analysis](./cost-management-guide.md).
127
+
- Understand the [lab requirements for a lab](./setup-guide.md#understand-the-lab-requirements-of-your-class).
128
+
- Learn more about [VM sizing in Azure Lab Services](./administrator-guide.md#vm-sizing).
0 commit comments