Run Proxmox VE on a dedicated server
A Proxmox dedicated server replaces a scattered pile of small VPSes with one machine you fully control. Proxmox VE is a free, open-source hypervisor built on Debian: it runs full virtual machines through KVM and lightweight Linux containers through LXC, manages them from one web interface, and stores them on ZFS with snapshots and built-in backups. You rent the hardware, you own the hypervisor.
This guide is an honest, top-to-bottom Proxmox VE setup for a rented box you cannot physically touch. It covers the installation, the no-subscription repository, locking the web UI behind a firewall and WireGuard, NAT networking on a single public IP, ZFS tuning, your first VM and container, and a backup you actually restore. Everything targets Proxmox VE 8 or 9 on current hardware, and every command is copy-and-run.
Why one Proxmox box beats a pile of small VPSes
Once you run more than a handful of small VPSes, the model starts to fight you. Each one bills separately, each has its own noisy-neighbour lottery, and moving RAM from an idle instance to a busy one is impossible without a resize and a reboot. Consolidating onto one dedicated box flips all of that. You buy cores, RAM and NVMe once at a fixed monthly price, then carve them up however you like and re-carve them whenever the load changes.
Self-hosted virtualization also buys you things a pile of VPSes cannot. ZFS snapshots let you freeze a VM before a risky upgrade and roll back in seconds. Live snapshots and built-in backups cover the whole fleet from one place. You run any operating system, nest containers inside VMs and attach a GPU. Nothing sits between you and the machine except the hypervisor you installed.
Be honest about what you give up. One box is one blast radius: if the hardware fails, everything on it is down until it is repaired or restored elsewhere, where a managed cloud would migrate you off a dying host automatically. You are now the hypervisor administrator, so host patching, ZFS health and firewall rules are your job, not a provider's. There is no instant autoscaling past the metal you rented, and no managed control plane holding your hand. Proxmox genuinely wins when you want fixed cost, full control and dense consolidation, and you are comfortable being the sysadmin. If you need zero-maintenance elasticity and someone else on call for hardware, a managed hypervisor or cloud is the right tool.
Choosing the hardware
A consolidation host is sized around peak concurrency, not a single workload. Add up the vCPUs and RAM your guests will use at the same time, then leave headroom for the host itself and for ZFS. Our virtualization and Proxmox category lists machines built for exactly this, and the notes below map the parts to the job.
Cores for consolidation
You can safely overcommit vCPUs past the physical core count because guests are rarely all busy at once, but keep some slack so one hot VM does not starve the rest. More cores mean more guests per box. A modern EPYC or Xeon with plenty of cores and a decent per-core clock is the balanced pick for a mixed fleet.
RAM you do not overcommit
Memory is the real ceiling on how many VMs fit. Unlike CPU, you should not overcommit RAM on a busy host: size it to the sum of your guests plus a few GB for the host and a capped slice for the ZFS cache. Buy more RAM than you think you need, it is what lets you keep adding guests.
Mirrored NVMe with ZFS
Two NVMe drives in a ZFS mirror is the default Proxmox layout: it survives one drive failing, gives fast reads, and lets the installer set up the boot pool for you. Skip a single disk, a dead drive with no mirror takes every guest with it. Our RAID options guide explains why software RAID and ZFS beat a hardware controller here.
One hardware note for Proxmox specifically: prefer software RAID or ZFS over a hardware RAID controller. ZFS wants direct access to the disks so it can checksum and heal data itself, and a controller in RAID mode hides the drives and blocks that. If your machine has a hardware RAID card, set it to HBA or IT mode so ZFS sees the raw disks. The RAID options guide in the related links covers the tradeoff in full.
Installing Proxmox VE
You cannot walk up to a rented machine and plug in a USB stick. The fastest path is the operating system list: where it offers Proxmox VE, choose it when you configure the server, or reinstall the server with it from the customer portal, and skip straight to the post-install section. Check the disk layout that install gives you with zpool status, because the later sections assume a ZFS mirror. The other path is the official installer, where you choose that layout yourself. It runs on the screen and keyboard of the machine, through the management console (the BMC: iRMC, iDRAC or iLO), and access to that console is on request, through support. The steps below follow that route.
-
Ask support for console access
Ask support for access to the management console of your server, and say that you want to install Proxmox VE from the official ISO.
-
Download the official ISO
Grab the current Proxmox VE installer ISO from the official Proxmox download page. Verify its checksum. Do not use a random rebuild, the official image is the only one you should boot on a production host.
-
Boot from the ISO in the console
With console access arranged through support, attach the ISO as a virtual CD or USB through virtual media, then reboot the machine and boot from that virtual device.
-
Run the installer
Pick "Install Proxmox VE (graphical)". At the disk step choose zfs (RAID1) and select both NVMe drives so the installer builds a mirrored boot pool. Set your hostname, a strong root password, and the primary network settings using the public IP and gateway from your provider.
-
Boot and log in
Finish, let it reboot off the disks, and the machine comes up on its public IP. From here you work over SSH as root and, shortly, through the web UI. Do not expose that UI yet, the next section locks it down first.
Post-install: repository, updates and a private web UI
A fresh Proxmox host points at the paid enterprise repository and will not fetch updates without a subscription key. Switch it to the free no-subscription repository, which is the correct choice for a self-managed box. Run these as root on the Proxmox host (a bare Proxmox install has no sudo). The codename is read from your Debian base automatically, so the same commands work on Proxmox VE 8 (bookworm) and 9 (trixie).
Disable the enterprise repositories, then add the free no-subscription one.
sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/pve-enterprise.list
[ -f /etc/apt/sources.list.d/ceph.list ] && sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/ceph.list
echo "deb http://download.proxmox.com/debian/pve $(. /etc/os-release && echo $VERSION_CODENAME) pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
Update the package lists and apply every pending upgrade, including a new kernel if one is waiting.
apt update && apt full-upgrade -y
Proxmox VE 9 ships its repositories in the newer deb822 format as .sources files under /etc/apt/sources.list.d/. There you disable the enterprise repo by opening pve-enterprise.sources and ceph.sources and setting the line Enabled: false, then drop in a small pve-no-subscription.sources file for the free repo. The update command above is identical.
The web UI now answers on port 8006 over HTTPS with a self-signed certificate, logging in as root@pam. Never expose 8006 to the internet: it is a full control plane for every VM you run, and leaving it open invites brute-force and exploit attempts. The next block keeps it reachable only over a private tunnel.
Locking the web UI behind WireGuard
The clean way to reach a management port is to never open it publicly at all. Put a WireGuard tunnel between your laptop and the host, then allow port 8006 only from inside that tunnel. WireGuard is a few lines of config and ships in the kernel, so the overhead is negligible. Run the server side as root on the Proxmox host.
Install WireGuard and generate the host keypair.
apt install -y wireguard
wg genkey | tee /etc/wireguard/server.key | wg pubkey > /etc/wireguard/server.pub
chmod 600 /etc/wireguard/server.key
The host tunnel config. Paste the contents of server.key into PrivateKey, and the public key from your laptop into the peer's PublicKey. 10.100.0.1 is the host inside the tunnel; the laptop will be 10.100.0.2.
[Interface]
Address = 10.100.0.1/24
ListenPort = 51820
PrivateKey = SERVER_PRIVATE_KEY
[Peer]
# admin laptop
PublicKey = CLIENT_PUBLIC_KEY
AllowedIPs = 10.100.0.2/32
Bring the tunnel up and have it start on boot.
systemctl enable --now wg-quick@wg0
On your laptop, generate a keypair the same way, then use this config. Replace 203.0.113.10 with the host's public IP and fill in the keys. AllowedIPs = 10.100.0.1/32 routes only management traffic through the tunnel, not your whole connection.
[Interface]
Address = 10.100.0.2/24
PrivateKey = CLIENT_PRIVATE_KEY
[Peer]
PublicKey = SERVER_PUBLIC_KEY
Endpoint = 203.0.113.10:51820
AllowedIPs = 10.100.0.1/32
PersistentKeepalive = 25
Now the host firewall: default-deny inbound, allow SSH and the WireGuard port from anywhere, and allow 8006 only from inside the tunnel.
apt install -y ufw
ufw default deny incoming
ufw default allow outgoing
ufw allow 22/tcp
ufw allow 51820/udp
ufw allow from 10.100.0.0/24 to any port 8006 proto tcp
ufw enable
Bring up the tunnel on your laptop, then browse to https://10.100.0.1:8006 and log in. Port 8006 is now invisible to the public internet and answers only over WireGuard. If you would rather not run WireGuard, restrict 8006 to your office IP with a single ufw allow-from rule, but a tunnel is safer because your admin IP is rarely static. Proxmox also has its own firewall under Datacenter and Node in the web UI, which can do the same job and also cover guest traffic; pick one perimeter tool so the rules do not fight each other.
One caveat before the next section: ufw drops forwarded packets by default, which would break the NAT bridge below. If you use ufw on a host that also NATs guests, set DEFAULT_FORWARD_POLICY="ACCEPT" in /etc/default/ufw and run ufw reload, or use the Proxmox firewall instead.
Networking on a single public IP
Most rented dedicated servers arrive with one public IPv4 address. That is enough to run many guests if you put them behind a NAT, exactly like a home router. The installer already created vmbr0, the bridge carrying your public IP. Add a second, private bridge, vmbr1, that has no physical port and hands out an internal subnet, then masquerade its traffic out through vmbr0. Edit the host network config and add this block.
A NAT bridge for guests. vmbr0 already exists with your public IP; append this vmbr1 stanza. The post-up rules enable forwarding and masquerade the 10.10.10.0/24 subnet out the public bridge.
auto vmbr1
iface vmbr1 inet static
address 10.10.10.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up sysctl -w net.ipv4.ip_forward=1
post-up iptables -t nat -A POSTROUTING -s 10.10.10.0/24 -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s 10.10.10.0/24 -o vmbr0 -j MASQUERADE
Apply the new bridge without a full reboot.
ifreload -a
To publish a service running on an internal guest, forward a public port to it. This sends TCP 8080 on the public IP to port 80 on the guest at 10.10.10.10. Add the pair to the vmbr1 stanza so it survives reboots.
post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 8080 -j DNAT --to 10.10.10.10:80
post-down iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 8080 -j DNAT --to 10.10.10.10:80
Guests you attach to vmbr1 with a 10.10.10.x address and a gateway of 10.10.10.1 get outbound internet through NAT and are reachable only via the ports you forward. If a workload needs its own public address, additional IPv4 addresses and IPv6 ranges are generally orderable from your provider; assign those directly on vmbr0 instead of NATing. Check what your specific configuration offers before you design around it.
ZFS specifics: the mirror, ARC and scrubs
The installer built a mirrored pool named rpool: rpool/ROOT holds the host, and rpool/data is where VM disks and container roots land as the local-zfs storage. Two habits keep that pool healthy and keep your VMs fed.
Confirm the mirror is healthy and see the layout. Both drives should read ONLINE under a mirror vdev.
zpool status
zfs list
Cap the ZFS ARC cache. By default ARC will grow to use up to half your RAM, which starves guests on a busy host. This pins it to 8 GiB; change the number to suit your machine (the value is in bytes). The initramfs rebuild makes it stick across reboots.
options zfs zfs_arc_max=8589934592
Apply the ARC cap.
update-initramfs -u -k all
A scrub re-reads every block and heals silent corruption from the mirror. Debian ships a timer that scrubs on the second Sunday each month; verify it is armed, and run one now to check the pool. For a busier pool you can switch the timer to weekly.
systemctl list-timers | grep zfs
zpool scrub rpool
zpool status rpool
Your first VM and first container
Proxmox runs two kinds of guest. A VM is a full virtual machine with its own kernel: complete isolation, any operating system including Windows, the safe choice for untrusted or non-Linux workloads. An LXC container shares the host kernel: much lighter and denser, near-instant to start, ideal for many small Linux services where you do not need a separate kernel. Reach for a VM when you want isolation or a different OS, an LXC when you want efficiency and it is Linux. Here is one of each from the shell.
A VM from the official Ubuntu 24.04 cloud image. Download it, create the VM with virtio devices, import the image as its disk, add a cloud-init drive, and set login and network. Attach net0 to vmbr1 for a NAT guest, or vmbr0 if it has its own public IP.
cd /var/lib/vz/template
wget https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img
qm create 9000 --name ubuntu2404 --memory 4096 --cores 2 \
--net0 virtio,bridge=vmbr1 --scsihw virtio-scsi-single --ostype l26
qm set 9000 --scsi0 local-zfs:0,import-from=/var/lib/vz/template/ubuntu-24.04-server-cloudimg-amd64.img
qm set 9000 --ide2 local-zfs:cloudinit --boot order=scsi0 --serial0 socket --vga serial0
qm set 9000 --ciuser admin --sshkeys ~/.ssh/authorized_keys --agent enabled=1
qm set 9000 --ipconfig0 ip=10.10.10.20/24,gw=10.10.10.1
qm resize 9000 scsi0 20G
qm start 9000
The cloud image already includes qemu-guest-agent; the --agent flag above tells Proxmox to talk to it, which gives clean shutdowns and reported IPs. On a non-cloud image, install it inside the guest with: apt install -y qemu-guest-agent && systemctl enable --now qemu-guest-agent.
qm agent 9000 ping
An LXC container from a distribution template. Refresh the template list, download the Ubuntu 24.04 template, then create an unprivileged container on the NAT bridge. Adjust the exact template filename to the current one from pveam available.
pveam update
pveam available --section system | grep ubuntu-24.04
pveam download local ubuntu-24.04-standard_24.04-2_amd64.tar.zst
pct create 200 local:vztmpl/ubuntu-24.04-standard_24.04-2_amd64.tar.zst \
--hostname ct-web --cores 2 --memory 2048 --rootfs local-zfs:8 \
--net0 name=eth0,bridge=vmbr1,ip=10.10.10.10/24,gw=10.10.10.1 \
--unprivileged 1 --features nesting=1
pct start 200
Backups you have restored
Proxmox has backups built in through vzdump, which snapshots a guest and writes a single restorable archive. A backup on the same pool as the guest is not a backup, so send it somewhere else: a second physical disk in the machine, or an NFS share you add under Datacenter, Storage. Schedule it in the web UI under Datacenter, Backup, or run it from the shell.
Back up the VM and the container in snapshot mode (no downtime) to a storage named backup, compressed with zstd. Point --storage at whatever second disk or NFS storage you defined.
vzdump 9000 200 --mode snapshot --compress zstd --storage backup
The only backup that counts is one you have restored. Restore the archive to a new VM ID and boot it to prove the backup is good, then delete the test guest. Adjust the filename to the archive vzdump wrote.
qmrestore /mnt/backup/dump/vzdump-qemu-9000-*.vma.zst 9001 --storage local-zfs
qm start 9001
For anything past a couple of guests, Proxmox Backup Server is the grown-up path: a separate machine that stores deduplicated, incremental backups, so a daily run of a large fleet costs minutes and little space, with verification and pruning built in. Wherever the backups land, keep a copy off the machine and ideally off-site, on backup and storage servers with room to spare, so a datacenter-level problem cannot take the originals and the backups together.
Ongoing operations
A hypervisor is a long-lived machine, so a little routine keeps it boring, which is what you want. Snapshot before you take risks: one command freezes a guest's disk and state so you can undo a bad upgrade in seconds.
Take a named live snapshot before a risky change, and roll back if it goes wrong.
qm snapshot 9000 pre-upgrade --vmstate 1
# ... make the risky change, and if it breaks:
qm rollback 9000 pre-upgrade
Patch the host on a schedule. A kernel update needs a reboot to take effect, so plan a maintenance window: shut down or migrate guests, upgrade, reboot, and confirm the version.
apt update && apt full-upgrade -y
pveversion
# schedule a reboot when the running kernel is older than the installed one
Proxmox's own pvestatd already gathers per-node and per-guest metrics for the dashboards. For real history and alerting, point Datacenter, Metric Server at an InfluxDB or Graphite backend, or run a node exporter on the host and scrape it from your existing monitoring, the same node exporter mentioned in our getting-your-server-online guide. Alert on pool health, disk space and RAID or ZFS state: a degraded mirror nobody noticed is a countdown, not a safety net.
A pile of small VPSes vs one Proxmox box
The tradeoff in one view. Neither column is wrong; the right choice follows how much control you want and who you want on call for hardware.
| Many small VPSes | One Proxmox box | |
|---|---|---|
| Cost model | Per instance, adds up as you scale | One fixed monthly price for the whole box |
| Resource sharing | Fixed per instance, resize and reboot to change | Re-carve cores and RAM whenever load shifts |
| Snapshots and backups | Whatever each provider offers, per instance | ZFS snapshots and vzdump across the whole fleet |
| Control | Provider owns the hypervisor and host | You own the hypervisor down to the metal |
| Maintenance | Provider patches the host | You patch the host, ZFS and firewall |
| Blast radius | One dead host, provider migrates you off | One box is one failure domain, restore elsewhere |
| Best for | Light needs, zero-maintenance elasticity | Dense consolidation, full control, fixed cost |
The short version
Rent one strong box with two NVMe drives, install Proxmox VE onto a ZFS mirror, switch to the no-subscription repo, and lock port 8006 behind WireGuard. Add a NAT bridge for guests on your single public IP, cap the ZFS ARC so VMs keep their RAM, and build your first VM and container. Then set up vzdump to a second disk or NFS, restore one backup to prove it, and let snapshots and monthly scrubs do the rest. You end with a private hypervisor you fully control, at one fixed price, and the security posture to run it safely.
