Self-hosted app·Video and streaming
LiveKit VPS hosting in the Swiss Alps.
Run a LiveKit VPS in ALP1, Swiss Alps: ports, sizing, Docker deploy on Debian 13, egress maths for cam platforms and the legal limits. 12.99 USD/mo.
- LiveKit
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port15 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: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
Short answer.
Yes. LiveKit runs on our Standard plan, 12.99 USD a month with the 250 GB bucket add-on, on Debian 13 in ALP1, our data centre in the Swiss Alps. The number that decides whether it works for a cam platform is outbound bandwidth, not CPU or RAM: a selective forwarding unit (SFU) sends a separate copy of each stream to each viewer, so egress grows in a straight line with your audience. Once you are pushing something close to a gigabit around the clock, the correct answer is one of our dedicated servers, and it is cheaper to plan for that now than to discover it during a busy weekend.
02/07
What LiveKit is.
LiveKit is an open-source WebRTC media server written in Go on the Pion WebRTC library, released under the Apache 2.0 licence by LiveKit Inc., which also sells a managed service called LiveKit Cloud. The core is one binary, livekit-server. Ingest from OBS or hardware encoders (Ingress), recording and restreaming (Egress) and telephony (SIP) are separate services that coordinate with the server through Redis. The current release when we wrote this page is v1.13.11, published on 25 October 2026.
Two properties of the design matter to a cam operator more than the feature list. WebRTC keeps the delay between a tip and the performer's reaction well under the several seconds that segmented HLS adds, which is the reason most live-interaction sites moved to it. And because every participant negotiates its connection with the server only, a viewer's browser never learns the performer's home IP address, which a peer-to-peer WebRTC call would expose to the other side.
The reason this ends up on a self-managed VPS rather than behind a CDN is mechanical. WebRTC media is RTP over UDP sent straight to the server's address, so no HTTP cache sits in the path and the SFU host carries every byte. On top of that, Cloudflare's service terms (updated 28 September 2026) require customers on Free, Pro and Business plans to use paid products such as Stream for video, and reserve the right to limit accounts that serve video through the plain CDN. For an SFU, the host's bandwidth policy is the product.
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
Requirements and sizing.
LiveKit's own guidance is short: it is bound by CPU and bandwidth, production setups should have 10 Gbit/s networking or better, compute-optimised machines suit it best, and Docker should run with host networking. The ports below are the ones the official single-machine setup expects.
| Port | Protocol | Used for |
|---|---|---|
| 80 | TCP | TLS certificate issuance (Caddy) |
| 443 | TCP | HTTPS/WebSocket signalling and TURN/TLS |
| 7881 | TCP | WebRTC over TCP, for clients whose UDP is blocked |
| 3478 | UDP | Embedded TURN/UDP, also acts as STUN |
| 50000–60000 | UDP | WebRTC media, two ports per participant |
| 1935 | TCP | RTMP ingest (only with Ingress) |
| 7885 | UDP | WHIP ingest media (only with Ingress) |
The generated configuration serves the signalling hostname and the TURN hostname on the same port 443, so a single node needs one public IPv4, not several. Additional addresses start to matter when you split TURN onto its own machines in a cluster. With the default range you have 10,001 UDP ports at two per participant, which caps one node at about 5,000 connected participants before CPU even enters the discussion.
For CPU and bandwidth, LiveKit publishes a livestreaming benchmark on a 16-core Google Cloud c2-standard-16: one 720p simulcast publisher, 3,000 subscribers, 531 MB/s outbound at 92 % CPU. Divided out, that is about 1.4 Mbit/s and 0.005 cores per viewer, or roughly 200 viewers per compute-optimised core. The table applies those ratios to cam-site audiences; treat it as theoretical, because your bitrate ladder and how many viewers keep a stream at full resolution will move it.
| Concurrent viewers | Egress (theoretical) | Per hour | Per month at 6 h/day | Cores (theoretical) |
|---|---|---|---|---|
| 100 | 140 Mbit/s | 63 GB | 11 TB | 0.5 |
| 300 | 420 Mbit/s | 189 GB | 34 TB | 1.5 |
| 1,000 | 1.4 Gbit/s | 630 GB | 113 TB | 5 |
| 3,000 | 4.2 Gbit/s | 1.9 TB | 340 TB | 15 |
The server process itself needs little disk; a 250 GB bucket earns its place only if you keep recordings or long logs on the machine.
Ingress and Egress change the arithmetic more than viewers do. LiveKit recommends at least 4 CPUs and 4 GB of memory per Ingress or Egress instance, and says a transcoding ingest or a room-composite recording can each consume 2 to 6 cores. RTMP from OBS is always transcoded, so three performers streaming RTMP into one VPS will starve the SFU next to them. WHIP with transcoding bypassed costs almost nothing, and that is the ingest path we recommend on a VPS; the trade-off is that viewers receive whatever the encoder sends, so adaptive quality depends on the performer's OBS settings. Put room-composite recording on a separate machine and ship the files to object storage.
04/07
Deploying it on our VPS.
Order the VPS with the Debian 13 image already selected: the deploy page. While it provisions, create two A records pointing at its IPv4, for example live.example.com and turn.example.com. Both must resolve before Caddy can obtain certificates.
On your workstation, run LiveKit's configuration generator and answer its questions (domain, TURN domain, whether you want Ingress and Egress):
docker pull livekit/generate
docker run --rm -it -v$PWD:/output livekit/generateIt writes a folder containing docker-compose.yaml, livekit.yaml, caddy.yaml, redis.conf and an install script. LiveKit tests that script on Ubuntu and Amazon Linux, not Debian, so we skip it, install Docker from Docker's own repository (which supports Debian 13 "trixie") and start the stack by hand:
apt-get update && apt-get install -y ca-certificates curl ufw
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian trixie stable" \
> /etc/apt/sources.list.d/docker.list
apt-get update && apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-pluginCopy the generated folder to /opt/livekit (scp -r live.example.com root@<vps-ip>:/opt/livekit) and pin the server image instead of following latest, so an upstream release cannot change behaviour under a live show:
livekit:
image: livekit/livekit-server:v1.13.11
command: --config /etc/livekit.yaml
restart: unless-stopped
network_mode: "host"
volumes:
- ./livekit.yaml:/etc/livekit.yamlOpen the firewall. With host networking Docker adds no NAT rules of its own, so ufw rules apply exactly as written:
ufw allow 22/tcp && ufw allow 80/tcp && ufw allow 443/tcp && ufw allow 7881/tcp
ufw allow 3478/udp && ufw allow 50000:60000/udp
# only with Ingress: ufw allow 1935/tcp && ufw allow 7885/udp
ufw enable
cd /opt/livekit && docker compose up -d && docker compose logs -f caddyWait for certificate obtained successfully in the Caddy log; curl http://live.example.com should then return a 404 rather than hang. Check that Redis listens on loopback only (ss -ltnp | grep 6379), because with host networking a Redis bound to every interface is a Redis on the internet. Finally, run lk load-test from a different machine with ulimit -n 65535 against your own room before you announce anything.
On the application side, your backend mints a short-lived access token per user. Viewers get room tokens without publish rights, performers publish, and a private show is simply a separate room with two tokens. LiveKit's join and leave webhooks give you the timestamps you need to bill per minute.
05/07
Cost.
| Item | Price | Notes |
|---|---|---|
| Cloud VPS Standard | 12.99 USD/month | Debian 13 image via the order link above |
| 250 GB bucket add-on | $1.99 a month | Recordings and logs kept on the box |
| LiveKit server | 0 | Apache 2.0, self-hosted |
A cam site at 300 concurrent viewers moves around 34 TB a month in theory; that is ordinary for us, but a VPS shares its physical uplink, and sustained gigabit traffic belongs on hardware with its own port. Ordering is no-KYC: an email address is enough. Business customers can pay in crypto, and top-ups carry a bonus, with the unused balance refundable within 14 days. Current rates for the whole cloud VPS range are on the pricing page.
06/07
Jurisdiction and latency.
The VPS is operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen). The revised Federal Act on Data Protection has applied since 1 September 2023, and on 15 January 2024 the European Commission confirmed that Switzerland still provides an adequate level of protection, so the personal data of your EU viewers can be processed in ALP1 without extra transfer clauses. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. That describes our side; a US payment processor, analytics tag or CDN in your own stack keeps its own jurisdiction. The broader picture is on our offshore hosting page.
For latency, Switzerland sits in the middle of the European audience most cam sites sell to.
07/07
What is not allowed, and what stays your job.
Swiss criminal law draws the outer lines. Article 197 of the Criminal Code makes it an offence to make pornography accessible to anyone under 16, and prohibits outright any content showing sexual acts with minors, with animals or with violence. A login wall that anyone can click through is not age verification, and the markets you sell into may demand more than Swiss law does.
We do not ask for your identity; you still have to verify your performers'. Every performer must be an adult whose age, identity and consent you have checked and documented, and recording or clipping a show needs that performer's consent. Identity documents and anything touching sexual life count as sensitive personal data under the FADP (art. 5 let. c), so keep them encrypted, off the media server and on a deletion schedule. Restreaming other people's content is not permitted.
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 (Swico Code of Conduct Hosting 2025). The full rules are in our acceptable use policy, and you can reach us through a support ticket from the client panel.
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 |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall 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 put Cloudflare in front of LiveKit?
Only partly. The HTTPS signalling hostname could be proxied, but the media and TURN traffic must reach the VPS address directly, and on Free, Pro and Business plans Cloudflare's terms require paid products for serving video. Most operators leave both LiveKit hostnames unproxied and use Cloudflare, if at all, for the marketing site.
Can performers stream from OBS?
Yes, through LiveKit Ingress with WHIP (UDP 7885) or RTMP (TCP 1935). On a VPS, use WHIP with transcoding bypassed. RTMP is transcoded and costs 2 to 6 cores per stream, which belongs on a separate machine.
Will viewers see a performer's IP address?
No. Every client connects to the SFU, not to each other, so viewers see your server's address. The VPS address is public by design, which is the price of carrying UDP media yourself.
Can I record shows?
Yes, with LiveKit Egress, and only with the performer's consent. Recording individual tracks is cheap; composite recordings run a headless browser and need 4 CPUs and 4 GB per instance by LiveKit's own recommendation, so run them on another server and store the output in object storage.
Is one VPS enough, and how do I scale?
A room has to fit on one node, so a single very popular performer is limited by that node's CPU and port.
What happens if someone files a copyright complaint about a recorded show?
We forward complete complaints to you, as described above. Under article 39d of the Swiss Copyright Act, a host's stay-down duty applies only where the same work was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement. Our general answers on complaints are in the FAQ, and ordering without identity documents is covered on the no-KYC hosting page.
Sources
Every fact on this page, with its source
Accessed 2 Nov 2026 unless noted.
Swiss law and authorities
- Swiss Criminal Code, art. 197 (pornography)fedlex.admin.ch
- Federal Act on Data Protection, RS 235.1, in force since 1 September 2023; art. 5 let. c (sensitive personal data)fedlex.admin.ch
- Swiss Copyright Act, art. 39d (RO 2020 1003, in force 1 April 2020)fedlex.admin.ch · verified 31 Oct 2026
EU and other countries
- European Commission, adequacy decisions (review of 15 January 2024; decision 2000/518/EC remains in force)commission.europa.eu
- US Department of Justice, CLOUD Act resources (agreements with the United Kingdom and Australia only)justice.gov · verified 31 Oct 2026
Industry, providers and software
- GitHub, livekit/livekit release v1.13.11 (25 October 2026)github.com
- Docker, "Install Docker Engine on Debian" (Debian Trixie 13 supported)docs.docker.com
- Cloudflare, Service-Specific Terms, Application Services, section "Content Delivery Network (Free, Pro, or Business)" (last updated 28 September 2026)cloudflare.com
Other references
- LiveKit, "Virtual machines" (self-hosting guide: generator, ports, DNS, upgrading)docs.livekit.io
- LiveKit, "Deploying LiveKit" (resources: CPU/bandwidth bound, 10 Gbit/s, compute-optimised, host networking; TURN/TLS on 443)docs.livekit.io
- LiveKit, "Ports and firewall" (two UDP ports per participant)docs.livekit.io
- LiveKit, "Benchmarking" (c2-standard-16, 1 publisher / 3,000 subscribers, 531 MB/s out, 92 % CPU)docs.livekit.io
- LiveKit, "Ingress service" (4 CPU / 4 GB per instance, transcoding 2–6 cores, WHIP UDP 7885)docs.livekit.io
- LiveKit, "Egress service" (4 CPU / 4 GB per instance, room composite 2–6 CPUs)docs.livekit.io
- Swico, Code of Conduct Hosting 2025Switzerland Hosting
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.
