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/devtest-labs/configure-shared-image-gallery.md
+22-6Lines changed: 22 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,18 +19,18 @@ This article describes how to attach a shared image gallery to your lab. Users c
19
19
20
20
## Explore shared image galleries
21
21
22
-
Some of the benefits of using a shared image gallery include:
22
+
Some of the benefits of using a shared image gallery with DevTest Labs include:
23
23
24
24
- Manage global replication of images
25
25
- Apply versioning and grouping for images to enable easier management
26
26
- Access highly available images with Zone Redundant Storage (ZRS) accounts in regions that support availability zones for better resilience against zonal failures
27
27
- Share images across subscriptions and between tenants by using role-based access control (RBAC)
28
28
29
-
There are some considerations to keep in mind when working with a shared gallery:
29
+
Keep in mind the following considerations when working with a shared gallery:
30
30
31
-
- You can attach only one shared image gallery to your lab at a time. To attach a different gallery, first detach the current gallery.
31
+
- You can attach only one shared image gallery to your lab at a time. To attach a different gallery, you must first detach the current gallery.
32
32
- You can only select images from an attached gallery through DevTest Labs. You can't upload images or change the images in the gallery through DevTest Labs.
33
-
- When you create a VM from a shared image, DevTest Labs uses the latest published version of the image in the attached gallery. If an image has multiple versions, you can choose an earlier version on the **Advanced Settings** tab during VM creation.
33
+
- When you create a VM from a shared image, DevTest Labs uses the latest published version of the image in the attached gallery. If an image has multiple versions, you can choose an earlier version under **Advanced Settings** during VM creation.
34
34
- DevTest Labs attempts to replicate all images in the attached gallery to the lab region. Sometimes, replication isn't possible. To avoid users having issues when creating VMs from images, ensure the images in the attached gallery fully replicate to the lab region.
35
35
36
36
To learn about costs associated with using a shared image gallery, see [Billing for Azure Compute Gallery](../virtual-machines/azure-compute-gallery.md#billing).
@@ -49,13 +49,17 @@ Follow these steps to attach a shared image gallery to your DevTest Labs resourc
49
49
50
50
1. Select **Attach** to add an existing shared image gallery to your lab.
51
51
52
-
1. In the **Attach gallery** dropdown list, select the shared image gallery to add to your lab, and then select **OK**:
52
+
1. In the **Attach existing gallery** dropdown list, select the shared image gallery to add to your lab, and then select **OK**:
53
53
54
54
:::image type="content" source="./media/configure-shared-image-gallery/attach-gallery.png" border="false" alt-text="Screenshot that shows how to attach a shared image gallery to a lab.":::
55
55
56
56
1. After DevTest Labs attaches the gallery to your lab, you can select the gallery name to see the full list of images:
57
57
58
-
:::image type="content" source="./media/configure-shared-image-gallery/view-allowed-images.png" alt-text="Screenshot that shows the list of images in the shared gallery with indicators to show the allowed images for VM creation.":::
58
+
:::image type="content" source="./media/configure-shared-image-gallery/view-attached-gallery.png" alt-text="Screenshot that shows how to see the list of all images in the attached shared gallery for the lab.":::
59
+
60
+
The **Shared images** page opens:
61
+
62
+
:::image type="content" source="./media/configure-shared-image-gallery/view-allowed-images.png" alt-text="Screenshot of the list of images in the shared gallery with checkbox indicators to show the images allowed for VM creation.":::
59
63
60
64
## Control available images
61
65
@@ -81,6 +85,18 @@ The gallery images are included in the list of available options in the **Choose
81
85
82
86
:::image type="content" source="./media/configure-shared-image-gallery/lab-users.png" alt-text="Screenshot that shows the list of available images for the VM instance, including the allowed images from the attached gallery.":::
83
87
88
+
## Detach current shared image gallery
89
+
90
+
A lab can have only one attached shared image gallery at a time. If your lab has an attached gallery and you want to use a different gallery, you need to detach the existing gallery and then attach the other gallery.
91
+
92
+
1. On the **Configuration and policies** page for your lab, go to the **Virtual machine bases** > **Shared Image Galleries** screen.
93
+
94
+
1. Select **More options** (...) for the attached gallery and select **Detach**:
95
+
96
+
:::image type="content" source="./media/configure-shared-image-gallery/detach-gallery.png" alt-text="Screenshot that shows how to detach the current shared image gallery from the lab.":::
97
+
98
+
The **Detach** option is also available on the **Shared images** page for the attached gallery.
99
+
84
100
## Attach gallery by using template
85
101
86
102
You can use an Azure Resource Manager (ARM) template to attach a shared image gallery to your lab. You need to add the gallery as a resource for your ARM template, as shown in the following example:
0 commit comments