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/how-to-attach-detach-shared-image-gallery.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,19 +12,23 @@ ms.workload: na
12
12
ms.tgt_pltfrm: na
13
13
ms.devlang: na
14
14
ms.topic: article
15
-
ms.date: 02/24/2020
15
+
ms.date: 05/08/2020
16
16
ms.author: spelluru
17
17
18
18
---
19
19
# Attach or detach a shared image gallery in Azure Lab Services
20
-
Teachers/lab admin can save a template VM image in an Azure [shared image gallery](../../virtual-machines/windows/shared-image-galleries.md) for it to be reused by others. As a first step, the lab admin attaches an existing shared image gallery to the lab account. Once the shared image gallery is attached, labs created in the lab account can save images to the shared image gallery. Other teachers can select this image from the shared image gallery to create a template for their classes.
20
+
This article shows you how to attach or detach a shared image gallery to a lab account.
21
21
22
-
When an image is saved to a shared image gallery, Azure Lab Services replicates the saved image to other regions available in the same [geography](https://azure.microsoft.com/global-infrastructure/geographies/). It ensures that the image is available for labs created in other regions in the same geography. Saving images to a shared image gallery incurs an additional cost, which includes cost for all replicated images. This cost is separate from the Azure Lab Services usage cost. For more information about Shared Image Gallery pricing, see [Shared Image Gallery – Billing](https://docs.microsoft.com/azure/virtual-machines/windows/shared-image-galleries#billing).
22
+
## Scenarios
23
+
Here are the couple of scenarios supported by this feature:
23
24
24
-
This article shows you how to attach or detach a shared image gallery to a lab account.
25
+
- A lab account admin attaches a shared image gallery to the lab account, and uploads an image to the shared image gallery outside the context of a lab. Then, lab creators can use that image from the shared image gallery to create labs.
26
+
- A lab account admin attaches a shared image gallery to the lab account. A lab creator (instructor) saves the customized image of his/her lab to the shared image gallery. Then, other lab creators can select this image from the shared image gallery to create a template for their labs.
27
+
28
+
When an image is saved to a shared image gallery, Azure Lab Services replicates the saved image to other regions available in the same [geography](https://azure.microsoft.com/global-infrastructure/geographies/). It ensures that the image is available for labs created in other regions in the same geography. Saving images to a shared image gallery incurs an additional cost, which includes cost for all replicated images. This cost is separate from the Azure Lab Services usage cost. For more information about Shared Image Gallery pricing, see [Shared Image Gallery – Billing](https://docs.microsoft.com/azure/virtual-machines/windows/shared-image-galleries#billing).
25
29
26
-
> [!NOTE]
27
-
> Currently, Azure Lab Services supports creation of template VMs based on only**generalized**VM images (not specialized images) in a shared image gallery.
30
+
> [!NOTE]
31
+
> Azure Lab Services supports creation of template VMs based on both**generalized**and **specialized** images in a shared image gallery.
Copy file name to clipboardExpand all lines: articles/lab-services/classroom-labs/how-to-use-shared-image-gallery.md
+19-5Lines changed: 19 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,24 @@ ms.workload: na
12
12
ms.tgt_pltfrm: na
13
13
ms.devlang: na
14
14
ms.topic: article
15
-
ms.date: 02/24/2020
15
+
ms.date: 05/08/2020
16
16
ms.author: spelluru
17
17
18
18
---
19
19
# Use a shared image gallery in Azure Lab Services
20
-
This article shows how teachers/lab admin can save a template virtual machine image for it to be reused by others. These images are saved in an Azure [shared image gallery](../../virtual-machines/windows/shared-image-galleries.md). As a first step, the lab admin attaches an existing shared image gallery to the lab account. Once the shared image gallery is attached, labs created in the lab account can save images to the shared image gallery. Other teachers can select this image from the shared image gallery to create a template for their classes.
20
+
This article shows how teachers/lab admin can save a template virtual machine image to a [shared image gallery](../../virtual-machines/windows/shared-image-galleries.md) so that it can be used by others to create labs.
21
+
22
+
## Scenarios
23
+
Here are the couple of scenarios supported by this feature:
24
+
25
+
- A lab account admin attaches a shared image gallery to the lab account, and uploads an image to the shared image gallery outside the context of a lab. Then, lab creators can use that image from the shared image gallery to create labs.
26
+
- A lab account admin attaches a shared image gallery to the lab account. A lab creator (instructor) saves the customized image of his/her lab to the shared image gallery. Then, other lab creators can select this image from the shared image gallery to create a template for their labs.
27
+
28
+
When an image is saved to a shared image gallery, Azure Lab Services replicates the saved image to other regions available in the same [geography](https://azure.microsoft.com/global-infrastructure/geographies/). It ensures that the image is available for labs created in other regions in the same geography. Saving images to a shared image gallery incurs an additional cost, which includes cost for all replicated images. This cost is separate from the Azure Lab Services usage cost. For more information about Shared Image Gallery pricing, see [Shared Image Gallery – Billing](https://docs.microsoft.com/azure/virtual-machines/windows/shared-image-galleries#billing).
29
+
30
+
> [!NOTE]
31
+
> Azure Lab Services supports creation of template VMs based on both **generalized** and **specialized** images in a shared image gallery.
21
32
22
-
> [!NOTE]
23
-
> Currently, Azure Lab Services supports creation of template VMs based on only **generalized** VM images (not specialized images) in a shared image gallery.
24
33
25
34
## Prerequisites
26
35
- Create a shared image gallery by using either [Azure PowerShell](../../virtual-machines/windows/shared-images.md) or [Azure CLI](../../virtual-machines/linux/shared-images.md).
@@ -43,7 +52,12 @@ After a shared image gallery is attached, a lab account admin or a teacher can s
You can also upload an image to the shared image gallery outside the context of a lab. For more information, see [Shared image gallery overview](../../virtual-machines/windows/shared-images.md).
55
+
> [!NOTE]
56
+
> After you save the image to the shared image gallery, you can use that image from the gallery when creating another lab.
57
+
>
58
+
> You can also upload an image to the shared image gallery outside the context of a lab. For more information, see [Shared image gallery overview](../../virtual-machines/windows/shared-images.md).
59
+
60
+
47
61
48
62
## Use an image from the shared image gallery
49
63
A teacher/professor can pick a custom image available in the shared image gallery for the template during new lab creation.
0 commit comments