Self-hosted app·Files, photos and passwords
Vaultwarden hosting on a Swiss VPS.
Vaultwarden hosting on a Swiss VPS in ALP1: sizing, Docker on Debian 13, backups and the real cost from 6.99 USD/month, under Swiss data protection law.
- Vaultwarden
- Bitwarden
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 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: $62.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 2 vCPU, 2 GB RAM
- 80 GB NVMe local storage
- 10 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
Short answer.
Yes, and on the smallest plan. Vaultwarden runs on Cloud VPS Starter at 6.99 USD per month with Debian 13 and Docker. One vCPU is enough for a family or a small office, because the server spends nearly all of its time waiting for the next sync. The machine sits in ALP1, our site in the Swiss Alps, and you can order it with Debian 13 preselected.
What decides whether this works out is not the plan size but whether someone patches the server and keeps a tested backup off it. The project shipped security releases in April, May, July and October 2026; the latest, 1.37.4 of 5 October, fixed seven advisories, one rated High (8.1) because revoked organisation members could keep access to shared items. A password server that nobody updates is a worse choice than paying Bitwarden to run one for you.
02/07
What Vaultwarden is and who runs it.
Vaultwarden is an independent server implementation of the Bitwarden client API, written in Rust and licensed under the AGPL-3.0. It began as bitwarden_rs and was renamed to keep it apart from the official server and its trademark. The project states that it is not associated with Bitwarden, Inc., although one active maintainer works for Bitwarden and contributes on their own time. Daniel García owns the repository; Mathijs van Veluw publishes many of the releases.
Its value is compatibility: the official Bitwarden extensions, desktop and mobile apps and CLI connect to it as they would to Bitwarden's cloud. Organisations, collections, attachments, Send, emergency access and the usual second factors are implemented, and since 1.35.0 (December 2025) so is single sign-on over OpenID Connect, useful to a company that already runs an identity provider. Vault items are encrypted by the client, so the server holds ciphertext plus account metadata.
The maintainers describe their audience as individuals, families and small organisations, which matches what turns up on r/selfhosted and r/Bitwarden. Germany's BSI analysed version 1.30.3 in its CAOS code-analysis project, and ERNW found three vulnerabilities, including an authentication bypass, in a penetration test in October 2024; both are listed on the project's audit page. A respectable record for a community project, though not the audit programme a commercial vendor pays for.
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.
Vaultwarden is one process in one container, with SQLite as the default database. The database stays small; attachments and file Sends are stored as ordinary files, and they are what fills a disk.
| Resource | What Vaultwarden needs |
|---|---|
| CPU | 1 vCPU |
| Storage | Container image, db.sqlite3, attachments/, sends/, local backup copies |
| Database | SQLite by default; PostgreSQL and MariaDB/MySQL are supported |
| Inbound | 443/tcp, plus 80/tcp for certificates and redirects; WebSocket notifications share the main port since 1.29.0, so 3012 is not needed |
| Outbound | SMTP for invitations and email-based 2FA; HTTPS to Bitwarden's push relay if you enable mobile push |
For scale, Bitwarden's standard self-hosted deployment asks for at least 2 GB of RAM and 12 GB of storage. Its single-container Bitwarden lite needs 200 MB and 1 GB, but Bitwarden says lite is for personal use and home labs, not businesses. Vaultwarden carries no such restriction, which is why an office can run it on a plan of this size.
HTTPS is not optional: the web vault depends on the browser's Web Crypto API, which only works in a secure context. If you plan to add Nextcloud or a mail server on the same machine, move up to a larger cloud VPS or a dedicated server; Vaultwarden itself will not be the reason.
04/07
How to deploy it with us.
The sequence below assumes a domain you control, here vault.example.com, and uses Caddy as the reverse proxy because it obtains and renews certificates on its own.
- 01Order Cloud VPS Starter with Debian 13. The account is no-KYC: an email address is enough.
- 02Point an A record (and an AAAA record if you use IPv6) for
vault.example.comat the VPS. - 03Log in with an SSH key, run
apt update && apt full-upgrade, and enableunattended-upgradesfor the base system. - 04Install Docker Engine and the Compose plugin from Docker's Debian repository, which supports trixie, then
apt install caddy sqlite3. - 05Generate the hash for the admin page:
docker run --rm -it vaultwarden/server:1.37.4 /vaultwarden hash --preset owasp. - 06Create
/srv/vaultwarden/compose.yamlas below and start it withdocker compose up -d. - 07Add the Caddyfile, reload Caddy, open
https://vault.example.com/admin, check the SMTP settings and invite your users. In the Bitwarden apps they choose the self-hosted option and enter the same URL.
services:
vaultwarden:
image: vaultwarden/server:1.37.4 # pin the tag, bump it deliberately
container_name: vaultwarden
restart: unless-stopped
environment:
DOMAIN: "https://vault.example.com"
SIGNUPS_ALLOWED: "false" # users join by invitation from /admin
ADMIN_TOKEN: "<argon2 hash, every $ written as $$>"
SMTP_HOST: "mail.example.com"
SMTP_PORT: "587"
SMTP_SECURITY: "starttls"
SMTP_FROM: "vault@example.com"
SMTP_USERNAME: "vault@example.com"
SMTP_PASSWORD: "<smtp password>"
volumes:
- ./vw-data:/data
ports:
- "127.0.0.1:8000:80" # reachable only through Caddyvault.example.com {
reverse_proxy 127.0.0.1:8000
}Two details in that file save trouble later. The port is bound to 127.0.0.1 because Docker manages its own iptables rules for published ports and expects firewall rules for container traffic in its DOCKER-USER chain; a rule set written separately may not apply. Bound to localhost, the container is reachable only through Caddy, which handles the WebSocket upgrade by itself. The argon2 hash contains $ signs that must be doubled in the compose file; docker compose config shows whether you got that right. And once you save anything in the admin page it lands in config.json, which then overrides the environment variables, so configure in one place only.
Mobile push is optional. For immediate sync on phones you request an installation ID and key at bitwarden.com/host, in the US or EU region, and your server then routes sync events through Bitwarden's push infrastructure; F-Droid builds of the app do not support it. Without push, changes reach a phone when it next syncs, which you can trigger by hand. Whether a third party in that loop matters is your decision.
Backups are your job, and the project wiki is specific about what counts: the database, attachments/ (marked as required), sends/, config.json if you use the admin page, and the rsa_key* files that sign login tokens. Copy the database with SQLite's online backup rather than cp, so a write in progress cannot corrupt the copy:
sqlite3 /srv/vaultwarden/vw-data/db.sqlite3 ".backup '/srv/backup/db-$(date +%F).sqlite3'"Run it from cron, archive it with the directories above, encrypt it with restic or age, and send it off the VPS, for instance to our object storage. Then restore it once onto a scratch VPS; until you have, you do not know that the backup works.
Updates need the same discipline, because Bitwarden's clients update themselves and the server has to keep pace. Version 1.37.0 was required for clients from 2026.7.0 and 1.37.2 for clients from 2026.8.0; when the 2026.8 browser extension rolled out, users on older servers reported failed logins. Watch the release feed, take a backup, change the pinned tag, then docker compose pull && docker compose up -d.
05/07
What Swiss jurisdiction changes, and what it does not.
Because vault items are encrypted on the client, the host's country adds little to their confidentiality. It matters for what is stored in clear: account email addresses, names, organisation names, IP addresses in logs and timestamps. Bitwarden documents the equivalent administrative data for its own cloud, and a Vaultwarden server keeps the same kind of record because it implements the same API.
On Cloud VPS Starter that data sits on hardware in ALP1 under a contract with 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 Switzerland's adequacy status, so an EU company can keep staff credentials 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, and the revised Swiss surveillance ordinance consulted in January 2025 is not in force; a second consultation has been announced. None of this puts data beyond every authority's reach, since Swiss courts and mutual legal assistance still apply; our offshore hosting page goes into the detail.
06/07
Cost.
| Item | Price |
|---|---|
| Cloud VPS Starter, Debian 13 | 6.99 USD / month |
| One year (theoretical: 12 × 6.99) | 83.88 USD |
| Vaultwarden licence | none (AGPL-3.0) |
The comparison with Bitwarden's hosted plans is less one-sided than self-hosting threads suggest. At Bitwarden's list prices on 2 November 2026, Families costs 47.88 USD a year for up to six people, so for a household our VPS is, in theory, 36.00 USD a year dearer; a family self-hosts for control, not savings. For a company the arithmetic turns: Teams at 4 USD per user per month, billed annually, comes to 480 USD a year for ten users (theoretical) against 83.88. Neither figure includes VAT or the time spent on updates and restore tests, which is the cost no invoice shows.
Companies can pay in crypto, and top-ups carry a bonus, with any unused balance refundable within 14 days; the current table is on our pricing page. Vaultwarden costs nothing, and its wiki asks users to consider supporting upstream Bitwarden, whose clients it relies on.
07/07
Limits and acceptable use.
Running Vaultwarden makes you the operator of a service that other people trust with their credentials. Updates, the backups, protecting or disabling /admin (unset ADMIN_TOKEN and remove admin_token from config.json) and the users you let in are your responsibility; if you open sign-ups to the public, abuse by those users is yours to handle. Nothing in this setup is managed by us.
Not allowed on our network: login pages that imitate Bitwarden or any other service to collect credentials, storing or trading stolen credential lists, and using Send links to publish copyrighted works. Swiss law allows downloading a work for private use, software excepted, but not making it available online without permission. 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).
If your company keeps employees' credentials in the vault, the company is responsible for that processing under the FADP.
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 |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, 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 |
| 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.
Is Vaultwarden the same thing as Bitwarden?
No. It is an independent, community-maintained server that speaks the same API, so your family or staff use the official Bitwarden apps and pick the self-hosted option at login. Bitwarden, Inc. neither makes nor supports it; problems go to the Vaultwarden issue tracker or forum, not to Bitwarden support.
Can Hosta AG read the passwords on my VPS?
The vault is encrypted by the clients with keys derived from each user's master password, so the server stores ciphertext. The weaker point is the web vault: its JavaScript is served by your server, and whoever controls the server could alter it. For daily use, the browser extension and the apps, which do not load code from your server, are the safer route.
What happens if the VPS goes down?
Devices already logged in keep a local, encrypted copy of the vault, so people can usually still look up passwords; new logins and changes wait for the server. Recovery means a fresh Debian 13 VPS, the same compose file, your restored backup and a DNS update.
Do I need port 25 for invitation emails?
No. Port 25 is open on every VPS we run, but a new server sending straight to Gmail or Outlook needs SPF, DKIM and correct reverse DNS before its mail is reliably accepted. Pointing Vaultwarden at an existing mailbox on port 587, as above, is simpler; our page on sending mail from a VPS covers the direct route.
Sources
Every fact on this page, with its source
Consulted 2 Nov 2026 unless noted.
Swiss law and authorities
- Revised Federal Act on Data Protection, in force since 1 September 2023fedlex RS 235.1
- Federal Council, VÜPF/OSCPT revision not in force, second consultation announcedadmin.ch · status as of 31 Oct 2026
- Swiss Federal Institute of Intellectual Property, copyright on the internet (private download vs. making available)ige.ch
EU and other countries
- European Commission, adequacy decisions; review of 15 January 2024 confirming Switzerland (decision 2000/518/EC)commission.europa.eu
- US Department of Justice, CLOUD Act resources (executive agreements with the UK and Australia only)justice.gov · verified 31 Oct 2026
Industry, providers and software
- Vaultwarden README: licence (AGPL-3.0), rename from bitwarden_rs, disclaimer on Bitwarden, Inc., intended audience, HTTPS requirement for the web vault, compose examplegithub.com/dani-garcia/vaultwarden
- Vaultwarden releases 1.35.5 to 1.37.4: release dates, security advisories, client version requirementsgithub.com
- Vaultwarden 1.35.0 (27 December 2025), SSO with OpenID Connectrelease notes
- Vaultwarden 1.29.0, WebSocket notifications on the default HTTP portrelease notes
- Vaultwarden wiki, Audits (BSI CAOS review of 1.30.3; ERNW penetration test, October 2024)wiki/Audits
- Vaultwarden wiki, Backing up your vaultwiki/Backing-up-your-vault
- Vaultwarden wiki, Enabling admin page (argon2 ADMIN_TOKEN, disabling the page, config.json)wiki/Enabling-admin-page
- Vaultwarden wiki, Enabling Mobile Client push notificationgithub.com
- Login failures with Bitwarden extension 2026.8.0 on older serversdiscussion #7658
- Docker, Install Docker Engine on Debian (Debian 13 support, DOCKER-USER chain)docs.docker.com/engine/install/debian
- Swico, Code of Conduct Hosting (revised version published 13 March 2025)swico.ch/coc
Other references
- Bitwarden, Linux standard deployment system specificationsbitwarden.com
- Bitwarden, Lite deployment requirements and intended usebitwarden.com
- Bitwarden, Password Manager pricing (Families 47.88 USD/year; Teams 4 USD/user/month billed annually)bitwarden.com/pricing
- Bitwarden, Administrative data held in its cloudbitwarden.com/help/administrative-data
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.
