New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·Lightning, ecash and crypto payments

Self-hosting LNbits on a Swiss VPS.

LNbits VPS in the Swiss Alps from $6.99/mo: sizing by funding source, Docker Compose with Phoenixd and Caddy, real costs, and the custody rules you inherit.

Runs here
  • Lightning
  • Docker
  • Caddy

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Staging, devStarter · 2 vCPU · 2 GB RAM$6.99/mo80 GB NVMe · 10 TB transfer · 1 Gbps
  • 1 Gbps port10 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$6.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less

Deploy VPS Starter
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 2 vCPU, 2 GB RAM
  • 80 GB NVMe local storage
  • 10 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/08

Short answer.

Yes. LNbits runs comfortably on our VPS Starter (2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, $6.99 a month) in ALP1, provided the Lightning backend behind it is a hosted service or a light daemon such as Phoenixd. LNbits on top of your own LND or Core Lightning with a Bitcoin node underneath needs a larger VPS or a dedicated server; the table below says which.

The decision that matters most is not the server. LNbits holds no bitcoin itself: it is a ledger and a set of payment tools sitting on a funding source, and that funding source decides who controls the keys and, once other people keep balances on your instance, which financial rules you answer to. Choose the backend first and the plan follows.

02/08

What LNbits is and who runs it.

LNbits is a free, MIT-licensed Lightning wallet and accounts system written in Python. One instance holds many users, each with any number of wallets and API keys. Balances are rows in LNbits' database; the sats sit in the funding source, one of more than twenty supported backends: LND, Core Lightning, Eclair, Phoenixd, Breez SDK, Spark, Nostr Wallet Connect, or custodial APIs such as Alby, Blink and Strike. The current release is v1.6.2 (18 September 2026), a PostgreSQL backup hotfix on top of v1.6.0, which brought sandboxed WASM extensions and Lightning Addresses on core wallets.

Merchants come for the extensions. TPoS turns a tablet into a PIN-protected till that prices in CHF and converts to sats at the counter, SatsPay builds checkout pages for a web shop, and Split Payments divides each incoming payment between partners. Communities use the multi-user side: a Verein handing out wallets to its members, or an event selling drinks against NFC Bolt Cards with per-day limits. The project's support channels are its Telegram group and community forum.

lnbits.example.com
An LNbits wallet in the web interface, with its balance, payments and the extensions menu
LNbits, from the project's README on GitHub (lnbits/lnbits, MIT licence).

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.

03/08

Requirements and sizing.

LNbits itself is modest. Its documentation gives a Raspberry Pi 4 with 2 GB of RAM as a workable host, roughly the profile of VPS Starter. The official Docker image listens on port 5000 and keeps its state in /app/data: the SQLite database by default, uploaded assets, extensions and the super-user file. The project recommends PostgreSQL for production; for one shop with a few terminals SQLite is adequate, for an instance with hundreds of users it is not where to economise.

What moves the sizing is the backend:

SetupPlanPrice / month
LNbits + hosted backend (NWC, Alby, Blink)VPS Starter — 2 vCPU / 2 GB / 80 GB NVMe$6.99
LNbits + Phoenixd on the same VPSVPS Starter$6.99
LNbits + PostgreSQL + Phoenixd, many usersVPS Standard — 4 vCPU / 4 GB / 160 GB$12.99
LNbits + LND or CLN + pruned bitcoindVPS Pro — 6 vCPU / 8 GB / 320 GB$22.99
LNbits + LND or CLN + full archival bitcoindDedicated Rigi — EPYC 4244P, 32 GB, 1 TB NVMe$64.99

An archival Bitcoin node does not fit in 80 GB, and its initial sync on 2 GB of RAM is an exercise in patience, hence the dedicated line; running the node itself is covered in our Lightning node guide. The 10 TB monthly transfer will not be the constraint, since an invoice and its status updates weigh a few kilobytes. From outside, only ports 80 and 443 need to answer; 5000 stays on localhost and Phoenixd's API on 9740 inside the Docker network. Your own LND or CLN adds 9735 for peers.

04/08

