Run a node on a VPS
What to rent, how to harden the server, and when a pruned node is the better choice.
10 min read · checked 2026-10-30
Choosing a VPS
- Check the provider allows sustained bandwidth (initial sync + serving peers)
- SSD/NVMe, not network HDD; disk is the usual bottleneck
- 2+ vCPU, 4–8 GB RAM
- Full node: plan ~300 GB+ and growth; pruned: roughly a third
Harden first
sudo adduser admin && sudo usermod -aG sudo admin
# copy your SSH key, then in /etc/ssh/sshd_config:
# PasswordAuthentication no
# PermitRootLogin no
sudo systemctl restart ssh
sudo ufw default deny incoming && sudo ufw allow OpenSSH && sudo ufw allow 18080/tcp && sudo ufw enable
sudo apt install unattended-upgradesInstall
Follow the Ubuntu guide (download, verify, systemd). On small disks add prune-blockchain=1 before the first start: pruning an existing database later needs extra space.
Privacy trade-off
Your VPS provider can see the server's traffic and disk. Using it as your wallet's node is still better than a random public node (you control the software), but your wallet connection to it should go over SSH tunnel, TLS or Tor.
# From your computer: forward the VPS's local RPC through SSH
ssh -N -L 18081:127.0.0.1:18081 admin@your-vps
# then point your wallet to 127.0.0.1:18081