Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

Restore a VM to Azure from Veeam

  • November 21, 2019
  • 7 min read
IT and Virtualization Consultant. Romain is specializing in Microsoft technologies such as Hyper-V, System Center, storage, networking, and MS Azure. He is a Microsoft MVP and MCSE in Server Infrastructure and Private Cloud.
IT and Virtualization Consultant. Romain is specializing in Microsoft technologies such as Hyper-V, System Center, storage, networking, and MS Azure. He is a Microsoft MVP and MCSE in Server Infrastructure and Private Cloud.


Veeam enables to restore a VM to Azure from the latest recovery point. The main goal of this feature is disaster recovery. In case of failure, you can restart VMs in Azure. This feature can also be used to migrate the workload from On-Prem to Microsoft Azure. You can also restore a VM in Amazon EC2. In this topic, we’ll see how to restore a VM from Veeam to Microsoft Azure.

Requirements

To follow this topic, you need the following requirements:

  • An active Azure Subscription
  • A deployed virtual network
  • A deployed Storage Account
  • Veeam Backup & Replication 9.5 U4a

Create a Cloud Credentials in Veeam

Open the following menu and select Manage Cloud Credentials.

Manage Cloud Credentials

Then click on Add and select Microsoft Azure compute account.

Microsoft Azure compute account

On the initial configuration screen, just click on next.

The initial configuration

As you can see in the following screenshot, you can restore a VM in Microsoft Azure or in Microsoft Azure Stack. For this example, I choose Microsoft Azure.

Deployment type

Next click on Configure Account.

Configure Account

The first time you create Cloud credentials, you may have the following error. Veeam needs Azure Powershell installed. So, click on this link and the Azure PowerShell cmdlet (of 2017…) will be installed. I don’t know if the current Azure PowerShell module works.

Azure PowerShell dialogue

Once the module is installed, restart the Veeam console and start again the Cloud Credentials wizard. Then click again on Configure account. A pop-up should raise asking you Azure credentials.

Finally, click on finish to create the Cloud credentials.

Cloud credentials

Restore a VM to Microsoft Azure

Now that cloud credentials are created, you can run the restore to Microsoft Azure. Pick a VM, right click on it. Then select Restore to Microsoft Azure.

Restore to Microsoft Azure

Select your Azure subscription and the location and click on Next.

Select the Azure subscription and the location

Select the VM and click on Edit to choose the VM Size and the storage account.

VM Size

VM Size detailed

Once you selected the VM Size and the storage account, you can choose which disks you restore in Azure. Then just click on Next.

Choose the disks you restore in Azure

Then you need to specify the resource group. Click on edit.

Resource group

Veeam lets you choose an existing resource group or you can also create a new resource group.

Rreate a new resource group

Next, you need to configure the network. The network button enables you to configure the virtual network while the group button enables you to configure a Network Security Group.

Network Security Group

Network - Subnet

Before the VM is restored, Veeam can scan the restore point to verify if there is no malware, especially ransomware.

Secure restore

After that you can specify a reason for the restore. Then click on Next to finish the wizard.

Specify a reason for the restore

Once the wizard is closed, a statistic window raises. The restore process can take a while, depending on your internet bandwidth.

VM restore progress

Once the process is finished, you VM should be running in Microsoft Azure as below:

VM is running in Microsoft Azure

Conclusion

Veeam provides an easy way to restore VMs to Microsoft Azure. However, some options are not available such as managed disks. Currently you can only restore disks in a storage account. But apart from that, this tool makes it easy to migrate to Microsoft Azure from a restore point even for a disaster recovery scenario.

Found Romain’s article helpful? Looking for a reliable, high-performance, and cost-effective shared storage solution for your production cluster?
Dmytro Malynka
Dmytro Malynka StarWind Virtual SAN Product Manager
We’ve got you covered! StarWind Virtual SAN (VSAN) is specifically designed to provide highly-available shared storage for Hyper-V, vSphere, and KVM clusters. With StarWind VSAN, simplicity is key: utilize the local disks of your hypervisor hosts and create shared HA storage for your VMs. Interested in learning more? Book a short StarWind VSAN demo now and see it in action!