How to deploy it with us.

  1. 01Order VPS Starter with Debian 13: deploy VPS Starter. No-KYC: an email address is enough to open the account.
  2. 02Point a DNS A record, say pay.example.com, at the VPS's IPv4. LNURL, Lightning Addresses and Phoenixd-backed invoices need LNbits at a public HTTPS address.
  3. 03Install Docker Engine and the Compose plugin from Docker's Debian repository, and Caddy from Debian's own (apt install caddy).
  4. 04In /opt/lnbits, fetch the example configuration with wget https://raw.githubusercontent.com/lnbits/lnbits/main/.env.example -O .env, then write compose.yaml:
yaml
services: phoenixd: image: acinq/phoenixd:latest # pin the tag you tested restart: unless-stopped environment: - HOME=/phoenix volumes: - ./phoenixd:/phoenix/.phoenix lnbits: image: lnbits/lnbits:latest # pin the tag you tested restart: unless-stopped depends_on: - phoenixd ports: - "127.0.0.1:5000:5000" environment: - HOST=0.0.0.0 - PORT=5000 volumes: - ./data:/app/data - ./.env:/app/.env

The 127.0.0.1: prefix is not decoration. Docker writes its own firewall rules, so a port published as plain 5000:5000 is reachable from the internet even while ufw reports it denied, as Docker's documentation admits. Binding to localhost leaves Caddy as the only way in.

  1. 05In .env, set LNBITS_BASEURL=https://pay.example.com/, a long random AUTH_SECRET_KEY (otherwise it is derived from the super user) and a FIRST_INSTALL_TOKEN. Without the token, whoever reaches the first-install page before you owns the instance. The shipped FORWARDED_ALLOW_IPS="*" is acceptable here only because port 5000 answers on localhost alone.
  2. 06Put this in /etc/caddy/Caddyfile and reload Caddy, which obtains the certificate itself:
example
pay.example.com { reverse_proxy 127.0.0.1:5000 }
  1. 07Start Phoenixd first (docker compose up -d phoenixd), copy seed.dat and phoenix.conf out of ./phoenixd/ and store them offline before a single sat arrives. Then start LNbits, enter the token, create the super user, and under Admin → Funding choose PhoenixdWallet with endpoint http://phoenixd:9740/ and the http-password from phoenix.conf.

Before anyone else logs in, remove user-id-only from the allowed authentication methods unless you hand out wallet links on purpose; with it enabled, a wallet URL is its own password. A shop instance should also have new account creation switched off in the Admin UI, with LNBITS_MAX_USERS in .env as a hard ceiling. Updates are docker compose pull and docker compose up -d, after reading the release notes; 1.6.0 changed how extensions are packaged.

The daily VPS backup option (+20 %) captures the whole disk. Keep a second copy off the machine: restic with its S3 backend pointed at a bucket from our object storage, $1.99 a month for 250 GB, holding ./data and the Phoenixd seed. Do not mount the bucket underneath the SQLite file.

05/08

What Phoenixd costs before the first sale.

Phoenixd removes channel management and charges for it. Liquidity is bought from ACINQ in chunks of 2 million sats by default, at 1 % plus the on-chain mining fee, paid upfront; in ACINQ's own example, a 10,000-sat mining fee makes the first purchase cost 30,000 sats. Smaller payments are held as fee credit until they cover it. For a shop with steady sales that is a fair price for not running a node. For a tip page that may take months to see 30,000 sats, an NWC wallet is cheaper, and ACINQ as your only peer costs some privacy against a node of your own.

06/08

Cost.

VPS Starter is $6.99 a month: 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB of transfer on a 1 Gbps port, an IPv4 address, full root and outbound port 25 open. Yearly billing takes about 25 % off, roughly $5.25 a month or $62.99 a year. Daily backups bring the month to about $8.39 (theoretical); an extra IPv4 is $2 a month and priority support $10. The rest is on our pricing page.

Payment is in Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins, with prices and balances in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, so $100 becomes $110 of credit, about fifteen months of Starter at the monthly rate (theoretical). The unused paid part of a top-up is refundable within 14 days.

