Run a Pruned Bitcoin Node on a VPS
Running your own Bitcoin node means you verify every rule and every transaction yourself instead of trusting someone else's server. You don't need terabytes of disk: a pruned node does full validation and keeps only recent blocks.
Full node vs pruned node
- A full archival node stores the entire blockchain — over 600 GB and growing.
- A pruned node downloads and checks every block too, but deletes old ones once verified. It needs only a few GB for blocks.
Both validate everything. The pruned node just can't serve old blocks to others.
What you need
- Core (2 vCPU, 4 GB RAM, 80 GB) is a good fit.
- Patience: the first sync downloads and checks the whole history. Expect a day or more.
- Traffic: the initial sync downloads well over 600 GB, so check your plan's traffic allowance before you start.
Install Bitcoin Core
Download the release for Linux from bitcoincore.org and verify the checksums and signatures — a node built on a tampered binary defeats the purpose. Then:
tar xzf bitcoin-*-x86_64-linux-gnu.tar.gz
install -m 0755 bitcoin-*/bin/* /usr/local/bin/
adduser --disabled-password --gecos "" bitcoin
Configure pruning
As the bitcoin user, create ~/.bitcoin/bitcoin.conf:
prune=550
dbcache=1000
server=1
prune=550 keeps about 550 MB of block files. Raise it if you have spare disk. dbcache speeds up the initial sync; keep it well below your RAM.
Run it as a service
Create /etc/systemd/system/bitcoind.service:
[Unit]
Description=Bitcoin daemon
After=network-online.target
[Service]
User=bitcoin
ExecStart=/usr/local/bin/bitcoind -daemon=0
Restart=on-failure
[Install]
WantedBy=multi-user.target
systemctl enable --now bitcoind
Watch the sync
sudo -u bitcoin bitcoin-cli getblockchaininfo
verificationprogress creeps towards 1.0. When it's done, your node is fully synced.
Connecting a wallet
Keep the RPC port closed to the internet. Connect wallets through an SSH tunnel, or install an Electrum server and protect it with TLS.
Deploy a server and verify Bitcoin for yourself — paid in BTC.