Virtual machine
Definition
A virtual machine is an isolated guest system with its own operating system kernel, running on virtual hardware that a hypervisor provides by sharing a physical host among several guests.
In practice
Cloud instances are VMs: you pick an instance type (vCPUs, memory, network) and get a machine in minutes through an API. Hardware virtualisation lets guest code run at near-native speed, and each VM's own kernel gives a boundary strong enough for providers to put unrelated customers on the same host.
A vCPU is usually one hardware thread, not a full core, and when the host is oversubscribed the guest waits, which shows up as steal time. Caches, memory bandwidth, disks and network links stay shared, so noisy neighbours are possible. VMs boot in tens of seconds to minutes and resizing usually needs a restart, which is why scaling out beats scaling up.
Example
At 50 ms of CPU per request, an 8-vCPU instance tops out near 160 requests per second; planning for 60 to 70% utilisation means about 100 to 110 requests per second per VM.