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

Pay with
EN

Self-hosted app·Monitoring and notifications

ntfy hosting on a Swiss VPS.

ntfy hosting on a Swiss VPS (ALP1): Docker Compose setup, sizing, the iOS push caveat and real costs.

Runs here
  • ntfy
  • Go
  • SQLite
  • Docker

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

Short answer.

Yes, ntfy runs on our Cloud VPS in ALP1, and the plan we recommend is VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe and 20 TB of transfer a month for $22.99. ntfy on its own needs much less than that. The headroom pays for keeping attachments longer than the three-hour default and for running whatever publishes into ntfy (an uptime monitor, Alertmanager, your backup jobs) on the same machine. The setting that matters more than the plan is one line of configuration: a fresh ntfy server lets anyone on the internet read and write every topic, so auth-default-access: deny-all goes into the config before the DNS record goes live.

02/07

What ntfy is and who maintains it.

ntfy (pronounced "notify") is a publish-subscribe service over plain HTTP. A script sends a PUT or POST to https://ntfy.example.com/backups, and every phone, browser tab or terminal subscribed to backups receives the message. The server is written in Go, ships as one statically linked binary for amd64, armv7 and arm64, and is dual-licensed under Apache 2.0 and GPLv2. Philipp C. Heckel wrote it and still maintains it; he also runs the public instance at ntfy.sh and sells ntfy Pro plans there, which is how the project is funded.

The server moves quickly. Version 2.37.2 was released on 3 November 2026; the Android app is at 1.25.2 and the iOS app at 1.7.0. Two changes from this year affect how you deploy it. PostgreSQL became an alternative to SQLite in v2.18.0 (March 2026) and lost its experimental label in v2.27.0, and v2.20.0 added S3-compatible storage for attachments. Multi-node clustering exists too, but the project itself says it is not ready for production, so plan for one server and watch it from somewhere else.

The case for self-hosting rather than using ntfy.sh is control, not features. On the public server, a topic nobody has reserved is readable by whoever guesses its name. On your own server you decide who may publish and subscribe, how long messages are cached, how large attachments may be and whose disk they sit on.

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.

A running ntfy is one process holding long-lived HTTP stream, SSE and WebSocket connections, three small SQLite files (message cache, users, web push subscriptions) and a directory of attachments. The documentation ties the connection ceiling to the open-file limit rather than to any CPU figure, and the project's own Kubernetes example caps the pod at 128 MiB and half a CPU. Behind a reverse proxy, each client costs two sockets on the box, one on each side of the proxy.

Clients need TCP 443, plus 80 for the certificate challenge and redirects. Inbound 25 matters only if you turn on email publishing. Outbound, the server reaches ntfy.sh on 443 if you enable the iOS relay, and your mail relay if you send email notifications.

WorkloadPlanPrice/month
Personal instance, a few devices, text alerts onlyStarter: 2 vCPU, 2 GB, 80 GB NVMe, 10 TB transfer, 1 Gbps$6.99
Homelab or team hub with attachments and a monitoring stack beside itPro (recommended): 6 vCPU, 8 GB, 320 GB NVMe, 20 TB transfer, 1 Gbps$22.99
Public UnifiedPush distributor, thousands of open connectionsPower: 12 vCPU, 16 GB, 640 GB NVMe, 40 TB transfer, 2 Gbps$42.99

Transfer is where a little arithmetic pays off, because VPS traffic with us is not unmetered: each plan includes the monthly volume listed. Text messages barely register. At ntfy's 4 KB message limit, Pro's 20 TB would carry about 4.9 billion deliveries (theoretical, before TLS and HTTP overhead). Attachments are a different matter. At the default 15 MB per file, the same 20 TB is roughly 1.3 million downloads (theoretical), and if five people auto-download camera snapshots on three devices each, you should multiply before you raise the limits.

Two defaults trip people up. Rate limits are kept per client IP, so behind a reverse proxy you must set behind-proxy: true; without it every visitor shares the proxy's single bucket and the first busy script locks everyone out. And visitor-subscription-limit allows 30 open connections per IP, which a family or an office behind one NAT address can reach. Raise it if you see 429 responses from a single address.

04/07

How to deploy it with us.

  1. 01Order VPS Pro with Debian 13 through the deploy link. An email address is enough to open the account; payment is in crypto.
  2. 02Create an A record, for example ntfy.example.com, pointing at the VPS.
  3. 03Install Docker Engine and the compose plugin from Docker's own apt repository, which supports Debian 13 (trixie). Docker does not honour firewall rules written directly with nft, so the layout below publishes ports only on Caddy and leaves ntfy on the internal compose network.
  4. 04In /opt/ntfy, create the three files below, then run mkdir data && chown -R 1000:1000 data server.yml.