The price does not include administration: we do not run LNbits or your Lightning node, and we do not hold your seed, so a lost seed is not something we can restore. A single VPS is also a single point of failure, and while it is down your till cannot issue invoices. A merchant who cannot live with that keeps a phone wallet as a fallback; anyone who would rather not administer a server at all may be better served by the LNbits project's own hosted service.

07/08

Why Switzerland, and why us.

Hetzner's current cloud terms prohibit only applications that mine crypto currencies, but in August 2022 its support said publicly that anything even remotely related, staking and trading included, was excluded, and on 2 November 2022 it cut off more than 1,000 Solana validators in one sweep. A written rule that narrow, enforced that broadly, is a poor foundation for a payment system. On our network mining is allowed, crypto workloads such as LNbits and Lightning nodes are welcome, and we are paid in crypto ourselves.

Hosta AG is a Swiss société anonyme in Riehen, the servers sit in ALP1 in the Swiss Alps, and the revised Federal Act on Data Protection has applied since 1 September 2023. The European Commission confirmed on 15 January 2024 that Switzerland still provides adequate protection, so a European merchant can keep customer records here without additional transfer safeguards. As of 31 October 2026 the United States has CLOUD Act executive agreements only with the United Kingdom and Australia. That is not immunity: a Swiss court order or a mutual legal assistance request still reaches the server, as our offshore hosting page explains.

08/08

Acceptable use and your obligations.

LNbits makes it trivial to give wallets to other people, and that is where the operator's exposure begins, because those users hold no keys. FINMA describes custody wallet providers as holding clients' private keys and thereby providing a payment transaction service, which the Anti-Money Laundering Act governs when done professionally; in practice that means joining a self-regulatory organisation or obtaining FINMA authorisation. A closed instance for your own shop is a different case from a public wallet service. We do not make that assessment for you, so take advice before opening sign-ups. Since 26 February 2026, Swiss sanctions also prohibit crypto-asset services to Russian nationals, residents of Russia and entities established there, subject to the ordinance's exceptions; if your instance serves third parties, applying that rule is your job.

Not allowed on our network: fraud, payment pages impersonating another business, laundering, and manifestly unlawful content. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority or where the content is manifestly unlawful, in line with the Swico Code of Conduct Hosting 2025.

Catalogue·Options

Every configuration, every option, every price.

Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
ProProduction68 GB320 GB20 TB / month1 Gbps$22.99/moDeploy Pro
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy Summit

Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.

Every plan

  • AMD EPYCon every host
  • Local NVMenot network storage
  • DDoS protectionalways on
  • 1 IPv4 addressmore at $2 each
  • VNC consoleand full root access

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Is the $6.99 Starter plan enough for LNbits?

For LNbits with a hosted backend or Phoenixd, yes; the project itself treats a 2 GB machine as sufficient. It is not enough for a Bitcoin full node: take VPS Pro for a pruned node with LND or CLN, or a dedicated server for an archival one.

Is LNbits custodial?

For the people using your instance, yes: their balances are rows in your database, backed by sats in your funding source. Who holds the actual keys depends on that backend. With Phoenixd or your own node it is you; with Alby, Blink or Strike it is the provider.

What happens to payments if the VPS goes down?

LNbits cannot create invoices and Phoenixd cannot receive while the server is offline, so the sale has to go through another route. Funds already received stay in the channel and are recoverable from the seed, which is why the seed backup comes before the first payment.

Can LNbits send email notifications from the VPS?

Outbound port 25 is open on every VPS, so direct SMTP works. For mail that has to arrive, use an authenticated relay on port 587; a fresh server IP rarely reaches inboxes on its own.

Do you need my identity to host an LNbits instance?

No-KYC: an email address is enough to open an account, and payment is in crypto. Your obligations toward your own users under anti-money-laundering or sanctions law are separate and stay with you.

Sources

Every fact on this page, with its source

Accessed 3 Nov 2026 unless noted.

EU and other countries

ALP1·Swiss Alps

Your server in the Alps, ready when you are.

Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.