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

Pay with
EN

Self-hosted app·Documents, notes and projects

SiYuan hosting on a Swiss VPS.

SiYuan hosting in ALP1, Swiss Alps: the official Docker image behind Caddy on VPS Pro (6 vCPU, 8 GB, $22.99/mo), with sizing, backups and limits.

Runs here
  • SiYuan
  • Go
  • 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, you can host SiYuan with us, and the setup is short: the official b3log/siyuan Docker image behind Caddy for TLS, with the workspace on the local NVMe of a Cloud VPS in ALP1, Swiss Alps. We recommend VPS Pro (6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB of monthly transfer, $22.99 per month) if you plan to run more than one workspace or keep a large library of PDFs and images. For one person writing mostly text, the Starter plan is enough, and we would rather say so here than sell you headroom you will not use.

The rule that matters more than any sizing decision: a SiYuan workspace has exactly one writer. One running instance per workspace, on a local disk, never on a synced folder or a network mount.

02/06

What SiYuan is and who builds it.

SiYuan is a local-first knowledge base built around blocks. Every paragraph, heading and list item carries its own ID, so it can be referenced from another document, embedded elsewhere or pulled into a SQL query. Around the Markdown WYSIWYG editor sit table-view databases, spaced-repetition flashcards, PDF annotation and, in the 3.8 series, agent and MCP integrations. The kernel is written in Go and the interface in TypeScript; the code is AGPL-3.0, and the project is run by the B3log team at Yunnan Liandi Technology Co., Ltd. in Kunming, which also signs the installers. Releases come quickly: v3.8.9, the current stable release as we write, shipped on 29 October 2026, six weeks after v3.8.4.

On disk, a workspace is a folder you can read with any text editor. data/ holds one folder per notebook, each document stored as a .sy file in JSON, with attachments under data/assets/. Next to it, repo/ holds the local data repository, where snapshots are chunked, deduplicated, compressed and AES-encrypted, and history/ keeps earlier versions of files. The SQLite index is derived from those files, which is why the project warns that a copy of the live index on its own is not a backup.

Running SiYuan on a server changes what you get. The project's README lists three limitations for the Docker build: it is used from a browser rather than through the desktop or mobile apps, it cannot export to PDF, HTML or Word, and it cannot import Markdown files. Version 3.8.4 added an interface for managing remote connections, but the README has not dropped the first limitation, so test app access with your exact version before planning around it. SiYuan is also a single-user program. The access authorization code is one lock-screen password that grants full control (OIDC can stand in for it), and the publish service on port 6808 offers read-only views, nothing more.

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.

The image is built for amd64, which is what our VPS plans run, as well as ARM. The kernel listens on port 6806 for HTTP and for the WebSocket at /ws; that port should never face the internet. Public traffic arrives at the reverse proxy on 443, plus 80 for certificate issuance. Port 6808 matters only if you switch on publishing.

The design tells us where the load comes from. An idle kernel serving one browser does very little. Costs appear when the index is rebuilt at startup or after a restore, during full-text searches across a large workspace, and if you configure an embedding provider for semantic search. Disk is dominated by assets: years of text notes fit in a few hundred megabytes, while scanned PDFs and photos grow without bound, and the snapshot repository and history sit on top of that.

SituationPlanResourcesPrice / month
One person, mostly text, nothing else on the serverStarter2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps$6.99
Several people (one instance each), PDF- or image-heavy libraries, room for other servicesPro (recommended)6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB transfer, 1 Gbps$22.99
Many instances, or assets in the hundreds of gigabytesPower12 vCPU, 16 GB RAM, 640 GB NVMe, 40 TB transfer, 2 Gbps$42.99

Transfer is not the constraint. VPS traffic is counted against the monthly allowance, but a note-taking workload barely touches it: 2 GB a day of browser traffic comes to about 60 GB a month, roughly 0.3 % of the 20 TB included with Pro (theoretical figure).

04/06