compose.yml:

yaml
services: ntfy: image: binwiederhier/ntfy:v2.37.2 command: serve user: "1000:1000" environment: TZ: Europe/Zurich volumes: - ./server.yml:/etc/ntfy/server.yml:ro - ./data:/var/lib/ntfy init: true healthcheck: test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:2586/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"] interval: 60s timeout: 10s retries: 3 start_period: 40s restart: unless-stopped caddy: image: caddy:2 ports: - "80:80" - "443:443" volumes: - ./Caddyfile:/etc/caddy/Caddyfile:ro - caddy_data:/data depends_on: - ntfy restart: unless-stopped volumes: caddy_data:

server.yml:

yaml
base-url: "https://ntfy.example.com" listen-http: ":2586" behind-proxy: true cache-file: "/var/lib/ntfy/cache.db" cache-duration: "12h" auth-file: "/var/lib/ntfy/user.db" auth-default-access: "deny-all" enable-login: true attachment-cache-dir: "/var/lib/ntfy/attachments" attachment-file-size-limit: "15M" attachment-total-size-limit: "5G" attachment-expiry-duration: "3h" # Only if iPhones subscribe to this server, see below. # upstream-base-url: "https://ntfy.sh"

Caddyfile:

example
ntfy.example.com { reverse_proxy ntfy:2586 { flush_interval -1 } }
  1. 05Start the stack, create yourself as admin, then give each publishing machine its own user. Tokens carry the full rights of their user, so a backup host should hold a token for a write-only account, never for yours:
sh
cd /opt/ntfy && docker compose up -d docker compose exec ntfy ntfy user add --role=admin alice docker compose exec ntfy ntfy user add nas-basel docker compose exec ntfy ntfy access nas-basel backups write-only docker compose exec ntfy ntfy token add --label="nas" nas-basel curl -H "Authorization: Bearer tk_…" \ -d "restic: snapshot of nas-basel finished" \ https://ntfy.example.com/backups

We pin the image tag deliberately. ntfy shipped schema migrations and several security fixes in 2026 alone, so read the release notes, change the tag, then run docker compose pull && docker compose up -d.

iPhones, browsers and Android

iOS does not let an app keep a background connection, and this is the one place where self-hosting depends on someone else. Without upstream-base-url, messages still reach iPhones, but the documentation warns it can take hours, or 20 to 30 minutes on a phone in use. With it set to https://ntfy.sh, your server posts a poll request to ntfy.sh for every message, carrying only the message ID and a SHA-256 hash of the topic URL; ntfy.sh passes it through Firebase to Apple's push service, and the phone then fetches the real text from your server. The content stays on your VPS, but the fact that a message arrived, and when, is visible to ntfy.sh, Google and Apple.

Android is cleaner. For any server other than ntfy.sh, the Android app keeps its own connection open and Firebase is not involved, so the F-Droid build works fully against your instance. The cost is battery; since app v1.25.2 the client pings every three minutes, and raising keepalive-interval in server.yml reduces wake-ups further. Browser background notifications need VAPID keys (docker compose exec ntfy ntfy webpush keys), the web-push-* options and a valid certificate, which Caddy provides; those messages pass through the browser vendor's push service.

Email, UnifiedPush and backups

ntfy can forward a message by email when the publisher sets an X-Email header. Configure smtp-sender-addr with a relay that offers STARTTLS and PLAIN or LOGIN authentication, and set smtp-sender-verify: true so only addresses a user has verified can receive mail. Outbound port 25 is open on our VPS, but deliverability from a fresh IP is your work, not ours. Email publishing is the reverse direction: smtp-server-listen: ":25", an MX record, and smtp-server-addr-prefix so that random addresses on your domain do not become topics.

With deny-all, UnifiedPush apps such as Matrix or Mastodon clients need write access for application servers: ntfy access '*' 'up*' write-only. For backups, user.db and server.yml are what matter. The cache is short-lived by design, so losing it costs at most the cache-duration window. Copy the two files with restic to an S3 bucket on our object storage, and keep that bucket separate from any attachment bucket, for the reason given in the FAQ.

05/07

What stays in Switzerland, and what does not.

The VPS sits in ALP1 in the Swiss Alps, and the contract is with Hosta AG — société anonyme suisse, IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen, Switzerland. Your message cache, user database and attachments live on that disk under Swiss law. 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 ensures an adequate level of protection, so an EU business can send personal data 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 closes one shortcut for foreign access; it does not put a server beyond the reach of every foreign court. The revision of the Swiss surveillance ordinance put to consultation in January 2025 is not in force, and the Federal Council has announced a second consultation. Our offshore hosting page sets out the wider picture.

