How To Create Azure Virtual Machine Using A Snapshot

The Virtual machine snapshots are the best way to clone the Virtual machine without any interruption; at the same time, we can use the snapshot to create multiple VM's. We can also consider that a VM snapshot is the copy of the disk file of our Virtual machine. The VM snapshots are very helpful to recover our virtual machine from a disaster. In this article, we are going to learn how to create a Virtual machine using the snapshot.

Step 1

We have one Virtual machine called “Source-VM,” and that VM has already installed the IIS server. We are going to take the snapshot from this running VM.

How to create Azure Virtual Machine using a Snapshot

Step 2

To verify that IIS services are running, copy the Source-VMs IP address and past it to the internet browser. Now we can see that the IIS server is running in the Source-VM.

How to create Azure Virtual Machine using a Snapshot

Step 3

Select Disks under the Settings, and then select OS disk (Source-VM_disk1).

How to create Azure Virtual Machine using a Snapshot

Step 4

In the Overview, click the + Create snapshot to start the snapshot creation.

How to create Azure Virtual Machine using a Snapshot

Step 5

In the Create snapshot page, enter the snapshot name, then select the Storage type as Standard HDD because of the cost, and then click Review+ create.

How to create Azure Virtual Machine using a Snapshot

Step 6

Now the snapshot has been created, and we can verify the status.

How to create Azure Virtual Machine using a Snapshot

Step 7

After successfully created the snapshot, we have to create the managed disk, so click + Create.

How to create Azure Virtual Machine using a Snapshot

Step 8

In the Create a resource search box, type Managed Disk and then select it.

How to create Azure Virtual Machine using a Snapshot

Step 9

Click Create to start the Managed disk deployment process.

How to create Azure Virtual Machine using a Snapshot

Step 10

Enter the name for the managed disk and then select the Source type as Snapshot.

How to create Azure Virtual Machine using a Snapshot

Step 11

In the Source snapshot, select the snapshot that we had created (snapshot-SourceVM).

How to create Azure Virtual Machine using a Snapshot

Step 12

After successfully select the Source disk, click Review + create.

How to create Azure Virtual Machine using a Snapshot

Step 13

After successfully deploying the Managed disk, select the managed disk (ManagedDisk-SourceVM); in the Overview, click + Create VM.

How to create Azure Virtual Machine using a Snapshot

Step 14

In the Create a virtual machine page, enter the virtual machine's name, and then you can find that our Managed disk is automatically selected in the Image option.

How to create Azure Virtual Machine using a Snapshot

Step 15

We need to select the License type; in this scenario, our source VMs Operating system is a Windows server, so select the Windows server.

How to create Azure Virtual Machine using a Snapshot

Step 16

On the Networking page, we can select the existing Virtual Network or create the new Virtual network and link it to the new or existing network. After that, we can directly click Create + Review.

How to create Azure Virtual Machine using a Snapshot

Step 17

We have successfully deployed the new Virtual machine using our Snapshot, and now we can test our Virtual machine, so copy the Public IP address.

How to create Azure Virtual Machine using a Snapshot

Step 18

We have to add port 80 and port 443 to the Network security group.

How to create Azure Virtual Machine using a Snapshot

Step 19

We have successfully deployed the copy of the source VM using the snapshot.

How to create Azure Virtual Machine using a Snapshot

Summary

In this article, we have learned how to deploy the Virtual machine using the snapshot in the same region; in our next article, we will learn how to use our snapshot in a different region.


Similar Articles
IFS R&D International (Private) Limited
IFS is a global enterprise software vendor providing solutions that help companies get better return