Virtualization is a technology that splits a single physical server into multiple isolated virtual machines, each behaving like a separate computer. The cloud is a collection of such servers pooled together into a shared pool of resources, from which capacity is provisioned automatically, on demand, within minutes. Let's take a look at how this works under the hood.

What is server virtualization

Server virtualization is a way to run several independent operating systems on a single piece of physical hardware, splitting CPU, memory, and disk space between them.

To keep things simple, let's agree on some terminology:

  • Physical server — the actual hardware sitting in a data center rack: processors, RAM, disks, network cards.

  • Host — the physical server on which virtual machines run.

  • Virtual machine (VM) — a software-created "computer" with its own OS, its own applications, and a dedicated share of the host's resources.

  • Guest — the operating system running inside a virtual machine.

Why was any of this needed in the first place? There used to be a simple rule: one server, one task. Mail got its own server, the website got another, the database got a third. Most of these machines sat idle most of the time: the CPU barely loaded, memory hardly touched, while the hardware itself kept sitting in the rack, drawing power.

Virtualization solves this problem. Instead of ten underutilized servers, you can keep one powerful machine and run ten virtual machines on it. Each one lives its own life: its own set of programs, its own users, its own settings. If one VM crashes or gets compromised, the others keep running, thanks to the isolation built between them.

The hypervisor: the "layer" between hardware and VMs

All this magic is handled by the hypervisor — a program that creates virtual machines and manages them. It sits between the physical hardware and the guest systems, taking on several responsibilities:

  • Allocates resources. Decides how many CPU cores, how much RAM, and how much disk space each virtual machine gets.

  • Isolates machines from each other. One VM can't see another's memory or data, even if they share the same processor.

  • Translates guest requests into hardware calls. The guest OS "thinks" it's running on real hardware, while the hypervisor quietly handles the substitution behind the scenes.

  • Manages the lifecycle. Creating, starting, stopping, rebooting, and deleting virtual machines.

Hypervisors fall into two types.

Type 1 (bare-metal) installs directly on the hardware or is built into the host OS kernel. There are no extra layers between the hypervisor and the hardware, which is why this type is used in data centers and the cloud. Examples: KVM (built into the Linux kernel), VMware ESXi, Microsoft Hyper-V.

Type 2 (hosted) runs as a regular application inside an already-installed OS, such as Windows or macOS. This is handy for personal use cases: testing another OS, spinning up a learning lab on a laptop. Examples: Oracle VirtualBox, VMware Workstation.

Comparison of Type 1 and Type 2 hypervisors

It's worth noting that KVM holds a special place here: it's built into the Linux kernel and turns a regular Linux server into a hypervisor. That's why so many hosting and cloud platforms are built on top of it.

How virtualization becomes the cloud

Virtualization on its own isn't the cloud yet — it's just a convenient way to slice up hardware. A system becomes a cloud once a resource pool, automation, and a programmatic interface are added on top of virtualization.

Cloud architecture diagram: an API request creates a virtual machine on one of the servers in the pool.

Picture not one server, but hundreds, pooled together into a shared "pot" of compute capacity. An orchestration layer sits on top: it knows how many free resources each host has and can accept commands through an API or a control panel. Nobody needs to call an admin and ask them to "set up a server" — you click a button or send a request, and the system handles the rest on its own.

The US National Institute of Standards and Technology (NIST) has a well-known definition of cloud computing (publication SP 800-145), which outlines five essential characteristics of the cloud:

  1. On-demand self-service — resources can be provisioned without a provider's staff getting involved.

  2. Broad network access — services are reached over the network from a variety of devices.

  3. Resource pooling — capacity is shared across many customers.

  4. Rapid elasticity — resource capacity can be scaled up or down quickly.

  5. Measured service — usage is tracked, and billing can be based on actual consumption.

In simplified form, the request flow looks like this:

  1. The user sends a request: "I need a virtual machine with these specs."

  2. The management system checks which host in the pool has enough free resources.

  3. The hypervisor on the chosen host creates the virtual machine and attaches disk and network.

  4. The user gets access: an IP address, a login, a password, or an SSH key.

The whole process usually takes minutes, not the days it would take to buy and set up a physical server.

Cloud services are typically grouped into three models:

Model

What the client gets

What stays on the provider's side

Example

IaaS (Infrastructure as a Service)

Virtual machines, disks, networks

Hardware and virtualization

Renting a virtual machine

PaaS (Platform as a Service)

Ready-made environment for running applications

Hardware, virtualization, OS, runtime environment

A platform for deploying code

SaaS (Software as a Service)

A ready-to-use application in the browser

Everything, down to the application itself

Cloud email, online office suites

Virtualization underpins IaaS above all — that's where the client gets a "clean" virtual machine and decides for themselves what to run on it.

Virtualization vs. containers: what's the difference

Besides virtual machines, there's another way to isolate applications — containers. The two get confused all the time, so let's draw a clear line. A virtual machine carries a full guest OS with its own kernel. A container, on the other hand, uses the host's shared kernel and only isolates processes and their environment.

Hence the key differences: a container is lighter and starts faster, while a virtual machine is more strictly isolated and can run a different operating system from the host. These technologies aren't competitors — they often work together, with containers running happily inside a virtual machine.

How this relates to VPS

VPS (Virtual Private Server) is essentially a virtual machine running on a host under a hypervisor's control. When you rent a VPS, you get your own share of CPU, RAM, and disk, plus full access to the operating system — you can install any software and configure the system however you like.

Scheme of organizations a virtual machine

The phrase "dedicated resources" means that a portion of capacity is reserved specifically for your machine, rather than shared among everyone, as is the case with regular shared hosting. There, you get access to an already-configured environment, but you don't control the system itself. The difference between these two formats is covered in detail in the article "Hosting or VPS: When Is It Time to Switch".

If you want to understand virtualization hands-on rather than through diagrams, VPS is the most accessible way to do it. You can spin up a virtual machine, connect to it, install an OS, and see for yourself how a "server inside a server" behaves. You can check out the available options on the VPS page.

Limitations and pitfalls

Virtualization comes with trade-offs worth knowing about:

  • "Noisy neighbors." If several virtual machines on the same host hammer the disk or network at the same time, each one's performance can take a hit.

  • Resource overselling. Some providers sell more virtual resources than physically exist, betting that customers won't use everything at once. This works fine — until demand spikes at the same time.

  • Overhead. The hypervisor and guest OS consume some resources themselves, so a virtual machine never delivers 100% of the performance the same hardware would offer without virtualization.

  • Host dependency. If the physical server fails, every VM on it suffers until they're restarted on another host or restored.

  • Limited hardware access. Some tasks, such as working with specialized devices, are harder or impossible to perform on a virtual machine.

That's why, when choosing virtual infrastructure, it's worth looking beyond price and paying attention to how the provider allocates resources and what its terms of service actually say about it.

Conclusion

In short: the cloud is virtualization plus automation and an API. The hypervisor slices physical servers into virtual machines, and the management system pools them together and hands out resources on demand.

If reading this made you want to try it yourself, remember: a VPS is the same virtual machine, just ready to go out of the box. You can start with a basic VPS plan, at your own pace and on your own terms.