In the last lessons, you saw VMs and containers.
There is a third deployment type: bare metal.Bare metal means that the application runs directly on the operating system of a physical server.
There is no hypervisor and no container engine.You saw this server at the start of the VM lesson.

Figure 1 - An Application on Bare Metal
The application has all the hardware of the server for itself.
No other application runs on the server, so the isolation is the strongest.
When the application is small, most of the hardware is not used.
A new server takes hours or days to deploy.
Answer the question below
On bare metal, is there a hypervisor: yes or no?
The three types use different layers between the application and the hardware.

Figure 2 - Bare Metal, Virtual Machines, and Containers
Bare metal adds no extra layer.
A VM adds a hypervisor and one operating system (OS) per VM.
A container adds a container engine and shares one operating system.
Each extra layer uses a part of the hardware.
This is why bare metal gives the best performance.Answer the question below
Which software does a VM add: a hypervisor or a container engine?
This table compares the three types.

Figure 3 - Comparison of the Three Types
From left to right, the deployment becomes faster.
The isolation also becomes weaker.Answer the question below
Which type deploys in seconds: VM or container?
Choose the type that fits the application:
Use bare metal when the application needs all the performance of the hardware, such as a large database.
Use VMs when the applications need different operating systems or strong isolation.
Use containers when you deploy often and need a fast start.
You can also combine the types.
In a public cloud, containers often run inside VMs.Answer the question below
One application needs Windows and another needs Linux, on one server. Which type do you choose: VM or container?