what are the different ways to clone a VM in azure?

Elisha George 146 Reputation points
2022-01-14T05:27:41.277+00:00

what are the different ways to clone a VM in azure

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

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 25,121 Reputation points
    2022-01-14T07:59:27.76+00:00

    @Elisha George

    You can clone a Azure VM in multiple ways,

    VM Image Capture: If it is a Windows VM, then run sysprep for generalizing the windows installation.
    Ref:
    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource
    https://learn.microsoft.com/en-us/azure/virtual-machines/capture-image-portal

    VM Disk Snapshot: You can create a snapshot of a VHD and then create a managed disk from the snapshot and deploy VM.
    Ref:
    https://learn.microsoft.com/en-us/azure/virtual-machines/snapshot-copy-managed-disk?tabs=portal#create-a-snapshot-of-a-vhd
    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/create-vm-specialized-portal

    Hope this helps.
    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.

    4 people found this answer helpful.