How to deploy it with us.

  1. 01Order VPS Pro with Debian 13: app.switzerland-hosting.com
  2. 02Create a DNS A record, for example notes.example.com, pointing to the VPS's IPv4 address.
  3. 03Install Docker Engine and the Compose plugin from Docker's Debian repository.
  4. 04Prepare the workspace directory and a random access code:
sh
mkdir -p /srv/siyuan/stack /srv/siyuan/alice chown -R 1000:1000 /srv/siyuan/alice cd /srv/siyuan/stack printf 'SIYUAN_ACCESS_AUTH_CODE=%s\n' "$(openssl rand -base64 30)" > .env chmod 600 .env
  1. 05Put compose.yaml and Caddyfile in /srv/siyuan/stack, run docker compose up -d, and follow docker compose logs -f siyuan until the kernel is serving.
yaml
services: siyuan: image: b3log/siyuan:v3.8.9 command: ["serve", "--workspace=/siyuan/workspace/"] environment: TZ: Europe/Zurich PUID: "1000" PGID: "1000" SIYUAN_ACCESS_AUTH_CODE: ${SIYUAN_ACCESS_AUTH_CODE} volumes: - /srv/siyuan/alice:/siyuan/workspace restart: unless-stopped # no "ports:" on purpose: 6806 stays on the internal Docker network caddy: image: caddy:2 ports: - "80:80" - "443:443" volumes: - ./Caddyfile:/etc/caddy/Caddyfile:ro - caddy_data:/data restart: unless-stopped volumes: caddy_data:
example
notes.example.com { reverse_proxy siyuan:6806 }

Several choices in those files are deliberate. Since v3.7.0 the image needs the serve subcommand spelled out. The access code reaches the container through SIYUAN_ACCESS_AUTH_CODE from a root-only .env instead of sitting on the command line, where it would show up in process listings. The SiYuan service publishes no port at all, because Docker routes published ports in the nat table before ufw's rules are consulted; a firewall rule will not protect a port Docker has published, so the safe choice is never to publish 6806. Caddy obtains the certificate, tunnels the WebSocket upgrade and passes the original Host header through unchanged, which covers both points the SiYuan README raises for nginx: proxying /ws, and keeping the port in Host ($http_host, not $host). Give SiYuan its own hostname rather than a sub-path, since the project advises against URL rewriting in front of it.

For a second person, copy the siyuan service under another name with its own workspace directory and its own access-code variable, and add a second site block to the Caddyfile. Two services must never point at the same directory.

Updating means changing the tag, then docker compose pull && docker compose up -d, after a backup. Do it at least monthly. SiYuan collected a long list of security advisories in 2026; the most serious for a server, CVE-2026-68587 (CVSS 8.6, disclosed 3 September 2026), let an unauthenticated visitor read documents excluded from publishing when the publish service ran without its Basic Auth. It was fixed upstream in July. If you enable publishing, enable its Basic Auth too. The v3.8.9 notes also carry an upgrade warning: document titles may now contain /, so every device that touches the same data should move to the new version together.

Backups follow the README's own advice: stop the writer, copy the whole workspace, start it again. With restic writing to an S3-compatible object storage bucket, after a one-time restic init, the window is short:

sh
cd /srv/siyuan/stack docker compose stop siyuan restic -r s3:https://<endpoint>/<bucket>/siyuan backup /srv/siyuan/alice docker compose start siyuan

Take the endpoint and access key from your client panel and the secret key from the ticket we send at delivery, and keep RESTIC_PASSWORD, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in a root-only environment file. Do not mount the bucket into the workspace with rclone mount. That is the third-party sync folder setup the SiYuan FAQ says corrupts data, and it would put a live SQLite index on a filesystem that cannot carry one.

05/06

Cost.

ItemMonthly
VPS Pro (6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB transfer, 1 IPv4)$22.99
Daily VPS backups (+20 %)$4.60
Object storage, 250 GB, for restic$1.99
Total$29.58

Yearly billing takes about 25 % off the VPS, which brings Pro to roughly $17.25 a month (the yearly price divided by twelve). Object storage is billed on size only, with no request fees and no traffic charges in either direction, so restore tests cost nothing extra. Our daily backups copy the whole VPS on our schedule, while SiYuan may be writing; treat them as the layer for a lost server, and the stopped-container restic copy as the one you restore notes from.

