|
| 1 | +--- |
| 2 | +title: Accelerated classroom lab setup guide for Azure Lab Services |
| 3 | +description: This guide helps lab creators quickly set up a lab account for use within their school. |
| 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: 3/18/2020 |
| 16 | +ms.author: spelluru |
| 17 | + |
| 18 | +--- |
| 19 | + |
| 20 | +# Classroom lab setup guide |
| 21 | + |
| 22 | +The process for publishing a lab to your students can take up to several hours depending on the number of virtual machines (VMs) that will be created in your lab. You should give yourself at least a day to set up a lab to ensure that it's working properly and to allow enough time to publish students' VMs. |
| 23 | + |
| 24 | +## Understand your class's lab requirements |
| 25 | + |
| 26 | +Before you set up a new lab, you should consider the following questions: |
| 27 | + |
| 28 | +**What software requirements does the class have?** |
| 29 | + |
| 30 | +Based on your class's learning objectives, you should decide which OS, applications, tools, etc. need to be installed on the lab's VMs. To set up lab VMs, you have three options: |
| 31 | + |
| 32 | +- **Use an Azure Marketplace image** – The Marketplace provides hundreds of images that you can use when creating a lab. For some classes, a marketplace image may already contain everything that you need for your class. |
| 33 | + |
| 34 | +- **Create a new custom image** - You may create your own custom image by using a marketplace image as a starting point and customizing it by installing additional software, making configuration changes, etc. |
| 35 | + |
| 36 | +- **Use an existing custom image** - You may reuse existing custom images that you previously created or that were created by other administrators or faculty at your school; this requires your administrators to have configured a Shared Image Gallery which is a repository for saving custom images. |
| 37 | + |
| 38 | +> [!NOTE] |
| 39 | +> Your administrators are responsible for enabling Marketplace and custom images so that you can use them; you will need to coordinate with your IT department to ensure that images that you need are enabled. Custom images that you create are automatically enabled for use within labs that you own. |
| 40 | +
|
| 41 | +**What hardware requirements does the class have?** |
| 42 | + |
| 43 | +There are a variety of compute sizes that you can choose from that includes: |
| 44 | + |
| 45 | +- Nested virtualization sizes so that you can give access to students to a VM that is capable of hosting multiple nested VMs; for example, this compute size is often used for Networking courses. |
| 46 | + |
| 47 | +- GPU sizes so that your students can use computer-intensive types of applications, such as for Artificial Intelligence and Machine Learning. |
| 48 | + |
| 49 | +Refer to the guide on [VM sizing](https://docs.microsoft.com/azure/lab-services/classroom-labs/administrator-guide#vm-sizing) to see the complete list of available compute sizes. |
| 50 | + |
| 51 | +> [!NOTE] |
| 52 | +> Depending on the region you select for your lab, you may see fewer compute sizes available since this varies by region. If you need to create a lab using a large number of GPU VMs, you should coordinate with your account specialist to submit a request to ensure that the number VMs are available within your region. Our general recommendation is to select the smallest compute size that is closest to your needs. With Lab Services, you can easily set up a new lab with a different compute capacity later if needed. |
| 53 | +
|
| 54 | +**What dependencies does the class have on external Azure or network resources?** |
| 55 | + |
| 56 | +If your lab VMs need to use external resources, such as a database, file share, licensing server, etc. you will need to coordinate with your administrators to ensure that your lab has access to these resources. |
| 57 | + |
| 58 | +For access to Azure resources that are *not* secured by a virtual network, then you can access these resources via the public internet without any additional configuration by your administrators. |
| 59 | + |
| 60 | +> [!NOTE] |
| 61 | +> You should consider whether you can reduce your lab's dependencies to external resources by providing the resource directly on the VM. For example, to eliminate the need to read data from an external database, you could install the database directly on the VM. |
| 62 | +
|
| 63 | +**How will costs be controlled?** |
| 64 | + |
| 65 | +Lab Services uses a pay-as-you go pricing model which means that you only pay for the time that a lab VM is running. To control costs, you have three options that are typically used in conjunction with one another: |
| 66 | + |
| 67 | +- **Schedule** - A schedule allows you to automatically control when your labs' VMs are started and shut down. |
| 68 | +- **Quota** - The quota controls the number of hours that students will have access to a VM outside of the scheduled hours. If the quota is reached while a student is using it, the VM is automatically shut down and the student is not able to restart the VM unless the quota is increased. |
| 69 | +- **Auto-shutdown** - When enabled, the auto-shutdown setting causes Windows VMs to automatically shut down after a certain length of time once a student has disconnected from their RDP session. By default, this setting is disabled. |
| 70 | + |
| 71 | + > [!NOTE] |
| 72 | + > This setting currently only exists for Windows. |
| 73 | +
|
| 74 | +**How will students connect to their VM?** |
| 75 | + |
| 76 | +For RDP to Windows VMs, we recommend students use [Microsoft Remote Desktop client](https://docs.microsoft.com/windows-server/remote/remote-desktop-services/clients/remote-desktop-clients). Remote Desktop client supports Macs, Chromebooks, and Windows. |
| 77 | + |
| 78 | +For Linux VMs, students may use either SSH or RDP. To connect using RDP, you are responsible for installing and configuring the necessary RDP and GUI packages. More details on this is provided below. |
| 79 | + |
| 80 | +## Set up your lab |
| 81 | + |
| 82 | +Once you understand the requirements for your class's lab, you are ready to set it up. Follow the links in this section to see how to set up your lab. |
| 83 | + |
| 84 | +1. **Create a lab** |
| 85 | + |
| 86 | + Refer to the tutorial on [creating a classroom lab](https://docs.microsoft.com/azure/lab-services/classroom-labs/tutorial-setup-classroom-lab#create-a-classroom-lab) for instructions. |
| 87 | + |
| 88 | + > [!NOTE] |
| 89 | + > If your class requires nested virtualization, refer to steps in the how-to guide that shows [enabling nested virtualization](https://docs.microsoft.com/azure/lab-services/classroom-labs/how-to-enable-nested-virtualization-template-vm). |
| 90 | +
|
| 91 | +1. **Customize images and publish lab VMs** |
| 92 | + |
| 93 | + To customize images and publish VMs in your lab, you connect to a special VM called the template VM; refer to steps to the following guides: |
| 94 | + - [Create and manage a template VM](https://docs.microsoft.com/azure/lab-services/classroom-labs/tutorial-setup-classroom-lab#publish-the-template-vm) |
| 95 | + - [Use a Shared Image Gallery](https://docs.microsoft.com/azure/lab-services/classroom-labs/how-to-use-shared-image-gallery) |
| 96 | + |
| 97 | + > [!NOTE] |
| 98 | + > If you are using Windows, you should also refer to instructions in the how-to guide for [preparing a Windows template VM](https://docs.microsoft.com/azure/lab-services/classroom-labs/how-to-prepare-windows-template). These instructions include steps for setting up OneDrive and Office for your students to use. |
| 99 | +
|
| 100 | +1. **Manage VM pool and capacity** |
| 101 | + |
| 102 | + You can easily scale up or down VM capacity as needed by your class. Keep in mind that increasing the VM capacity may take several hours since this involves setting up new VMs. Refer to steps in the how-to guide for [setting up and managing a VM pool](https://docs.microsoft.com/azure/lab-services/classroom-labs/how-to-set-virtual-machine-passwords). |
| 103 | + |
| 104 | +1. **Add and manage lab users** |
| 105 | + |
| 106 | + To add users to your lab, refer to steps in the following tutorials: |
| 107 | + - [Add users to the lab](https://docs.microsoft.com/azure/lab-services/classroom-labs/tutorial-setup-classroom-lab#add-users-to-the-lab) |
| 108 | + - [Send invitations to users](https://docs.microsoft.com/azure/lab-services/classroom-labs/tutorial-setup-classroom-lab#send-invitation-emails-to-users) |
| 109 | + |
| 110 | + Also, refer to the following article for information on the types of accounts that students can use: |
| 111 | + - [Student accounts](https://docs.microsoft.com/azure/lab-services/classroom-labs/how-to-configure-student-usage#student-accounts) |
| 112 | + |
| 113 | +1. **Set cost controls** |
| 114 | + |
| 115 | + To control the costs of your lab, set schedules, quotas, and auto-shutdown; refer to instructions in the following tutorials: |
| 116 | + |
| 117 | + - [Set a schedule](https://docs.microsoft.com/azure/lab-services/classroom-labs/tutorial-setup-classroom-lab#set-a-schedule-for-the-lab) |
| 118 | + > [!NOTE] |
| 119 | + > Depending on the type of OS you have installed, a VM may take several minutes to start. To ensure that a lab VM is ready for use during your scheduled hours, we recommend that you start VMs 30 minutes in advance to ensure that VMs are running and ready for use. |
| 120 | +
|
| 121 | + - [Set quotas for users](https://docs.microsoft.com/azure/lab-services/classroom-labs/how-to-configure-student-usage#set-quotas-for-users) and [set additional quota for a specific user](https://docs.microsoft.com/azure/lab-services/classroom-labs/how-to-configure-student-usage#set-additional-quota-for-a-specific-user) |
| 122 | + |
| 123 | + - [Enable automatic shutdown on disconnect](https://docs.microsoft.com/azure/lab-services/classroom-labs/how-to-enable-shutdown-disconnect) |
| 124 | + |
| 125 | + > [!NOTE] |
| 126 | + > Schedules, quotas, and automatic shutdown do *not* apply to the template VM. As a result, you must ensure that you shut down the template VM when it's not being used otherwise it will continue to incur costs. Also, by default, when you create a lab, the template VM is automatically started, so you'll want to make sure that you immediately finish setting up the lab and shutdown the template VM. |
| 127 | +
|
| 128 | +1. **Use dashboard** |
| 129 | + |
| 130 | + Refer to the how-to guide on [using the lab's dashboard](https://docs.microsoft.com/azure/lab-services/classroom-labs/use-dashboard) for instructions. |
| 131 | + |
| 132 | + > [!NOTE] |
| 133 | + > The estimated costs shown in the dashboard is the maximum cost that you can expect for students usage of the lab. For example, you will *not* be charged for unused quota hours by your students. The estimated costs do *not* reflect any charges for using the template VM or the Shared Image Gallery. |
| 134 | +
|
| 135 | +## Next steps |
| 136 | + |
| 137 | +See the following articles: |
| 138 | + |
| 139 | +- [Track usage of a classroom lab](tutorial-track-usage.md) |
| 140 | + |
| 141 | +- [Access a classroom lab](tutorial-connect-virtual-machine-classroom-lab.md) |
0 commit comments