Core Lightning needs a synced Bitcoin Core with RPC, one Ubuntu binary release and a short config file. It does not need ZMQ or an index.
Last updated: · 7 min read
Quick answer
How to set up Core Lightning on a VPS?
To set up Core Lightning on a VPS, sync Bitcoin Core with RPC enabled, download the Ubuntu binary release, verify its signed SHA256SUMS, unpack it into /usr/local, point a config file at bitcoind and start lightningd. Core Lightning needs no txindex. Blockgilt runs it on Leaf: 2 vCPU, 4 GB RAM, 80 GB NVMe, 4 TB traffic, $3.50 a month.
In brief
Core Lightning needs Bitcoin Core 25.0 or above, synced, with blocksonly=0.
It needs no txindex and no ZMQ.
Verify SHA256SUMS with gpg, then the archive with sha256sum -c --ignore-missing.
Config lives in ~/.lightning/config; start with lightningd --network=bitcoin.
Back up hsm_secret once and emergency.recover after each channel.
Leaf costs $3.50 a month; Gilt costs $12.61.
What does Core Lightning need on a VPS?
Core Lightning requirements from its documentation, with the Blockgilt plan that runs it
Item
Requirement
Bitcoin Core
version 25.0 or above, synced, relaying transactions (blocksonly=0)
Index and ZMQ
not required: no txindex, no ZMQ
Pruned backend
works, but gets stuck if bitcoind prunes blocks Core Lightning has not read
Config file
~/.lightning/config
Leaf
2 vCPU, 4 GB RAM, 80 GB NVMe, 4 TB traffic, $3.50 a month on 12 months
Gilt
4 vCPU, 8 GB RAM, 250 GB NVMe, 8 TB traffic, $12.61 a month on 12 months
Prices checked on
What are the steps to set up Core Lightning on a VPS?
Sync Bitcoin Core
Run bitcoind with server enabled and an RPC login, and wait for the sync to finish. Do not set blocksonly=1: Core Lightning needs a node that relays transactions.
Download the release
On Ubuntu 24.04 take the clightning Ubuntu amd64 tar.xz from the GitHub release page, together with SHA256SUMS and its .asc signature.
Verify the signature and the checksum
Import the maintainers key listed in SECURITY.md, verify the signed SHA256SUMS file, then check the archive against it.
Install into /usr/local
Extract the archive with the tar command from the Core Lightning documentation.
Write the config file
Create ~/.lightning/config with the network and the bitcoind RPC login.
Start lightningd
Run lightningd on the bitcoin network and read the log until it reports that it is synced.
Fund the wallet and open a channel
Use lightning-cli newaddr to get a deposit address, listfunds to see the balance, connect to a peer and fundchannel to open a channel.
Back up hsm_secret and emergency.recover
Copy the secret once and the recovery file each time you open a channel, off the server.
Which Blockgilt plan fits?
Leaf runs Core Lightning with a pruned node; Gilt leaves room for BTCPay Server.
Leaf
2 vCPU · 4 GB RAM · 80 GB NVMe
$7
$21 for 3 months
$7 / month
$21 for 3 months
$5.60 / month
$33.60 for 6 months
$3.50 / month
$42 for 1 year
6 months$33.60(−20%) · 1 year$42(−50%)
2 vCPU, 4 GB RAM, 80 GB NVMe
Trading bots, a pruned Bitcoin node with Lightning
4 TB traffic at 1 Gbit/s, 1 IPv4 + IPv6 /64
$3.50 a month on the 12-month term ($42.00 a year)
HostBrr Value 8GB: $4.67 a month for 2 vCPU / 8 GB / 80 GB NVMe (10 November 2026)
In every plan: NVMe sized for the chain · Inbound P2P ports open · Nodes welcome, mining banned · IPv4 + IPv6 /64 · Root over SSH · No KYC
Which VPS plan runs Core Lightning?
Core Lightning runs on Leaf with a pruned backend, and on Bullion if you want a full local chain.
The project documents no RAM or disk figure of its own, so the size comes from the node beside it. A pruned Bitcoin Core fits in 7 GB on bitcoin.org’s numbers, and Leaf offers 80 GB NVMe and 4 GB of RAM. According to Blockgilt’s sizing of 10 November 2026, that is more than ten times the pruned minimum. Choose Bullion (1.5 TB NVMe) if you also want to run an Electrum server. The comparison with the other implementation is in LND vs Core Lightning, and the general sizing is in VPS for Lightning node.
Running full or pruned nodes of any public blockchain is welcome on every plan, along with Lightning nodes, Electrum servers, block explorers and RPC endpoints you operate yourself. Mining is not allowed on any plan, with any coin or software. A node that downloads, verifies and relays blocks does not mine, and neither does a Lightning node, an indexer or a trading bot.
What must Bitcoin Core provide for Core Lightning?
Bitcoin Core must be version 25.0 or above, fully synced, with JSON-RPC enabled and transaction relay on.
The documentation lists these conditions and adds two relaxations: ZeroMQ is not required, and bitcoind does not need txindex. If you prune, keep the target generous, because bitcoind cannot serve a block it has already deleted and Core Lightning then cannot synchronize any more; this happens when it stays offline for a long time. Follow how to run a Bitcoin node on a VPS or the pruned version first.
The file ~/.bitcoin/bitcoin.conf
server=1
rpcuser=REPLACEME
rpcpassword=REPLACEME
How do you download and verify Core Lightning?
Download the Ubuntu binary, SHA256SUMS and its .asc file from the GitHub release page, verify the signature on the sums file, then check the archive.
The release page of v26.06.10 says to check the signatures against the manifest by passing both files to gpg, then run the checksum with --ignore-missing. It points to SECURITY.md in the repository for the maintainers’ keys, so import the key from there before the first verification. The project builds reproducible binaries for Ubuntu 22.04, 24.04 and 26.04. The commands below use Ubuntu 24.04 on amd64; change the version and the file name to the latest release.
The config file sets the network and the bitcoind RPC login, and optionally the alias and the address to announce.
Create a file named config in ~/.lightning/. Options are written without the leading dashes. bitcoin-rpcuser, bitcoin-rpcpassword, bitcoin-rpcconnect and bitcoin-rpcport come from the bcli plugin and say how to reach bitcoind. addr sets the address to listen on and announce-addr the one to announce. network is not valid inside a per-network file. Inbound P2P ports stay open, so a node can accept peers: 8333 for Bitcoin, 9735 for Lightning, 18080 for Monero, and any port you open in your own firewall, so the default Lightning port 9735 accepts peers.
Back up hsm_secret once and emergency.recover after each new channel, and never rely on a snapshot of the database.
The project documentation states that recovering hsm_secret is enough for on-chain funds but only necessary, not sufficient, for funds in channels, and that there is no single-seed backup for them. emergency.recover is updated each time you open a channel. Static channel recovery needs the cooperation of your peers and is a last resort. Snapshot-style copies of the database are discouraged because any lost state can mean lost funds; replication through the db write hook is the recommended approach. No plan includes backups. Keep your wallet seeds, Lightning channel backups and bot configs somewhere other than the VPS. Blockgilt never holds your coins, seeds or exchange API keys: the node and the wallet on your VPS are yours to run, and nobody on the team will ask for a seed phrase or a private key. Details are in how to back up a Lightning node.
Frequently asked questions
Does Core Lightning need a full node?
No. It works with a synced pruned node, but it gets stuck if bitcoind prunes blocks it has not processed yet.
Does Core Lightning need ZMQ or txindex?
No. The documentation says ZeroMQ is not required and bitcoind does not need txindex.
Where is the config file?
In ~/.lightning/config, or in a network subdirectory such as ~/.lightning/bitcoin/config.
Which file protects my channels?
hsm_secret is necessary, and emergency.recover is the static channel backup. Neither works alone for in-channel funds.
Can Blockgilt recover my node?
No. No plan includes backups. Keep your wallet seeds, Lightning channel backups and bot configs somewhere other than the VPS.
Verdict
Blockgilt Leaf is the better choice if Core Lightning runs on a pruned bitcoind, on 80 GB of NVMe for $3.50 a month on 12 months.
Gilt is the better choice if you add BTCPay Server or more plugins, at $12.61 a month.