Thursday, 20 July 2017

How to create Nested Virtualization in Azure.


Azure Nested Virtualization


Azure announced nested virtualization with Dv3 & Ev3 series, on July 13, 2017. And will continue to expand support to more VM sizes in the coming months.















Prerequisites
  • A Hyper-V host running Windows Server 2016 or Windows 10 Anniversary Update.
  • A Hyper-V VM running Windows Server 2016 or Windows 10 Anniversary Update.
  • A Hyper-V VM with configuration version 8.0 or greater.
  • An Intel processor with VT-x and EPT technology.
 Login to you Azure Subscription, and create virtual machine as follows.
Select Windows server 2016,  


































Please select proper location because as of now Nested Virtualization supports only certain locations. For more information on locations support NV please Click














Select the VM Size, As of now Azure Nested Virtualization supports only DV3 & EV3 series. So please select your VM size carefully. Here I am selecting D8S_V3. and other parameters as usual. And it will take approx. 4 to 5 min to provision.














Once VM provision, Login to VM and Install Hyper-V Service. 

















































Once the installation done, your host machine will restart. After restart login back to VM and open Hyper-V Manager.





Network for Guest VM.

Open Hyper-V Manager and Click on Virtual switch manager and create one Internal Network.































Click on newly created network and assign IP address. My case I gave 192.168.0.1
 





















Now Download windows 10 and install.
Meanwhile you need to install DHCP services to your host VM and configure the same IP range which you already assigned to your host VM additional Virtual internal network.
So that it will release IP to your Guest VM, if this doesn’t work please run below script on PowerShell.

New-NetNat -Name MyNATnetwork -InternalIPInterfaceAddressPrefix 192.168.0.0/24



                                                             Enjoy your Nested VM😊

Note: Please comment if anything not working or you face any issues...
 
 
 





No comments:

Post a Comment

Get SSL Certificate Expiry Notification on Mail.

 There are multiple ways to get SSL Certification expiry details/alert. We all know if our SSL certificate get expire, how critical situatio...