This tutorial demonstrates how to capture the image of a virtual machine in Azure.
In Azure, an image is essentially a template or blueprint for a virtual machine (VM). It includes the operating system, installed programs, settings, and configurations needed to create a replica of a VM. When you create a VM from an image, a copy of the virtual hard disks (VHDs) in the image is used to create the disks for the new VM.
Table of content
Step 1: Create a compute gallery.
Step 2: Capture and store VM's image.
Step 1: Create a compute gallery
- Logon to Azure porter
- On the homepage, search for Azure compute galleries
- Select + create
- Enter subscription details and Instance details
- Select resource group that contains the VM to be captured
- Enter a suitable name and description
- review and create
- create
- Notice resource has been completely deployed. Go to resource.
Step 2: Capture and store VM's image.
- Navigate into the VM previously created, with the added and formatted disc.
- Click capture and image from the drop down menu
- Enter the Target azure gallery name is the one just created.
- Select new in the Target VM image definition
- Enter VM image definition name and click ok
- As this is the first image of the VM, set the version number to 0.0.1. Review and create.
- create
- Wait for the resource to deploy .
The image has been successfully captured and saved.
Please drop comments and questions in the comments section.
Top comments (0)