KVM vs. container VPS: why real virtualization matters

Not every VPS is a real virtual machine. KVM vs. container VPS hosting like OpenVZ and LXC, and how it limits what you can run.

Codature team1 min read

Codature

Two ways to slice a server

KVM is full hardware virtualization built into the Linux kernel. Each VPS is a complete virtual machine with its own kernel, its own memory allocation, and its own virtual disk. To your operating system, it looks like a real server.

Container-based VPS (OpenVZ, LXC, and similar) splits one operating system into isolated containers. Every customer on the host shares the same kernel. It's lighter for the host, which is why it's popular with the very cheapest providers.

What changes for you

On a container VPS you can run into limits that don't exist on KVM:

  • You can't choose or upgrade your kernel, or load kernel modules
  • Some VPN software, firewalls, and Docker setups don't work or need workarounds
  • Memory can be counted and limited differently, which confuses some applications
  • Overselling is easier for the host, so neighbors can affect your performance

Why Codature uses KVM

Every Codature VPS runs on KVM. You get your own kernel and full root, so WireGuard, Docker, custom firewalls, and anything else that expects a real Linux machine just works.

We're able to price KVM plans from $2.00/mo because we run proven Intel Xeon E5 2600v4 Series (or similar) hardware instead of the newest chips, and we tell you exactly that. It's the same reasoning behind our ECC memory and redundant power: put the money where it keeps your server running.

How to check what you're getting

If a host doesn't state its virtualization type, ask. On an existing server, the command systemd-detect-virt will usually tell you. If it says kvm, you've got a real VM. If it says openvz or lxc, you're in a container.