Microsoft Azure Nested Virtualization | VM in Nested VM in Azure VM
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