Does the size of a VM matter for image capture?

Malinda Davis 1 Reputation point
2022-09-15T00:24:33.973+00:00

Hello,

I'm trying to figure out if the size of a VM I'm using to create an image matters. For instance, if I'm making a generalized Windows 10 image that I expect to be used for a AVDs sized to have 4 CPUs/16 RAM, does it matter if I capture the image from a VM that's smaller? Like a VM that only has 2CPU/8RAM? I wasn't sure if there are any details captured about the size of the VM into the image that would make a difference.

Thanks

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,763 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Prrudram-MSFT 23,951 Reputation points
    2022-09-19T10:52:32.087+00:00

    Hello @Malinda Davis ,

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    As suggested by @Rafael da Rocha , you can create an image with any VM size. Custom images are like marketplace images, but you create them yourself. Images can be created from a VM, VHD, snapshot, managed image, or another image version. Later when you create a VM from the image you can choose a VM SKU/size of your choice, irrespective of the actual image's size.

    Note: If you are creating an image in a shared gallery, using a source that was originally created from an Azure Marketplace image, you may need to keep track of purchase plan information. This article shows how to find purchase plan information for a VM, then use that information when creating an image definition.

    Reference: https://learn.microsoft.com/en-us/azure/virtual-machines/image-version?tabs=portal

    --please don't forget to upvote and accept as answer if the reply is helpful--

    3 people found this answer helpful.

  2. Rafael da Rocha 5,091 Reputation points
    2022-09-15T02:29:20.77+00:00

    You can capture the image from any VM size.
    You can then set the recommended vCPUs and memory for the image definition, if there are any.
    When creating a new VM from the image, you'll be asked the size of the VM to create

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.