In the last lessons, you saw where an application can run.
Now you will see how it runs on a server.On a physical server, you install one operating system.
Often, this server runs only one application.
Figure 1 - One Server, One Application
This application uses a small part of the hardware.
The rest of the hardware is not used.A virtual machine (VM) is a computer made of software.
Several VMs can run on one physical server.Answer the question below
What is the short name of a virtual machine?
A hypervisor is software that creates the VMs and shares the hardware between them.
It gives each VM its own part of the CPU, the memory, and the storage.

Figure 2 - The Hypervisor Shares the Hardware
For the application, a VM works like a physical server.
In a public cloud, the virtual servers you rent are VMs.Answer the question below
Which software creates the VMs?
Each VM has its own operating system and its own application.

Figure 3 - Each VM Has Its Own Operating System
One VM can run Linux, and another VM can run Windows.
The VMs are isolated, so a problem in one VM does not affect the other VMs.
A VM is stored as files, so you can copy it or move it to another server.
A developer can test an application on a copy of the production VM.
Answer the question below
Does each VM have its own operating system: yes or no?
A full operating system in each VM has a cost:
A VM uses several gigabytes of storage.
A VM takes minutes to deploy and start.
You must update the operating system of each VM.
This table shows the attributes of a VM.

Figure 4 - The Attributes of a Virtual Machine
In the next lesson, you will see containers, which are lighter than VMs.
Answer the question below
Does a VM start in seconds or in minutes?