Clone Linux VM for testing

Lucas Escudero 191 Reputation points

Good afternoon community.

I have a Linux VM currently with a software in production.

How can I clone this virtual machine exactly the same with the same services for testing without stopping the server.

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

Accepted answer
  1. Andreas Baumgarten 103.4K Reputation points MVP

    Hi @Lucas Escudero ,

    cloning a VM in Azure is possible via Azure Portal.

    Select the VM and navigate and select the disk.

    Click on Create Snapshot.

    From the created Snapshot you can Create a Managed Disk(Select Source Type Snapshot and select the created Snapshot as Source).

    From this Managed Disk you can create a new VM. In the Azure Portal navigate to Disks, select the created Managed Disk and click on Create VM .

    I would recommend to create the VM using a subnet that is not connect to the same network the original VM is connected with. Otherwise you may run in trouble if bot identical VMs are started.

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)


    Andreas Baumgarten

0 additional answers

Sort by: Most helpful