Nested virtualization on cloud

31 January, 2022
Back

Nested virtualization means running a VM inside another VM. Examples of virtual machines are VMware, KVM, VirtualBox (Oracle), and Hyper-V (Microsoft).

There are two types of hypervisors - type 1 and type 2.

Type 1, like Hyper-V, runs on bare metal. It runs when the host starts.

Type 2, like VirtualBox, runs on the host OS. It can be turned on and off independently from the hardware.

I wanted nested virtualization to install Minikube on the cloud because I didn't want it in my local.

nested-virtualization

Not all cloud VM however support nested virtualization.

Azure

Azure - Dv3 and Ev3 virtual machines support nested virtualization.

AWS

I can't seem to find any instances besides i3.metal that supports nested virtualization. It's in the range of the more expensive instances.


Back