·9 min read·Updated Nov 29, 2026

Lightning Node on a VPS: Sizing, Backups and Hot-Wallet Risk

Run a Lightning node on a no-KYC VPS: pruned bitcoind sizing, LND vs Core Lightning, channel backups, hot-wallet risk and what stays public on-chain.

You can run a Lightning node on a VPS, and a 4 GB plan with a pruned Bitcoin node is a realistic starting point. A full archival blockchain will not fit on typical VPS storage. The bigger decision is not hardware, though. A Lightning node keeps a hot wallet on a machine you don't physically control, and it needs to stay online to keep your funds safe. This guide covers sizing, backups and those risks, so you can decide whether a VPS is the right home for your node.

Why a VPS appeals for Lightning (and where it doesn't)

A Lightning node works best when it is always online. Peers can only route payments through you while you are reachable. Your counterparties are also watched less closely when you are online, because your node can respond if one of them broadcasts an old channel state. Home nodes often fail at this: power cuts, ISP changes, CGNAT and sleeping laptops all cause downtime. A datacenter VPS gives you a stable public IPv4 address and steady uptime without exposing your home connection.

The trade-off is custody of the machine. The private keys that control your channel funds live on a server that the hosting provider can access at the hypervisor level. We cover what that realistically means in what your VPS provider can actually see. For a node holding a few hundred euros of liquidity, most people accept that risk. For a node holding life savings, the right answer is probably your own hardware, or keeping only a small working balance on the VPS.

Choosing an implementation

The three common choices are:

  • LND (Lightning Labs). It has the largest ecosystem of tooling, and most wallets and dashboards integrate with it. It supports a full bitcoind backend or Neutrino, a light-client mode that downloads compact block filters (BIP 157/158) from peers instead of running a full node.
  • Core Lightning (CLN) (Blockstream). It is lean on resources and easy to extend with plugins. It expects a bitcoind backend.
  • Eclair (ACINQ). It runs on the JVM, which makes it heavier on RAM. It is used more by larger operators than by hobbyists.

If you're new, LND or CLN is the practical choice. Both can run against a pruned bitcoind with caveats, and that is what makes VPS hosting workable.

Neutrino saves disk space and the initial sync, but you depend on remote peers for block data. It is reasonable for a personal payment node. Most experienced operators avoid it for a routing node they care about.

Sizing: the storage problem comes first

The full Bitcoin blockchain is well over 600 GB and keeps growing. That is more than any mainstream VPS tier stores on SSD, so a VPS Lightning node in practice means one of two setups:

  1. Pruned bitcoind + LND or CLN on the same server.
  2. LND in Neutrino mode, with no local Bitcoin node at all.

With pruning (prune=550 is the minimum, in MB), bitcoind still has to download and validate every block once. After that it keeps only recent blocks plus the UTXO set (the "chainstate"), which currently takes roughly 10+ GB. Pruning is incompatible with txindex=1, which Lightning implementations don't require anyway.

These figures are rough working estimates, not measurements. Real usage depends on versions, dbcache and how many channels you run:

Component Disk RAM (steady state)
OS (minimal Debian/Ubuntu) 3–5 GB 200–400 MB
Pruned bitcoind 12–20 GB, depending on prune target 0.5–1.5 GB
LND or CLN data Hundreds of MB, growing with channels and history 200 MB–1 GB+
Headroom for logs, updates, backups staging 5–10 GB —

Against IronBalkans' current plans:

  • Iron 1 (1 vCPU, 2 GB RAM, 20 GB SSD): too tight for bitcoind plus Lightning. It is workable only for LND in Neutrino mode with a small number of channels.
  • Iron 2 (2 vCPU, 4 GB RAM, 50 GB SSD): the realistic minimum for pruned bitcoind plus LND or CLN, with comfortable disk headroom.
  • Iron 3 (4 vCPU, 8 GB RAM, 80 GB SSD): a better fit if you also want a block explorer backend, a BTCPay instance, or a generous dbcache to speed up the initial sync.

If you plan to accept merchant payments too, the BTCPay Server sizing guide covers how that stack adds up.

Bandwidth and initial sync

People often forget that pruning saves disk, not download. The initial block download pulls the entire chain once, which is several hundred GB. On a plan with 1 TB of monthly traffic, that alone eats most of the month. On 4 TB or more, it is a one-off cost you can absorb.

After the sync, limit what bitcoind serves to others:

# bitcoin.conf
prune=10000          # keep ~10 GB of recent blocks (helps CLN catch up after downtime)
dbcache=1500         # raise during initial sync, lower afterwards on small plans
maxuploadtarget=5000 # MB per 24h; caps how much you upload to peers
server=1

Pruned nodes don't serve historical blocks, so upload stays modest. maxuploadtarget still gives you a hard ceiling.

There is a CLN-specific caveat. If CLN is offline long enough that bitcoind prunes blocks CLN hasn't processed yet, CLN can't catch up from the local node. A larger prune target such as 10 GB instead of 550 MB gives you a safety margin. Check your implementation's current documentation for its exact pruning behaviour.

One way to shorten the sync is to copy a fully synced pruned data directory from a machine you control. Only do this from a source you trust completely, because you would be skipping your own validation of that history.

Backups: the part that loses people money

Lightning backups don't work like normal file backups, and getting this wrong can cost you your funds.

Never restore an old copy of the channel database and start the node. Channel state changes with every payment. If you restore last week's channel.db (LND) or lightningd.sqlite3 (CLN), your node may broadcast a revoked state. Your peer can then claim all the funds in that channel as a penalty. Nightly snapshots of the Lightning data directory are dangerous if anyone ever restores them carelessly.

What to back up instead:

  • The seed and the key material. For LND that is the aezeed mnemonic. For CLN it is hsm_secret. Without these you lose on-chain funds. Store them offline, never on the VPS.
  • Static Channel Backups (LND). The channel.backup file updates whenever channels open or close. Restoring it does not resume your channels. It asks your peers to force-close them so you can recover your balance on-chain. Copy it off the server automatically whenever it changes.
  • CLN equivalents. CLN has an emergency.recover file and backup plugins that replicate the database synchronously to another disk. Read the current CLN docs before relying on either.

Push these off-server, encrypted, to storage you control. The restic/Borg off-site backup guide covers the mechanics. Just exclude the live channel database from any "restore everything" workflow.

Security: treat the node as a hot wallet

Practical rules for a VPS-hosted node:

  • Keep the admin interfaces private. LND's gRPC (10009) and REST (8080) ports, and CLN's RPC socket, should never be open to the internet. Reach them over a tunnel. A self-hosted WireGuard setup works well for connecting a mobile wallet or dashboard.
  • Open only what peers need. That means 9735/tcp for Lightning and optionally 8333/tcp for bitcoind. Everything else should be dropped by default.
  • Keep the on-chain balance on the server small. Sweep routing profits or received payments to cold storage periodically.
  • Use a watchtower. A watchtower is a third-party service that watches the chain for a cheating peer while your node is offline. LND has a built-in watchtower client, and CLN supports them through plugins. They matter most during unplanned downtime, such as a provider incident or a stuck update.
  • Understand the timeout window. Each channel has a delay, often called to_self_delay. If a peer broadcasts an old state, you or your watchtower must react within that window. Depending on implementation and channel size, it typically ranges from about a day to two weeks of blocks. Plan maintenance so you are never offline anywhere near that limit.

Disk encryption helps less than people expect on a remote server. The keys must be in memory while the node runs, so it protects against stolen drives and decommissioned disks, not against a live hypervisor.

What stays private and what doesn't

No-KYC hosting and crypto payment hide who pays for the server. They don't make a Lightning node anonymous:

  • Your node's public key and its public channels are broadcast to the whole network through gossip. That includes their capacities and, if you announce one, your IP address.
  • Channel opens and closes are ordinary Bitcoin transactions. If you fund channels from coins linked to an exchange account, that link is on-chain regardless of how you paid for the VPS.
  • Running Tor-only, or hybrid with an onion address, hides the server IP from peers. It also makes your node slower to reach and less attractive for routing.
  • Unannounced (private) channels keep a channel out of gossip, but the counterparty still knows about it.

The useful privacy gain from a no-KYC VPS is narrower but real. Nobody can query the host's billing records to find the person behind a given node IP, because there is no name, email or card on file to hand over.

There is also a legal boundary. Running a non-custodial node for your own funds is different from holding funds on behalf of other people. Custody for others can bring licensing obligations under EU rules such as MiCA. Hosting in Romania doesn't change that.

Is a VPS the right home for your node?

A VPS makes sense if you want a reliable, always-on personal or small routing node, you can keep the hot balance modest, and you're comfortable running Linux unattended. It makes less sense if you plan to hold large balances in channels, or you need an archival node with txindex for other software.

If you decide to go ahead, a 4 GB plan is a sensible floor for pruned bitcoind plus LND or CLN. IronBalkans' Bucharest KVM servers can be paid with Monero, Bitcoin or Litecoin without an email or ID. Pay for one month first, run the initial sync, and confirm your backup and watchtower setup works before you move real liquidity onto the node.

Written by IronBalkans. Last reviewed Nov 29, 2026.