Microsoft Azure Nested Virtualization | VM in Nested VM in Azure VM
With the new Dv3 and Ev3 VM sizes Microsoft has released the Nested Virtualization, meaning you can simply have a Hyper-V VM inside an Azure VM. I have created a set of posts to explore the Nested Virtualization functionality. Of course nested virtualization is only supported in Windows Server 2016.
Microsoft Azure Nested Virtualization
After my main Microsoft Azure Nested Virtualization | Hyper-V VM inside Azure VM post, we saw two usage scenarios. One is running Hyper-V Replica and the other is running Web Server in nested VM on Azure. Now lets have some fun and try to run a VM nested inside a VM nested inside an Azure VM. As a fellow said, VM inception!
We will use again the nested VM that we created at the Microsoft Azure Nested Virtualization | Hyper-V VM inside Azure VM post. First we need to run two commands, one command to enable the virtualization and one to enable the MAC address spoofing. More details you can find at the Nested Virtualization Microsoft article
Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
Get-VMNetworkAdapter -VMName <VMName> | Set-VMNetworkAdapter -MacAddressSpoofing On
After running the above commands we can go to the Server Manger and add the Hyper-V role.
I just click next accepting all the defaults. One exception, I checked the NIC to use it for Virtual Switch.
Finally we have a Hyper-V VM that is nested inside a Hyper-V VM that is nested inside an Azure VM
Stay tuned for more usage scenarios for the Microsoft Azure Nested Virtualization!
Pantelis Apostolidis | [email protected]
The post Microsoft Azure Nested Virtualization | VM in Nested VM in Azure VM appeared first on Apostolidis IT Corner.