Ubuntu – the difference between PV and HVM virtualization types in ec2

amazon ec2pvUbuntuvirtualization

AWS EC2 offers two types of virtualization of Ubuntu Linux EC2 machines – PV and HVM.

PV:
enter image description here

HVM:
enter image description here

What is the difference between these types?

Best Answer

Amazon run on Xen, which provides Para-virtualization (PV) or Hardware-assisted virtualization (HVM).

Para-virtualization used to be the recommended choice, as it gave you better performance (with a much closer integration to the virtualization host, through patched specialized kernels/drivers on both the host and the guest).

Hardware-assisted virtualization uses the benefits provided in modern hardware, and it doesn't require any kind of custom kernel or patches. Recent benchmarks has proven that HVM is actually faster on certain workloads.