


As the next step of the configuration, I am going to create a new virtual machine under REBELRG1 resource group.

It also has a new subnet 10.0.2.0/24 (vmsubnet) for virtual machinesĤ. In the above, REBELVN1 is the new virtual network name. New-AzVirtualNetwork -Name REBELVN1 -ResourceGroupName REBELRG1 -Location “East US” -AddressPrefix “10.0.0.0/16” -Subnet $vmsubnet $vmsubnet = New-AzVirtualNetworkSubnetConfig -Name vmsubnet -AddressPrefix “10.0.2.0/24” The next step is to create a new virtual network under REBELRG1 resource group. In the above, REBELRG1 is the resource group names and East US is the Azure region.ģ. New-AzResourceGroup -Name REBELRG1 -Location “East US” Launch PowerShell console and connect to Azure using Connect-AzAccount as Global AdministratorĢ. Let’s start the configuration process by creating a new resource group.ġ. Log in to this new Azure windows virtual machine and verify it has the test files created in original VM. Create another virtual machine using the snapshotħ. Log in to the new virtual machine and create few test filesĦ. More info about it available on this link.Īs part of the configuration, I am going to do following,Ĥ. Therefore, please make sure you have an Azure PowerShell module installed. The same method also can use to test application upgrades or risky changes without affecting production servers. In this demo, I am going to demonstrate how we can create an Azure windows virtual machine from a snapshot.įor the configuration process, I will be using PowerShell. The best way to do that is to create a virtual machine from the snapshot and then retrieve the relevant data.

There are situations where we may need to get certain data out from snapshot without restoring a complete virtual machine. Snapshot is a copy of the virtual machines’ disk file at a given point of time. Virtual Machine Snapshots are the quickest way to recover a virtual machine from a disaster.
