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

Pay with
EN

Self-hosted app·Mail and private messaging

Tinode hosting on a Swiss VPS in ALP1.

Tinode hosting on a Swiss VPS in ALP1: Docker Compose setup for Tinode 0.25.3, sizing, ports, push and TURN caveats, and the $22.99/mo Pro plan.

Runs here
  • Go
  • MySQL
  • Docker
  • Caddy

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · ProductionPro · 6 vCPU · 8 GB RAM$22.99/mo320 GB NVMe · 20 TB transfer · 1 Gbps
  • 1 Gbps port20 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$22.99/mo

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

Deploy VPS Pro
  • 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/06

Short answer.

Yes. Tinode runs on a single one of our Cloud VPS plans in ALP1, in the Swiss Alps, and the plan we recommend is VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe and 20 TB of monthly transfer at 1 Gbps, for $22.99 a month, with Debian 13 and Docker.

The thing that matters most is not sizing. The official Docker image starts in demo mode. On first run it loads sample accounts with documented passwords plus a stock user with root access, and it signs login tokens with a key that is printed in its own Dockerfile. Uploaded files stay inside the container unless you mount a volume, so recreating the container deletes them. All of that has to be overridden before the server faces the internet, and the compose file further down does it.

Deploy: VPS Pro with Debian 13

02/06

What Tinode is.

Tinode is an open-source instant-messaging server written in Go and maintained by Tinode LLC. The server is licensed GPL-3.0; the Android, iOS and web clients and the gRPC bindings are Apache 2.0. Clients speak JSON over a websocket, with long polling as a fallback, while bots and backend services can use protobuf over gRPC. In use it resembles a self-hosted WhatsApp or Telegram more than Slack: one-to-one and group chats, channels with an unlimited number of read-only subscribers, voice messages, and one-to-one audio and video calls over WebRTC. It is not XMPP-compatible and does not federate yet; federation sits on the project's planned list.

Two facts shape the rest of this page. The maintainers still call it beta-quality software, and schema changes between minor versions are normal: the current release, v0.25.3 of 4 July 2026, belongs to a line whose 0.25.0 (December 2025) required a database upgrade from 0.24. More important, Tinode has neither end-to-end encryption nor encryption at rest. Both are planned, neither exists. Messages sit in plaintext in your database and can be read by whoever controls the machine, which is the honest reason to choose the operator and the jurisdiction deliberately and to treat the VPS as the message archive it is.

For storage Tinode supports MySQL (MariaDB and Percona while they stay wire-compatible), PostgreSQL 13 or later, MongoDB 4.2 or later as a replica set, and RethinkDB, which is deprecated and scheduled to be dropped in 2027. We use MySQL 8.0 below because the project's own compose file has used it since 0.24.4.

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/06

Requirements and sizing.

ComponentWhat it needsNotes
Tinode 0.25.3One Go process; image tinode/tinode-mysql:0.25.3, linux/amd64, 71.83 MB compressedHTTP and websocket on port 6060
DatabaseMySQL 8.0 containerNever published to the internet
TLSCaddy 2 on ports 80 and 443Proxies websockets without extra configuration
gRPCPort 16060Only for bots and SDKs; leave it unpublished
ClusterPorts 12000–12003Unused on a single node
Video calls (optional)A TURN/STUN server such as coturn: 3478 UDP/TCP plus a relay port rangeTinode ships none

The image's built-in limits are worth knowing before users find them: messages up to 4 MiB, attachments up to 32 MiB, and 128 members per group (channel readers do not count). The Tinode FAQ also warns that trouble starts around 1,000 connections per node, which is Linux's default limit of 1,024 open file descriptors per process, not a Tinode bug. The compose file raises it.

We have not published load figures for Tinode on our hardware. The recommendation therefore rests on what else lives on the box. Tinode is the lightest component. MySQL wants memory for its InnoDB buffer pool as message history grows, coturn takes CPU and bandwidth whenever it relays a call, and with the default fs media handler every attachment lands on local disk. Pro's 8 GB and 320 GB leave room for that mix. If you are a family or a ten-person office with no video calls, VPS Standard (4 vCPU, 4 GB, 160 GB, 15 TB) at $12.99 is enough, and we would rather you start there.

