In the last post we saw about Virtualization and in this post we will see about the types below

First we will see about a Hypervisor

Hypervisor is a software layer sits between Hardware and OSes which will interact with hardware and resources and provide an interface to share the available resources to virtual containers.
Now on to the types-
There are two types
1) Type 1 - Bare metal
2) Type 2 - Hosted

The primary reason why hypervisors are segregated into two types is because of the presence or absence of the underlying operating system.
Type 1 runs directly on the hardware with Virtual Machine resources provided. Type 2 runs on the host OS to provide virtualization management and other services.

For enterprise applications and cloud computing, the Bare-metal hypervisors are preferable, primarily because of its independence from the host operating system.

For the same reason, type 1 generates lesser overhead, and any malfunction in an individual VM does not harm the rest of the system.
The native hypervisors are a more secure option. Unlike the hosted hypervisor, they do not depend upon the underlying OS.

So if under attack, you have better chances with the bare-metal hypervisor (Type 1). This dependency also costs the type 2 server, a little bit of its efficiency, performance, and speed.

Type 2 does not have direct access to the host hardware and resources, so this may make a certain degree of latency inevitable. The already present OS manages the requirements for memory, storage, and network resources.

Although this is not the case for more straightforward scenarios, Hosted Hypervisors are still popular for personal use and SMBs.

For some developer environments, like where access to multiple OSs and their variants is required, Type 2 hypervisors are a better option. On devices not dedicated to the VMs Host role, hosted hypervisors are recommended.
- Karthik AV