The relays are the part a privacy-minded reader should weigh. The iOS relay touches ntfy.sh, Google and Apple, web push touches the browser vendor, and an SMTP relay sees every email notification in full. If none of that is acceptable, leave upstream-base-url, web push and SMTP unset, subscribe from Android or the CLI, and accept slower delivery on iPhones.

06/07

Cost.

ItemPrice
VPS Pro: 6 vCPU, 8 GB, 320 GB NVMe, 20 TB transfer, 1 Gbps$22.99/month
Yearly billing, about −25 %$206.99/year, ≈ $17.25/month (theoretical)
Daily backups, +20 %+$4.60, so $27.59/month
Extra IPv4$2/month
Priority support$10/month
Object storage, 250 GB S3 bucket$1.99/month

The monthly price includes full root access, the transfer volume shown and outbound port 25, which is open on every VPS. Payment is in crypto only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins), with prices and balances in US dollars. 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, and the unused paid part of a top-up is refundable within 14 days. A $250 top-up therefore becomes $287.50 of balance, about twelve and a half months of VPS Pro at list price (theoretical). Every plan and option is on the pricing page.

07/07

Limits and acceptable use.

An open ntfy instance is a free relay for strangers. They can publish to it, upload attachments up to the file limit and, if SMTP is configured, have your server send email in your name. What your instance serves or sends is your responsibility as the customer, which is why the configuration above uses deny-all, keeps attachments at three hours and expects smtp-sender-verify: true once email is on.

Our acceptable use policy applies in full. In ntfy terms, that rules out spam or phishing sent through email notifications or email publishing, notifications used to spread malware links, and attachments used to distribute copyrighted works. In Switzerland, downloading a work for private use is permitted (software excepted); making it available online without permission is not. Since 1 April 2020, a host must also stop a work from being made unlawfully available again when it was already made available unlawfully through the same service, the host was notified, and the service creates a particular risk of infringement. Short-lived, access-controlled attachments keep you well away from that territory.

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 details are in how a DMCA notice applies to a Swiss server.

Keeping ntfy patched is also on you. This year's releases fixed, among others, an SSRF in the web push endpoint check (v2.22.0), revoked users who kept receiving messages on all but their first subscription (v2.34.0), and Matrix push requests that could write into a protected topic on SQLite (v2.35.0). If your notifications carry personal data, such as customer names in order alerts, you are the controller under the FADP. For anything that needs us, open 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.

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
Do I need Docker to self-host ntfy?

No. The project publishes a Debian repository at archive.ntfy.sh whose package includes a hardened systemd unit, and on a VPS that runs nothing else it is the simpler route: install the package, edit /etc/ntfy/server.yml, and put Caddy or nginx in front. Docker earns its place when ntfy shares the machine with other services and you want each one pinned and isolated.

Is VPS Starter enough for ntfy?

We recommend Pro because notification servers rarely stay alone; attachments, an uptime monitor and an automation tool tend to arrive within months, and 10 TB of transfer goes quickly once images are involved.

Can ntfy store attachments in your object storage?

Yes, since v2.20.0. Set attachment-cache-dir to an S3 URL such as s3://ACCESS_KEY:SECRET_KEY@ntfy-attachments/att?region=REGION&endpoint=ENDPOINT, using the endpoint and region shown for your bucket in the client panel and URL-encoding the keys. Give ntfy a bucket of its own: it deletes any object matching its message-ID pattern that has no row in its database. Our buckets are billed by size only, with no request fees, so 250 GB costs $1.99 a month.

Do Android phones need Google services to receive notifications?

No. Firebase is used only for ntfy.sh itself; against a self-hosted server the app holds its own connection, so it works on phones without Google Play services and in the F-Droid build.

Should I run ntfy on PostgreSQL?

Not on a single VPS. SQLite is the default and handles a personal or team instance without a separate database to operate. PostgreSQL matters when several ntfy nodes share one database, and that clustering is still experimental. If you switch anyway, database-url replaces cache-file, auth-file and web-push-file, which must then be left unset.

Where are my notifications stored, and for how long?

In cache.db on your VPS, as ntfy received them, for cache-duration (12 hours in the configuration above). Setting cache-duration: 0 makes ntfy pass messages to connected subscribers without storing them, at the price of phones missing anything sent while they were offline. Hosta AG does not operate the application on your VPS; root on that machine is yours.

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.