Virtual Machine (VM): A software-based computer that runs on a physical server, with its own operating system, CPU, memory, and disk allocation, as if it were a separate machine.

Example

Your team needs a Linux machine to test a deployment script. Instead of buying hardware, you create a small Ubuntu VM on Azure in five minutes, test the script, and delete the VM afterwards.

How Virtual Machines Work

A program called a hypervisor divides one physical server into several virtual machines. Each VM has its own operating system and thinks it has its own hardware. This lets cloud providers rent out parts of large servers to many customers.

VM vs Container vs Physical Server

Physical serverVirtual machineContainer
Own operating systemYesYesNo, shares the host's
Start-up timeMinutes to hoursMinutesSeconds
SizeA whole machineGigabytesMegabytes
Best forSpecial hardware needsFull OS control, legacy appsPackaging and scaling apps

VMs in the Cloud

Cloud VMs include AWS EC2, Azure Virtual Machines, and Google Compute Engine. They are the IaaS layer of cloud computing. Students can also run VMs locally with VirtualBox or Hyper-V to practise Linux without changing their main system.

Related terms

Previous term: Version Control  |  Next term: Weaknesses

Related guides

Frequently asked questions

What is a virtual machine?

A virtual machine is a software-based computer with its own operating system, running on a physical server.

What is the difference between a VM and a container?

A VM includes a full operating system. A container shares the host's kernel and is much lighter.

What is a hypervisor?

Software that creates and runs virtual machines on a physical server, such as Hyper-V, VMware ESXi, or KVM.

How can students practise with VMs?

Use VirtualBox or Hyper-V locally, or a small free-tier VM on a cloud provider with a budget alert.

Explore more internship terms

The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.

Browse all 199 terms
Dhaivat Ajwaliya

About the author

Dhaivat Ajwaliya

Dhaivat has 16+ years of experience in the IT industry, working on AI and cloud technologies, project delivery, and engineering leadership. He has interviewed and mentored many interns, wrote The Lost Intern, and runs the non-commercial Career Impact Initiative, mentoring students for free.