Self-hosted app·Lightning, ecash and crypto payments
Alby Hub on a Swiss VPS your own Lightning node in ALP1.
Alby Hub VPS in ALP1, Swiss Alps: sizing for the embedded LDK node, Docker setup, port 9735, backups, and cost from 6.99 USD a month.
- Lightning
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less
- 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/07
Short answer.
Yes, you can host Alby Hub with us, and the plan to start on is Cloud VPS Starter at 6.99 USD a month, running Debian 13 on our servers in ALP1 in the Swiss Alps. Crypto workloads are allowed here; our policy permits even mining. The setup is one Docker container, one open port (9735) and a swap file. What matters more than CPU or RAM is your backup: the 12-word recovery phrase and, if you do not link an Alby Account, the latest static channel backup. A server can be reinstalled. A lost recovery phrase cannot be replaced.
02/07
What Alby Hub is, and who runs it.
Alby Hub is a self-custodial Bitcoin Lightning wallet published by Alby under the Apache 2.0 licence. Out of the box it runs its own node, embedded and built on LDK, the Lightning Development Kit; it can instead drive an LND, Core Lightning, Phoenixd or Cashu backend you already operate. The seed is stored AES-encrypted under the password you set for the Hub and decrypted only in memory while the node runs. Other software reaches the Hub over Nostr Wallet Connect (NWC): a browser extension, a Nostr client or a point-of-sale app receives a connection secret, optionally with a spending budget, and talks to the Hub through a relay rather than through an open port on your server.
Two kinds of operator end up on this page. Merchants want Lightning payments to land in a wallet they control, and Alby documents a connection to BTCPay Server for that purpose; we cover the BTCPay side separately in cloud VPS. Communities, meetups and associations want one node behind several balances, which is what sub-wallets do: each one gets an isolated balance, its own transaction list and, if you want, a lightning address. Alby's README says the Hub should ideally run around the clock so it can receive payments at any hour, which is the case for a server over a laptop. If you have never administered a Linux machine, Alby's own warning applies: Docker mistakes can cost funds, and their hosted Hub is then the simpler choice.
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/07
Why host it here rather than on a large cloud.
Your host's crypto policy is a dependency of your node, and it can change under you. In August 2022 Hetzner stated on its own subreddit that running crypto nodes breached its terms, even a single node. In November 2022 it blocked server access for Solana validators and more than 1,000 of them went offline at once. We do not know how Hetzner applies its terms today and will not guess; the lesson is general. A Lightning node that loses its server does not lose its funds if the backups are right, but recovery means asking every channel peer to force-close, and Alby notes that the sats can take up to 14 days to return on-chain. With us the rule is written down: nodes are fine, mining is fine, and the Starter plan includes 10 TB of transfer a month.
Jurisdiction is the second reason. The service is operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen), and the hosting relationship falls under the revised Federal Act on Data Protection (FADP), in force since 1 September 2023. Your own obligations towards EU customers do not disappear, but the transfer question is settled: on 15 January 2024 the European Commission confirmed that Switzerland still ensures an adequate level of protection, so customer data in invoice memos or payment records can flow here without additional safeguards. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. That does not put a server beyond the reach of foreign authorities; it means there is no bilateral shortcut, and a request would normally go through mutual legal assistance. Our offshore hosting page goes through this in more detail.
There are two limits you should know before ordering. A VPS is someone else's computer: whoever controls the hypervisor can, in principle, read a running VM's memory, where the Hub keeps its decrypted seed, and that includes us. If that sits outside your threat model, treat the Hub as a till rather than a vault. Keep working capital on it and use Auto-Swaps, which move Lightning funds on-chain once a threshold is reached, to sweep the surplus to a wallet whose keys never touch the server. The second limit is that hosting in Switzerland moves your keys and your node, not every dependency. By default the embedded node takes chain data from Alby's Electrum server, NWC traffic goes through Alby's relays and swaps go through Boltz. The first two can be repointed with LDK_ELECTRUM_SERVER and RELAY if you run your own.
04/07
Requirements and sizing.
Alby publishes two sets of figures, and they differ. The README asks for 2 GB of RAM and 1 GB of disk for the embedded node, or 512 MB of RAM plus 2 GB of swap; the newer Docker guide gives 512 MB minimum and 1 GB recommended, with 1 GB of swap and 2 GB on smaller servers. We size to the README. The embedded node's memory use is what decides whether the kernel's OOM killer stops your wallet at three in the morning, and swap costs nothing.
| Requirement | Alby's published figure | Our advice |
|---|---|---|
| RAM, embedded LDK node | 2 GB, or 512 MB + 2 GB swap (README); 512 MB minimum, 1 GB recommended (Docker guide) | Add a 2 GB swap file on any plan |
| RAM, external LND/CLN backend | 256 MB for the Hub itself | Size the backend separately |
| Disk | At least 1 GB | Not a constraint: the Hub is one Go binary with an SQLite database |
| CPU | No figure published | Plan for 1–2 vCPU |
| Inbound ports | 9735/tcp for Lightning peers (LDK) | Open 9735; keep the 8080 web interface on localhost |
| Cloud VPS Starter | — | 2 vCPU, 2 GB RAM, 80 GB NVMe, 1 IPv4 address |
The Hub stays light because it does not index the blockchain; it asks an Electrum server. That changes the moment you want your own bitcoind as the chain source. The full chain runs to several hundred gigabytes, which calls for a different machine: a larger VPS or one of our dedicated servers, with the Hub pointed at it.
05/07
How to deploy it with us.
The steps below assume Docker and the embedded LDK node.
- 01Order Cloud VPS Starter with Debian 13 through the deploy link. Signup is no-KYC: an email address is enough, and you can pay in crypto.
- 02Log in over SSH, update the system and add swap:
sudo apt update && sudo apt full-upgrade -y
sudo fallocate -l 2G /swapfile && sudo chmod 600 /swapfile
sudo mkswap /swapfile && sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab- 03Install Docker Engine and the Compose plugin from Docker's own apt repository, which lists Debian 13 "Trixie" as supported. Docker's guide asks you to remove Debian's
docker.iopackage first if it is present. - 04Create a working folder and a
docker-compose.ymlinside it:
mkdir -p ~/albyhub/albyhub-data && cd ~/albyhubservices:
albyhub:
container_name: albyhub
image: ghcr.io/getalby/hub:latest
volumes:
- ./albyhub-data:/data
ports:
- "127.0.0.1:8080:8080" # web interface, reachable from the VPS only
- "9735:9735" # Lightning peers, required for LDK
environment:
- WORK_DIR=/data/albyhub
stop_grace_period: 300s
restart: unless-stopped- 05Start it with
docker compose up -dand followdocker compose logs -funtil no error keeps repeating. - 06From your own computer, open a tunnel with
ssh -N -L 8080:127.0.0.1:8080 you@your-vps, browse tohttp://localhost:8080, click Get Started, choose the Hub's password and write the recovery phrase on paper.
The important difference from Alby's example file is the web interface port. Alby publishes 8080:8080, which binds the admin interface to every address on the server, and Docker's own documentation warns that ports published this way bypass ufw and firewalld rules, so a ufw deny 8080 would protect nothing. Binding to 127.0.0.1 closes the port without relying on the firewall, and it matches Alby's README, which says the HTTP interface belongs on a private network and should not face the internet. Day-to-day payments do not need it anyway, because a point-of-sale or wallet app reaches the Hub over NWC through outbound relay connections. If you insist on a public URL, put an HTTPS reverse proxy with access restricted by IP address or VPN in front of it.
Updates and backups are the rest of the job. When the Hub shows its update banner, run docker compose pull && docker compose up -d; pin a release tag instead of latest if you prefer to choose the moment yourself. With a linked Alby Account, Alby keeps a static channel backup for you and the recovery phrase is the only thing you must store. Without one, copy the newest file from the static_channel_backups folder in the Hub's LDK data every time a channel opens. Do not start an old copy of the data directory, whether from a VPS snapshot or a tar archive, once the node has moved on. Lightning punishes outdated channel state, and Alby's migration guide warns that running two instances can force-close your channels.
06/07
Cost.
| Item | Price |
|---|---|
| Cloud VPS Starter in ALP1 | 6.99 USD / month |
| Twelve months at that price (theoretical: 12 × 6.99) | 83.88 USD |
| Alby Hub software | Free, Apache 2.0 |
| Channel opens, on-chain fees, LSP fees for inbound liquidity | Paid to the Bitcoin network and your LSP, not to us |
| Alby Pro subscription (dynamic channel backups) | Optional, priced by Alby |
The plan includes 10 TB of transfer a month, and crypto payment is open to private and business customers alike. Top-ups to your account earn a bonus, and the unused balance is refundable within 14 days. Every plan's current price is on the pricing page. For a merchant, the server is rarely the line that hurts. A new node has no receiving capacity, and getting some means paying an LSP for a channel or paying on-chain fees to open one, both of which follow the fee market rather than our price list.
07/07
Acceptable use and your obligations.
Running Alby Hub, a Bitcoin node or other crypto software is allowed on our VPS, and so is mining, within fair use. What we do not do is operate your node. We do not hold your recovery phrase or Hub password, so we cannot restore funds after a lost phrase, a deleted volume or a stale channel backup. That responsibility sits with you.
Sub-wallets change your legal position more than your technical one. A Hub that collects payments for your own shop holds your own money. A Hub that keeps balances for the members of a club or the customers of a service holds other people's money, and FINMA describes a custody wallet provider, one that holds the private keys for its clients, as providing a payment transaction service. Under the Anti-Money Laundering Act that is financial intermediation, which means joining a self-regulatory organisation or coming under FINMA supervision. Take advice before you offer it; this page is not legal advice.
Sanctions reach the operator too. Since 26 February 2026, Swiss sanctions against Russia prohibit providing crypto-asset services to Russian nationals, to people residing in Russia and to entities established there, subject to the exceptions in the ordinance. If your Hub serves third parties, screening them is your job, not ours.
Complaints follow Swiss rules. 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. For problems with the VPS, open a support ticket from the client panel. For problems inside the Hub, Alby's support and its Telegram community know the software better than we do; community operators may also want to compare it with cloud VPS.
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.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy 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
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I run Alby Hub against an existing LND or Core Lightning node instead?
Yes. Alby Hub can drive an external LND, Core Lightning, Phoenixd or Cashu backend, and in that mode the README puts the Hub's own memory needs at 256 MB. The backend is a separate sizing exercise: with a full bitcoind behind it, it needs several hundred gigabytes of disk. Alby's migration guide also notes that moving a Hub with an external node between machines is not supported as such; you install the Hub again and link it to the node.
Does port 9735 really have to be open?
For the embedded LDK node, yes: Alby's Docker guide says it must be reachable from the internet, and the README notes that a listening address is required for public channels and for peers who want to connect to you. After the first start, check it with ss -tlnp | grep 9735 on the server and a port test from outside.
What happens when the VPS reboots?
With restart: unless-stopped the container comes back by itself, but the Hub stays locked until someone enters the password, and a locked node is offline. Setting AUTO_UNLOCK_PASSWORD opens it automatically at start-up, at the price of storing the password on the same disk as the encrypted seed. If you turn it on, treat that disk and every copy of it as holding your keys. We would leave it off for a Hub with a large balance and accept it for a small till.
Can I move my Hub here from Alby's hosted service or from a machine at home?
Yes. Alby's migration guide covers moves from a hosted Hub and between self-hosted machines, using either an encrypted migration file or your recovery phrase, depending on your setup and subscription. Whichever path applies, do not start the old instance again after the move; Alby warns that running both can force-close your channels.
Can I pay for the VPS with Lightning from my own Hub?
We accept crypto from private and business customers, and signup needs only an email address.
Sources
Every fact on this page, with its source
Verified 31 Oct 2026 unless noted.
Swiss law and authorities
EU and other countries
Industry, providers and software
- Alby Hub README (supported backends, RAM and disk requirements, configuration variables, warning against exposing the HTTP interface, seed encryption)github.com/getAlby/hub
- Alby Hub licence (Apache 2.0)LICENSE
- Docker Docs, Install Docker Engine on Debian (Debian 13 supported; published ports bypass ufw and firewalld)docs.docker.com
- The Block, 1,000 Solana validators go offline as Hetzner blocks server access, 2 November 2022theblock.co
- Swico, Code of Conduct Hosting, revised edition published March 2025swico.ch/coc
Other references
- Alby Guides, Docker (512 MB / 1 GB RAM, swap, 1 GB storage, port 9735 for LDK, compose file, update procedure, warning for Docker beginners)guides.getalby.com
- Alby Guides, Backups & Recover (static channel backups, recovery by force-close, up to 14 days)guides.getalby.com
- Alby Guides, migrating Alby Hub to a different machine (do not restart the old instance; external nodes not supported)guides.getalby.com
- Alby Guides, Sub-walletsguides.getalby.com
- Alby Guides, Auto-Swaps and BTCPay Server connectionAuto-Swaps
- The Block, Hetzner says running crypto nodes breaches its terms, 26 August 2022theblock.co
- FINMA, Developments in FinTech (custody and non-custody wallet providers)finma.ch
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.
