Proxmox on a VPS: nested virtualization or a dedicated server
Proxmox installs on a VPS, but virtual machines inside it run properly only with nested virtualization, and not every host enables it. We look at how to check it, when LXC containers are enough and when a dedicated server pays off.
The short answer. For learning and testing, Proxmox on a VPS is a fine option: the VPS with Proxmox selection has 202 plans from 18 hosts, median $36.61 a month. Virtual machines inside run at normal speed only if the host has enabled nested virtualization; LXC containers do not need it. For several production machines a dedicated server is more reliable: the virtualization selection starts at $299.
What nested virtualization is
A VPS is already a virtual machine. Running your own hypervisor inside it (Proxmox, KVM, Hyper-V) is nested virtualization. The Proxmox VE documentation (Nested Virtualization) lists the conditions: the CPU of the host's server supports hardware virtualization (the vmx flag on Intel, svm on AMD), nested mode is enabled on it, and your machine gets the host CPU type. Without that, machines inside Proxmox run in software emulation — according to the documentation 10 times slower or more, which is nearly unusable. The Linux kernel has had nested mode on by default since version 4.20 (kernel documentation, Running nested guests with KVM), but the host can switch it off, and the CPU type is the host's choice.
How to check a VPS before installing Proxmox
Inside the VPS run grep -cE 'vmx|svm' /proc/cpuinfo: 0 means the hardware virtualization flag is not passed to the machine and KVM will not work inside. If it is above zero, the /dev/kvm device should appear after the kvm_intel or kvm_amd module loads. You need KVM virtualization: a hypervisor cannot be installed on LXC or OpenVZ — more in the article KVM or OpenVZ. The catalog does not mark which hosts enable nested virtualization, so ask support before ordering and check the server in the first day — trials and refunds help here. One more limit from the Proxmox documentation: a machine with nesting active cannot be live-migrated, so it may be rebooted during node maintenance.
When LXC containers are enough
LXC containers in Proxmox need no nested virtualization: they run on the VPS's own kernel, and the Proxmox documentation calls them quite usable in such a setup. If you only need Linux services inside — a database, a web server, a bot — LXC does the job; Windows, your own kernel or another hypervisor cannot run in a container. Proxmox itself, per its developers' recommendation, takes 2 GB of memory plus the guests' memory, and ZFS and Ceph about 1 GB more per terabyte of data. So there is little point in less than 8 GB: a VPS with a Proxmox template and 8 GB has a median of $29.61 (45 plans), with 16 GB $42.14 (35 plans); a regular KVM VPS with 4 cores and 16 GB costs $77.55.
When to take a dedicated server
A dedicated server always has hardware virtualization, guests run without a second layer, and the memory and disks are yours alone. It is the choice when there are several production machines, you need Windows or device passthrough (PCI passthrough requires IOMMU — Intel VT-d or AMD-Vi). A dedicated server with 64 GB has a median of $258, with 128 GB $397, with 128 GB and NVMe $466. The dedicated servers for virtualization selection (16+ cores, 128 GB, NVMe) has 1,226 plans from 132 hosts, starting at $299. How to choose the CPU, memory and disks is covered in dedicated server configuration and RAID on a dedicated server; machine copies in snapshots and backups.