When attachments outgrow the disk, switch the media handler to s3 and point AWS_S3_ENDPOINT at an object storage bucket. Tinode hands out downloads as presigned links (presign_ttl is 3,600 seconds in the image's config), so files are fetched from the bucket, whose traffic is unlimited, instead of counting against the VPS's 20 TB. The bucket is S3, not a disk: Tinode talks to it through the S3 API, and there is nothing to format or mount.

04/06

How to deploy it with us.

  1. 01

    1. Order and point DNS

    Order VPS Pro with Debian 13. We are a no-KYC host: an email address is enough to open an account, and payment is in crypto. Create an A record for the chat hostname (here chat.example.com) pointing at the VPS's IPv4 address; Caddy needs it to obtain a Let's Encrypt certificate. Then install Docker Engine and the Compose plugin from Docker's Debian repository, following docs.docker.com.

  2. 02

    2. Secrets and files

    Generate the secrets in /opt/tinode. Leave API_KEY_SALT at its default: the stock web and mobile apps carry an API key derived from it. UID_ENCRYPTION_KEY seeds the user-ID generator, so set it before the first start and keep it with your backups. Rotating AUTH_TOKEN_KEY later invalidates every issued login token, which is occasionally what you want.

    bash
    mkdir -p /opt/tinode && cd /opt/tinode cat > .env <<EOF DB_PASSWORD=$(openssl rand -hex 24) AUTH_TOKEN_KEY=$(openssl rand -base64 32) UID_ENCRYPTION_KEY=$(openssl rand -base64 16) EOF chmod 600 .env

    compose.yaml:

    yaml
    services: mysql: image: mysql:8.0 restart: always environment: MYSQL_ROOT_PASSWORD: ${DB_PASSWORD} volumes: - ./data/mysql:/var/lib/mysql healthcheck: test: ["CMD", "mysqladmin", "ping", "-h", "localhost"] interval: 10s timeout: 5s retries: 10 tinode: image: tinode/tinode-mysql:0.25.3 restart: always depends_on: mysql: condition: service_healthy environment: MYSQL_DSN: "root:${DB_PASSWORD}@tcp(mysql)/tinode?parseTime=true&collation=utf8mb4_0900_ai_ci" WAIT_FOR: "mysql:3306" SAMPLE_DATA: "" # no demo users, no stock root account AUTH_TOKEN_KEY: ${AUTH_TOKEN_KEY} UID_ENCRYPTION_KEY: ${UID_ENCRYPTION_KEY} DEFAULT_COUNTRY_CODE: "CH" FS_CORS_ORIGINS: '["https://chat.example.com"]' SMTP_HOST_URL: "https://chat.example.com/" # SMTP_SERVER: "smtp.example.com" # setting it makes email verification mandatory volumes: - ./data/uploads:/opt/tinode/uploads - ./data/logs:/var/log ulimits: nofile: soft: 65536 hard: 65536 caddy: image: caddy:2 restart: always ports: - "80:80" - "443:443" volumes: - ./Caddyfile:/etc/caddy/Caddyfile:ro - ./data/caddy:/data

    Caddyfile, which also hides Tinode's metrics and profiling paths from the public:

    example
    chat.example.com { @internal path /stats/* /pprof* respond @internal 404 reverse_proxy tinode:6060 }

    Do not deploy the project's reference single-instance.yml as it stands. It is a demo: MySQL with an empty root password and no data volume, a pprof endpoint, and a metrics exporter configured to push to Tinode's own monitoring intake.

  3. 03

    3. Start, then make yourself root

    Run docker compose up -d, follow data/logs/tinode.log, open https://chat.example.com/ and register the first account. Copy your user ID (it begins with usr) from the web app's account view and promote it:

    bash
    docker compose exec tinode ./init-db --config=working.config --make_root=usrXXXXXXXXXXX
  4. 04

    4. Firewall, email, calls and push

    Allow only 22, 80 and 443 inbound, plus the TURN ports if you add coturn. Docker writes its own iptables rules ahead of ufw, so a published port stays reachable whatever ufw says; that is why only Caddy publishes anything above.

    Email verification is off until you set SMTP_SERVER, and then it becomes mandatory. Without it, anyone who finds the hostname can register, so decide before you share the link; the Tinode FAQ's trick of whitelisting one email domain (SMTP_DOMAINS) works well for a private team. Outbound port 25 is open on every VPS, so you can run your own MTA. A fresh IP has no sending reputation, though, and a relay with SPF and DKIM on your domain will land in inboxes more reliably.

    Video calls need ICE servers (ICE_SERVERS_FILE switches WebRTC on). Without TURN, calls between users behind restrictive NAT, typically mobile networks, will fail.

    Push notifications are the one part that leaves Switzerland. The Tinode Push Gateway relays your server's pushes through Tinode's infrastructure to Google FCM or Apple APNs; the alternative, FCM directly, means building and publishing your own mobile apps. Without push, the mobile apps receive messages only while they hold a connection.

  5. 05

    5. Upgrades and backups

    Pin the image tag, read the release notes before every change, and take a dump first:

    bash
    docker compose exec -T mysql sh -c 'mysqldump -uroot -p"$MYSQL_ROOT_PASSWORD" --single-transaction tinode' > tinode-$(date +%F).sql

    For a release that changes the schema, start once with UPGRADE_DB: "true", then remove it. Ship the dump and data/uploads to object storage with restic, encrypted, since everything in them is plaintext.

05/06

What it costs.

ItemMonthly price
VPS Pro: 6 vCPU, 8 GB, 320 GB NVMe, 20 TB transfer, 1 Gbps$22.99
Same plan billed yearly (≈ −25 %)≈ $17.25, $206.99 a year
Daily backups (+20 %)+$4.60, so $27.59 in total
Object storage, 250 GB or 1 TB$1.99 or $7.96
Extra IPv4$2
Priority support$10

Included: full root, the Debian 13 image, open outbound port 25 and 20 TB of transfer per month. VPS traffic is not unmetered; the 20 TB is the allowance. A theoretical check for calls: at 1.5 Mbit/s per direction, a relayed one-to-one call moves 1.35 GB in and 1.35 GB out per hour, so even counting both directions 20 TB covers roughly 7,400 relayed call-hours a month. Only calls that cannot connect directly are relayed. Pricing lists every plan.

Balances are in US dollars and topped up in Monero, Bitcoin, USDT, Ethereum, Litecoin and other coins, from $25 to $5,000. A $250 top-up earns a 15 % bonus, so $287.50 of balance, roughly 12.5 months of Pro at the monthly price (theoretical). The unused paid part of a top-up is refundable within 14 days.

06/06

Limits and acceptable use.

You are the operator of your Tinode server, and under the revised Swiss Federal Act on Data Protection, in force since 1 September 2023, you are responsible for how your users' personal data is processed; we provide the machine. If your users are in the EU, the European Commission's review of 15 January 2024 confirmed Switzerland's adequacy decision, so their data can be hosted in ALP1 without additional transfer safeguards.

Not allowed on our network: spam, including verification-mail floods from an open registration form; phishing; malware or botnet command channels, which websocket and gRPC endpoints make tempting; and content that is unlawful in Switzerland. Attachments are files you host. Downloading a work for private use is lawful in Switzerland (software excepted), but making it available online without permission is not, and since April 2020 art. 39d CopA can oblige a host to keep a notified work from reappearing when the service creates a particular risk of infringement.

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 content is manifestly unlawful (Swico Code of Conduct Hosting 2025). In practice that means you need a root account that can suspend users and delete messages, and you need to read the tickets we forward.

If you plan a public messaging service rather than a server for people you know, watch the revision of the Swiss surveillance ordinance (VÜPF/OSCPT). The draft put to consultation on 29 January 2025 is not in force as of 31 October 2026, and the Federal Council has announced a second consultation.

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
StarterStaging, dev22 GB80 GB10 TB / month1 Gbps$6.99/moDeploy Starter
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
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
Does Tinode encrypt messages end to end?

No. End-to-end encryption and encryption at rest are both on Tinode's planned list, not in the code. Anyone with access to the database or its backups can read the messages, so encrypt your backups and restrict SSH access.

Can the official Tinode apps connect to my server?

Yes, the stock apps can be pointed at your own hostname, which is why API_KEY_SALT must keep its default value. Push to those store builds goes through the Tinode Push Gateway, because only Tinode holds their FCM and APNs credentials.

Can I run Tinode without Docker?

Yes. Each release ships prebuilt archives per database (for example tinode-mysql.linux-amd64.tar.gz) that you can run under systemd. Docker is simply the shortest path to a reproducible upgrade.

Is VPS Starter enough to try it out?

For an evaluation, yes: 2 vCPU and 2 GB hold Tinode and MySQL with a handful of users. Keep SAMPLE_DATA: "" even on a test box with a public IP, because the demo root account is documented.

Will Hosta AG hand over my chat data to foreign authorities?

Hosta AG is a Swiss société anonyme operating under Swiss law, and we act on decisions of a competent Swiss authority. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That limits one route, not every route. Because Tinode stores plaintext, the controls that protect your users are the ones you set on the VPS. Further questions go to the FAQ or to a support ticket from the client panel.

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.