Self-hosted app·Communities, calls and games
Element hosting on a Swiss VPS your own Matrix server in ALP1.
Element hosting on a Swiss VPS in ALP1: Synapse, Element Web and Element Call via ESS Community or Docker, with sizing, costs and limits.
- Element
- Matrix
- PostgreSQL
- Caddy
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port20 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: $206.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 6 vCPU, 8 GB RAM
- 320 GB NVMe local storage
- 20 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
Short answer.
Yes. Element runs on our Cloud VPS in ALP1, in the Swiss Alps, and for a community of up to roughly a hundred people we recommend the Pro plan: 6 vCPU, 8 GB RAM, 320 GB NVMe and 20 TB of monthly transfer for $22.99. The client is the light part. What you are really hosting is a Matrix homeserver — Synapse and PostgreSQL, plus an authentication service and a call backend if you want Element X to work fully — and the decision that matters most comes before any of that: your server name. It becomes the suffix of every user ID (@anna:example.com), and it cannot be changed later without wiping the database. Pick a domain you will still own in ten years before you type the first command.
02/07
What Element is, and what it needs behind it.
Element is the reference client for Matrix, the open, federated messaging protocol. It exists as Element Web (a static JavaScript application), Element Desktop and the mobile apps, of which Element X is the current generation. It is developed by Element Creations Ltd, the UK company that was behind the Riot client until 2020 and that also maintains Synapse; the Matrix specification itself is stewarded by the non-profit Matrix.org Foundation. Element Web, Synapse and Element's self-hosting distribution are published under the AGPL-3.0.
The clients keep nothing of lasting value on their own. Accounts, room history, media and encryption key backups live on the homeserver, and for self-hosters that means Synapse. On 4 November 2026 the current releases are Synapse 1.164.2 (2 November 2026) and Element Web v1.12.33 (27 October 2026). Synapse ships roughly every two weeks, and some of those releases should not wait for a convenient weekend: 1.157.2, in July 2026, fixed six high-severity vulnerabilities and was flagged as particularly urgent for servers in open federation.
Element X brings two server-side requirements that older tutorials miss. It syncs over Simplified Sliding Sync, which Synapse now implements itself, so the separate proxy of 2023 is no longer needed. It also places calls through Element Call, which needs a MatrixRTC backend built on LiveKit. The client side has changed too: since April 2026, Element only lets verified devices send or receive end-to-end encrypted messages, so budget some time for members asking how to verify a new phone.
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.
Element publishes two kinds of figures. Its community distribution, ESS Community, asks for at least 2 CPU cores and 2 GB of memory for the single-node K3s setup and is tuned for about 100 users. Its enterprise documentation is more useful for planning because it splits by federation mode, and federation is what decides your bill. A closed server that only talks to itself stays small. A server whose users join large public rooms has to fetch, verify and store the state of those rooms, and PostgreSQL grows with every one of them.
| Element's reference figures | Synapse (max CPU / avg RAM) | PostgreSQL | Total | Our matching plan |
|---|---|---|---|---|
| Closed federation, 1–500 users | 2 CPU / 2,000 MiB | 1 CPU / 4 GiB | 3 CPU / ~6 GiB | Cloud VPS Pro — 6 vCPU / 8 GB, $22.99 |
| Open federation, 1–500 users | 5 CPU / 4,500 MiB | 3 CPU / 8 GiB | 8 CPU / ~12.4 GiB | Cloud VPS Power — 12 vCPU / 16 GB, $42.99 |
| Open federation, 501–2,500 users | 9 CPU / 8,150 MiB | 5 CPU / 24 GiB | 14 CPU / ~32 GiB | Dedicated Pilatus — 8c/16t, 64 GB, $84.99 |
These are Element's recommendations for its enterprise suite, not our measurements, and they leave out K3s, the authentication service, the RTC backend and the operating system. The Standard plan (4 vCPU / 4 GB, $12.99) will start the stack, but by Element's own figures it runs short of memory once PostgreSQL holds real data, so we would keep it for testing. Past roughly 500 active users in open federation, skip the top VPS tiers and move to a dedicated server, where the 64 GB of a Pilatus leaves PostgreSQL room to cache.
Disk is the slow variable. Media makes up most of it, and Synapse caches every remote image and video your users open in federated rooms. Set media_retention with a remote_media_lifetime (90 days is a reasonable start) and run synapse_auto_compressor against the state tables from time to time, and 320 GB lasts a small community a long while.
| Port | Protocol | Purpose |
|---|---|---|
| 80 | TCP | HTTP redirect and ACME challenges |
| 443 | TCP | Client API, federation (with .well-known delegation), Element Web, account service |
| 30001 | TCP | MatrixRTC (Element Call) over TCP — ESS Community default |
| 30002 | UDP | MatrixRTC media — ESS Community default |
| 8448 | TCP | Federation, only if you do not delegate via .well-known |
| 25 (outbound) | TCP | Verification and notification email; open on every VPS |
04/07
How to deploy it with us.
Order the Pro plan with Debian 13 through the Cloud VPS Pro deploy link. As on all our no-KYC hosting, an email address is enough to open the account, and you pay in crypto. Then create DNS records pointing at the VPS for the server name itself (example.com) and for the matrix., account., mrtc., chat. and admin. subdomains.
- 01
Recommended: ESS Community on K3s
ESS Community is Element's official packaging: Synapse, Matrix Authentication Service, the Element Call RTC backend, Element Web, the Element Admin console, the Hookshot integration bot and an optional bundled PostgreSQL, all deployed by one Helm chart. It is the shortest route to a server Element X accepts without fiddling. The project README covers TLS and the Traefik settings in detail; the skeleton is:
curl -sfL https://get.k3s.io | sh - # copy the k3s kubeconfig to ~/.kube/config as the README describes curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash kubectl create namespace ess # hostnames.yaml and tls.yaml come from the ESS quick-setup fragments helm upgrade --install --namespace ess ess \ oci://ghcr.io/element-hq/ess-helm/matrix-stack \ -f ~/ess-config-values/hostnames.yaml \ -f ~/ess-config-values/tls.yaml --wait kubectl exec -n ess -it deploy/ess-matrix-authentication-service \ -- mas-cli manage register-userRegistration is closed by default, which is why the last command creates your first account by hand. If you later open sign-ups, the authentication service needs SMTP; port 25 is open outbound on every VPS, though a relay with SPF and DKIM gets past more spam filters than direct delivery. Run the Matrix Federation Tester before you invite anyone.
- 02
Lighter: Docker Compose, without calls
If text chat is all you need, four containers will do, at the cost of Element Call and the new OIDC login flow. Element X should still log in with a password against a plain Synapse. Serve Element Web on its own hostname rather than under the homeserver's domain; Element recommends that separation so a script-injection bug in one cannot reach the other.
services: postgres: image: postgres:17 environment: POSTGRES_USER: synapse POSTGRES_PASSWORD: change-me POSTGRES_INITDB_ARGS: "--encoding=UTF8 --lc-collate=C --lc-ctype=C" volumes: ["./pg:/var/lib/postgresql/data"] restart: unless-stopped synapse: image: ghcr.io/element-hq/synapse:v1.164.2 volumes: ["./synapse:/data"] depends_on: [postgres] restart: unless-stopped element: image: oci.element.io/element-web:v1.12.33 volumes: ["./element-config.json:/app/config.json:ro"] restart: unless-stopped caddy: image: caddy:2 ports: ["80:80", "443:443"] volumes: ["./Caddyfile:/etc/caddy/Caddyfile:ro", "./caddy:/data"] restart: unless-stoppedexample.com { header /.well-known/matrix/* Content-Type application/json header /.well-known/matrix/* Access-Control-Allow-Origin * respond /.well-known/matrix/server `{"m.server":"matrix.example.com:443"}` respond /.well-known/matrix/client `{"m.homeserver":{"base_url":"https://matrix.example.com"}}` } matrix.example.com { reverse_proxy /_matrix/* synapse:8008 reverse_proxy /_synapse/client/* synapse:8008 } chat.example.com { reverse_proxy element:80 }Generate the Synapse configuration once with
docker compose run --rm -e SYNAPSE_SERVER_NAME=example.com -e SYNAPSE_REPORT_STATS=no synapse generate, switch itsdatabaseblock topsycopg2with hostpostgres, and pointdefault_server_configin Element'sconfig.jsonathttps://matrix.example.com. The.well-knownanswers above keep federation on port 443. If Element X refuses the server, check that Simplified Sliding Sync is enabled for your Synapse version before you start doubting DNS.Whichever path you take, back up three things: a
pg_dumpof the database, the media store, and the generated secrets, including the signing key that identifies your server to the rest of the federation. Ship them off the VPS with restic to an S3 bucket on our object storage; 250 GB costs $1.99 a month. The bucket is an S3 API endpoint with access keys, not a disk, so use restic or rclone against it and never put it under PostgreSQL. ESS lists S3 media storage as a Pro-edition feature; on the Compose path, Synapse can write media to the bucket itself through thesynapse-s3-storage-providermodule, which must be v1.6.0 or later since Synapse 1.140.
05/07
Cost.
| Item | Per month |
|---|---|
| Cloud VPS Pro — 6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB transfer, 1 Gbps | $22.99 |
| Daily backups (+20 %) | $4.60 |
| Object storage, 250 GB, for off-site restic backups | $1.99 |
| Total | $29.58 |
Paying yearly takes about 25 % off the VPS, which in theory brings it to roughly $17.25 a month. VPS transfer is metered: Pro includes 20 TB a month, and the unmetered fair-use traffic on our dedicated servers does not apply. Text is negligible; calls are not. As a theoretical example, an eight-person Element Call in which each participant sends one 1.5 Mbit/s video stream and receives the other seven costs the SFU about 84 Mbit/s of egress, or roughly 38 GB an hour, so 20 TB covers some 500 call-hours a month before simulcast lowers the figure. You pay in Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin or other coins; top-ups from $50 earn a 5 % bonus, rising to 20 % from $500, and the unused paid part of a top-up is refundable within 14 days. The full grid is on our pricing page.
06/07
Jurisdiction, and where it stops.
The disk holding your database sits in ALP1, in the Swiss Alps, run by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655) in Riehen. The revised Federal Act on Data Protection has applied since 1 September 2023, and in January 2024 the European Commission confirmed that Switzerland keeps its adequacy status, so an EU association can move members' data here without additional transfer safeguards. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. That closes one route for foreign data requests and promises nothing about the others. If you plan a large public homeserver, follow the revision of the Swiss surveillance ordinance (VÜPF/OSCPT) put to consultation in January 2025: it was not in force on 31 October 2026, and the Federal Council has announced a second consultation. Our offshore hosting page covers the legal frame in more detail.
Federation is the honest caveat. A federated room is replicated to every server that has a member in it, wherever that server runs, so Swiss hosting covers the copy on your server and nothing beyond it. End-to-end encryption, on by default in Element's private rooms and direct messages, keeps message content unreadable on all of those servers, ours included. Membership, timestamps and everything in unencrypted rooms are still stored in the clear. A community that needs its data in one jurisdiction should restrict federation with federation_domain_whitelist or not federate at all.
07/07
Acceptable use and your obligations.
Running a homeserver makes you the operator of a communication service. You moderate your users and the rooms you host. Remote media from federated rooms lands on your disk whether or not anyone on your server posted it, which is a second reason for short remote retention and for leaving rooms whose moderation you do not trust. Keep registration closed, as ESS does by default, or gate it behind email verification or registration tokens: open-registration homeservers are a well-known source of spam accounts, and the complaints reach us as well as you. Publish an abuse contact in /.well-known/matrix/support, and keep Synapse patched.
Not allowed on our network: material sexualising minors, making works available without the rights holder's permission (downloading for private use is legal in Switzerland, uploading for others is not), unsolicited bulk email through the open port 25, and attacks launched from your server. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to you, and you must remove the content or justify it; 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. Since April 2020, Swiss copyright law has also required a hosting service that creates a particular risk of infringement to keep a notified work from reappearing (CopA art. 39d). A server with open registration and public media rooms should assume it may fall into that category.
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 |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProRecommendedProduction | 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.
Do I need Element Web if everyone uses the mobile apps?
No. Element X, Element Desktop and other Matrix clients talk to the homeserver directly. Element Web is a static site that ESS deploys anyway; it costs next to nothing in resources and gives members a browser fallback when they are away from their own devices.
Can I change the server name later?
Not in practice. The server name is part of every user ID and room alias, and the ESS documentation states that changing it means resetting the database. Use .well-known delegation so the name is example.com while Synapse lives on matrix.example.com: the host can move later, the name stays.
Is the Pro plan's traffic unmetered?
No. Every VPS plan includes a monthly transfer allowance, 20 TB on Pro; unmetered traffic under fair use applies only to dedicated servers. A text-heavy community will not come near the allowance, and heavy video calling is the one case worth calculating, as in the cost section above.
Can Synapse keep its media in your object storage?
Yes, through the S3 API with the synapse-s3-storage-provider module on a Compose install. Since Synapse 1.146, enable_local_media_storage lets you stop keeping a second local copy. On ESS Community, use the bucket for backups. Never format, partition or mount it as a block device.
Can I use Element X calls without ESS?
Only if you deploy the MatrixRTC backend yourself — LiveKit plus its token service — and advertise it to clients. ESS does that wiring for you, which is the main reason we recommend it for anyone who wants calls.
What do you need from me to open an account?
An email address; no identity documents. Business customers paying in crypto are welcome. For anything else, open a support ticket from the client panel.
Sources
Every fact on this page, with its source
Accessed 4 Nov 2026 unless noted.
Swiss law and authorities
- Revised FADP in force since 1 September 2023fedlex RS 235.1
- VÜPF/OSCPT revision not in force as of 31 October 2026, second consultation announcedadmin.ch
- CopA art. 39d, in force since 1 April 2020fedlex LDA · verified 31 Oct 2026
- Private-use downloading vs. making available onlineIPI
EU and other countries
- EU adequacy for Switzerland confirmed 15 January 2024European Commission
- CLOUD Act executive agreements (United Kingdom, Australia only)US DOJ · verified 31 Oct 2026
Industry, providers and software
- Element Server Suite Community README — resource requirements (2 CPU / 2 GB), ports 80/443/30001/30002, components, ~100-user target, closed registration by default, server name cannot be changed, S3 media listed as an ESS Pro featuregithub.com/element-hq/ess-helm
- Synapse releases — v1.164.2 released 2 November 2026; release cadencegithub.com/element-hq/synapse/releases
- Element Web releases — v1.12.33 released 27 October 2026github.com
- Element Web README — security note on serving Element Web from a separate domaingithub.com/element-hq/element-web
- Synapse 1.157.2 security release, 28 July 2026newreleases.io
- Synapse 1.156.0 — Simplified Sliding Sync (MSC4186) served by Synapsegithub.com
- Synapse 1.140.0rc1 — synapse-s3-storage-provider v1.6.0 requirednewreleases.io
- Synapse 1.146.0 — enable_local_media_storage optionnewreleases.io
- Swico Code of Conduct Hosting, 2025 revision (published 13 March 2025, in force April 2025)swico.ch/coc
Other references
- Element, ESS Classic requirements and recommendations — Synapse and PostgreSQL sizing by federation modedocs.element.io
- Element blog — device verification mandatory for encrypted messaging from April 2026 (post of 19 November 2025)element.io/blog/tag/security
- Element (software) — developer and former namesWikipedia
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.