SiYuan itself costs nothing for this setup. Its PRO tier ($64 one-time when we checked) is needed only for the third-party S3 or WebDAV sync used by the desktop and mobile apps.

We bill in US dollars and accept crypto only: Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins. 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. A $250 top-up therefore credits $287.50, a little under ten months of the $29.58 setup above (theoretical). The unused paid part of a top-up is refundable within 14 days. Ordering is no-KYC: an email address is enough, and current figures for every plan are on our pricing page.

06/06

Limits and acceptable use.

What you keep in SiYuan is your content, and the obligations that come with it are yours. Keep the access code long and private and the image current; a backup only counts once you have restored from it. We run the infrastructure, and the application inside your VPS is yours to operate.

If your notes hold other people's personal data (clients, patients, colleagues), you are the controller under the revised Swiss Federal Act on Data Protection, in force since 1 September 2023. Data from the EU can come to ALP1 without additional safeguards: on 15 January 2024 the European Commission confirmed that Switzerland still provides an adequate level of protection. The AI settings deserve a second look. SiYuan's AI features send note content to whichever OpenAI-compatible endpoint you configure, which moves that content out of ALP1. For a US provider, Switzerland has recognised companies certified under the Swiss-U.S. Data Privacy Framework as adequate since 15 September 2024, so check the provider's certification before you switch it on.

Web clipping is fine for private use. In Switzerland, downloading a work for private use is permitted (software excepted), but making it available online without permission is not, so a notebook of clipped articles stays private and does not belong in the publish service. 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). Swiss copyright law imposes a stay-down duty on a host only in a narrow case: the work was already made available unlawfully through the same service, the provider was notified, and the service creates a particular risk of infringement (CopA art. 39d).

On jurisdiction: the service is operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen), and your workspace sits in ALP1. 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 does not place data beyond every legal reach. Swiss authorities can order disclosure under Swiss procedure, and the revision of the surveillance ordinance (VÜPF/OSCPT) put to consultation on 29 January 2025 was still not in force on that date, with a second consultation announced. The detail is on our offshore hosting and jurisdiction page.

One limit applies to any VPS, ours included. The live workspace is plain JSON on the virtual disk, and SiYuan's encryption covers snapshots and sync data, not the files the kernel is working on. If your threat model includes whoever operates the hypervisor, do not host the live workspace on a VPS at all: keep SiYuan on your own device and push only its encrypted snapshots to object storage. Recent versions also offer encrypted notebooks; if you use them, keep the recovery passwords somewhere other than the server.

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
Can the SiYuan desktop and mobile apps connect to the server?

The README still lists app connections as unsupported for the Docker build and describes it as browser-only. Version 3.8.4 added remote-connection management to the interface, so this may be changing; test with your version before relying on it. If you mainly want the apps on several devices, the documented route is SiYuan's S3 sync (a PRO feature) between those devices, with no server in the middle.

Do I need a paid SiYuan licence to self-host?

No. The server build is AGPL-3.0, and most features are free, commercial use included. PRO ($64 one-time) adds third-party S3 and WebDAV sync; the subscription adds SiYuan's own cloud storage.

Can my team share one SiYuan instance?

Not as a shared editing space. A workspace has one writer and one access code, and the project is explicit that the same workspace must never be mounted in a second running instance. Run one container per person; the publish service can give others a read-only view.

Can your object storage be SiYuan's S3 sync target?

It speaks the S3 API, and traffic in both directions is free, which suits sync.

Is traffic on the VPS unmetered?

No. Each VPS plan includes a monthly transfer allowance, 20 TB on Pro. Unmetered traffic under fair use applies to our dedicated servers, not to VPS plans.

Do you need my ID to order?

No. An email address is enough to open an account, and payment is in crypto. To reach us, open a support ticket from the client panel; account questions are answered in the FAQ.

Sources

Every fact on this page, with its source

Consulted 4 Nov 2026 unless noted.

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.