Share via

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

Elisha George 151 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.

0 comments No comments

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,537 Reputation points Moderator
    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.

    6 people found this answer helpful.

Your answer

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