Skip to content

Commit d3d5162

Browse files
committed
Azure Compute Gallery image for Azure Local VMs
1 parent aa6cf23 commit d3d5162

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

azure-local/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ items:
227227
items:
228228
- name: Using Azure Marketplace images
229229
href: manage/virtual-machine-image-azure-marketplace.md
230+
- name: Using Azure Compute Gallery images
231+
href: manage/virtual-machine-image-azure-compute-gallery.md
230232
- name: Using images in Azure Storage account
231233
href: manage/virtual-machine-image-storage-account.md
232234
- name: Using images in local share
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Create Azure Local VM from Azure Compute gallery images via Azure CLI
3+
description: Learn how to create Azure Local VM images using Azure Compute gallery images.
4+
author: sipastak
5+
ms.author: sipastak
6+
ms.topic: how-to
7+
ms.service: azure-local
8+
ms.custom:
9+
- devx-track-azurecli
10+
ms.date: 05/06/2025
11+
---
12+
13+
# Create Azure Local VM image using Azure Compute Gallery images
14+
15+
[!INCLUDE [hci-applies-to-23h2](../includes/hci-applies-to-23h2.md)]
16+
17+
This article describes how to create virtual machine (VM) images for Azure Local using source images from Azure Marketplace. You can create VM images using the Azure portal or Azure CLI and then use these VM images to create Arc VMs on Azure Local.
18+
19+
## Prerequisites
20+
21+
Before you begin, make sure that the following prerequisites are completed.
22+
23+
- Make sure to review and [complete the prerequisites](./azure-arc-vm-management-prerequisites.md).
24+
25+
## Export image to managed disk
26+
27+
To transfer your Azure compute gallery image to be an Azure Local compatible image, you export your Azure Compute Gallery image version to a managed disk.
28+
29+
Follow these steps to create a VM image using the Azure CLI.
30+
31+
## Create Azure Local image
32+
33+
[Create Azure Local VMs enabled by Azure Arc in Azure Storage account](virtual-machine-image-storage-account.md#set-some-parameters)
34+
35+
## Delete managed disk
36+
37+
To avoid costs associated with a disk, make sure to delete the managed disk that was used to create this image.
38+
39+
## Next steps
40+
41+
- [Create logical networks](./create-virtual-networks.md)

0 commit comments

Comments
 (0)