Self-hosted app·Files, photos and passwords
Bitwarden hosting on a Swiss VPS.
Bitwarden hosting in Switzerland: run Bitwarden Lite or Vaultwarden with Docker on a VPS in ALP1.
- Bitwarden
- Docker
- SQLite
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 for one person or a household the smallest plan is enough. VPS Starter (2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB of transfer a month, 6.99 USD) runs Bitwarden Lite or Vaultwarden in Docker behind a TLS proxy, in our ALP1 facility in the Swiss Alps. A company that wants Bitwarden's standard multi-container deployment should start one size up, on VPS Standard with 4 GB, because Bitwarden names 2 GB as the floor and 4 GB as the recommendation for that stack.
The plan is the easy decision. What decides whether self-hosting was a good idea is the backup: Bitwarden Lite takes none on its own, and a vault server without a tested restore puts every password you own on one virtual disk.
02/07
What Bitwarden is, and the three ways to run the server.
Bitwarden is an open-source password manager developed by Bitwarden, Inc. Its clients (browser extensions, desktop and mobile apps, the CLI) derive keys from your master password and encrypt vault items on the device; Bitwarden's security white paper states that the master password is never sent to the server. The server stores and syncs ciphertext, handles logins and two-step verification, and sends mail and push notifications. That division of labour is what makes self-hosting reasonable: a seized or compromised server yields encrypted items plus metadata, not passwords. The server ships roughly monthly, and the current release as we write is 2026.10.1, published on 28 October 2026.
There are three realistic ways to run the server side. The standard deployment is Bitwarden's installer script, a set of containers and a bundled MSSQL Express database capped at 10 GB of relational data; it is the vendor's route for businesses and the heaviest of the three. Bitwarden Lite is a single official image, ghcr.io/bitwarden/lite, which left beta in December 2025 under that name after being called Bitwarden Unified. It works with SQLite, PostgreSQL, MySQL/MariaDB or MSSQL, and Bitwarden says plainly that it is meant for personal use and home labs, not for business.
Vaultwarden is an unofficial reimplementation of the Bitwarden server API in Rust, maintained by Daniel García and contributors and not affiliated with Bitwarden, Inc.; the official clients talk to it unchanged. Its weak point is that it has to follow every client change. Version 1.37.2 was required for clients from 2026.8.0 onward, and 1.37.4, released on 5 October 2026, fixed seven security advisories, one of them rated High. Run it only if you will update it as promptly as you patch the kernel.
Our view: a household that wants the vendor's own code should run Lite on SQLite. Both official deployments need an installation ID and key from bitwarden.com/host, and organisations or premium features on them need a licence file from a paid Bitwarden subscription. Vaultwarden needs neither, which is why people who want shared family or team vaults without a subscription choose it. A business with a Bitwarden contract belongs on the standard deployment.
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.
| Server | Official minimum | Plan we would use | Per month |
|---|---|---|---|
| Bitwarden Lite + SQLite | 200 MB RAM, 1 GB disk, Docker Engine 26+ | VPS Starter: 2 vCPU, 2 GB, 80 GB NVMe, 10 TB | 6.99 USD |
| Vaultwarden 1.37.4 + SQLite | none published | VPS Starter | 6.99 USD |
| Bitwarden standard (MSSQL) | 2 GB RAM (4 GB recommended), 12 GB disk (25 GB recommended), x64 1.4 GHz (2 GHz dual core recommended) | VPS Standard: 4 vCPU, 4 GB, 160 GB NVMe, 15 TB | 12.99 USD |
Starter meets the standard stack's minimum on paper, and we still would not put it there. MSSQL alongside the API, identity, admin and other service containers at exactly 2 GB leaves nothing for page cache, image pulls during an update, or the backup job. Lite is a different case, with one caveat: Bitwarden documents that the container takes whatever memory is available unless you cap it, so the compose file below sets a limit.
Disk and transfer are not where a password server spends its budget. The database stays small; attachments and file Sends are what grow, and 80 GB covers them unless you use the vault as a file store. The 10 TB of monthly transfer on Starter is far beyond what syncing clients consume.
Inbound you need 443 for the web vault and API, 80 for the Let's Encrypt HTTP challenge and the redirect, and 22 for SSH. Outbound, the server talks HTTPS to Bitwarden's api, identity and push endpoints (.com or .eu) for licence sync and mobile push, and SMTP for invitations and verification mail. Outbound port 25 is open on every VPS, but a fresh address with no sending history mostly lands in spam folders; an authenticated relay on port 587 is the practical choice (see our answer on port 25).
04/07
How to deploy it with us.
- 01Order VPS Starter with Debian 13, or VPS Standard for the standard deployment, and point an A record such as
vault.example.comat the IPv4 address shown in the panel. - 02Install Docker Engine and the Compose plugin from Docker's own APT repository; Docker lists Debian 13 (Trixie) as supported, and Lite needs Engine 26 or later.
- 03Fetch an installation ID and key at bitwarden.com/host, choosing the EU or US region your licence would come from. This step gives Bitwarden, Inc. an email address; Vaultwarden skips it.
- 04Create
/opt/bitwardenwith the three files below and rundocker compose up -d. - 05Open
https://vault.example.com, register your own account, then uncomment the registration line insettings.envand rundocker compose up -dagain. In each client, choose the self-hosted environment and enter the same URL.
settings.env:
BW_DOMAIN=vault.example.com
BW_DB_PROVIDER=sqlite
BW_INSTALLATION_ID=<from bitwarden.com/host>
BW_INSTALLATION_KEY=<from bitwarden.com/host>
adminSettings__admins=you@example.com
globalSettings__mail__replyToEmail=vault@example.com
globalSettings__mail__smtp__host=<your relay>
globalSettings__mail__smtp__port=587
globalSettings__mail__smtp__ssl=false
globalSettings__mail__smtp__username=<relay user>
globalSettings__mail__smtp__password=<relay password>
# after your own account exists:
# globalSettings__disableUserRegistration=truedocker-compose.yml:
services:
bitwarden:
image: ghcr.io/bitwarden/lite:<pinned release>
env_file: settings.env
volumes:
- ./bwdata:/etc/bitwarden
mem_limit: 1g
restart: unless-stopped
caddy:
image: caddy:2
depends_on: [bitwarden]
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
restart: unless-stopped
volumes:
caddy_data:Caddyfile:
vault.example.com {
reverse_proxy bitwarden:8080
}Caddy obtains and renews the certificate itself; Lite stays on plain HTTP port 8080 inside the compose network, and smtp__ssl=false is Bitwarden's setting for STARTTLS on 587. Only Caddy publishes ports, and that matters more than it looks: Docker's own documentation warns that published container ports bypass ufw and firewalld rules, so a stray 8080:8080 would expose the backend whatever your firewall says.
For Vaultwarden, swap the first service for vaultwarden/server:1.37.4 with DOMAIN=https://vault.example.com and a ./vw-data:/data volume, point Caddy at vaultwarden:80, and set SIGNUPS_ALLOWED=false once your account exists. No installation key is involved.
- 01
Backups
Bitwarden states that Lite takes no nightly backups; that job is yours. With SQLite the database is
vault.dbinside./bwdata, and it must not be copied while it is being written. Take a consistent copy with SQLite's backup command, then push everything to an S3 bucket on our object storage with restic, which encrypts before upload. Use the S3 API, never anrclone mountunder the live database.apt install -y sqlite3 restic export AWS_ACCESS_KEY_ID=<key> AWS_SECRET_ACCESS_KEY=<secret> export RESTIC_REPOSITORY=s3:https://<endpoint>/<bucket> RESTIC_PASSWORD_FILE=/root/.restic-pass restic init # once sqlite3 /opt/bitwarden/bwdata/vault.db ".backup '/opt/bitwarden/backup/vault.db'" restic backup /opt/bitwarden --exclude '/opt/bitwarden/bwdata/vault.db*'Run the last two lines from cron every night and restore onto a scratch VPS every few months; a backup you have never restored is a hypothesis. With Vaultwarden,
docker exec vaultwarden /vaultwarden backupwrites the consistent SQLite copy, and its wiki marks theattachmentsdirectory as required and thersa_key*files andconfig.jsonas recommended. Our daily-backups option copies the whole VM, which is useful for rebuilding the machine, but Vaultwarden's maintainers advise against VM snapshots as the backup method and we agree. Keep one encrypted vault export off our infrastructure as well, because one provider is one failure domain.
05/07
Cost.
| Item | Per month |
|---|---|
| VPS Starter (2 vCPU, 2 GB, 80 GB NVMe, 10 TB at 1 Gbps) | 6.99 USD |
| Daily backups option (+20 %) | +1.40 USD |
| Object storage, 250 GB S3 bucket | 1.99 USD |
| VPS Standard, for the standard deployment | 12.99 USD |
Starter plus a 250 GB bucket comes to 8.98 USD a month. Yearly billing takes about 25 % off: Starter costs 62.99 USD a year. Every VPS includes the transfer shown, not unmetered traffic, and outbound port 25. A Bitwarden licence, if you need one, is billed by Bitwarden, Inc., not by us. All prices are on our pricing page.
Payment is crypto only (Monero, Bitcoin, Tether, Ethereum, Litecoin and others), with prices and balances in US dollars. Top-ups run from 25 to 5,000 USD, with a bonus of 5 % from 50 USD, 10 % from 100, 15 % from 250 and 20 % from 500; the unused paid part of a top-up is refundable within 14 days. A 100 USD top-up becomes 110 USD of balance, about 15 months of Starter (theoretical).
06/07
What Swiss hosting changes, and what it does not.
Client-side encryption protects the contents of the vault wherever the server stands. Jurisdiction governs what is left: account email addresses, device records, IP addresses in logs and invitation mail are not end-to-end encrypted. The VPS runs in ALP1 and is operated by 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 decision, so an EU organisation can run its staff vault 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 is not immunity from foreign requests; it means decisions of competent Swiss authorities are what we act on. The jurisdiction page has the detail.
07/07
Limits and acceptable use.
You operate the server. Updating the image, Docker and Debian, protecting the admin portal and running the backups are your responsibilities. If you host vaults for staff or clients, you process their personal data and answer for it under the FADP.
Phishing is not allowed: no imitation of the Bitwarden login or any other sign-in page, no credential harvesting, and no presenting your instance as a service of Bitwarden, Inc. The SMTP relay is for the vault's own mail, not for bulk sending. Complete complaints about content on your server are forwarded 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, as the Swico Code of Conduct Hosting 2025 provides. A cloned login page falls in the second category. Running Lite inside a business is outside what Bitwarden intends for it; that is their condition, and it affects their support, not our terms.
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.
Can Hosta AG read the passwords in my vault?
Not from what the server stores. The clients encrypt items locally and the master password never leaves the device, so the database on your VPS holds ciphertext. What anyone with access to the virtual machine could read, and as operator of the hypervisor that includes us in principle, is the metadata and the plaintext configuration: email addresses, device lists, logs, the SMTP password and installation key in settings.env, or Vaultwarden's admin token. A strong master password and two-step login matter more than any hosting choice.
Will the official Bitwarden apps and extensions work with my server?
Yes, with both Lite and Vaultwarden. Select the self-hosted environment on the login screen and enter your URL. Clients update themselves and can outrun an old server, as the Vaultwarden 1.37.2 requirement for 2026.8.0 clients showed, so keep the server current.
Do I need my own mail server?
No, but you need SMTP for invitations, email verification and email-based two-step login. Use an authenticated relay on port 587 rather than sending directly from the VPS.
How do I move my vault from Bitwarden's cloud?
Make a password-protected encrypted export from the web vault, import it into your account on the new server, then delete the export file. File attachments are not part of the export and must be moved by hand.
Can I order without identity checks?
Yes. Our no-KYC hosting needs an email address and nothing more, and payment is in crypto. For anything about your account, open a support ticket from the client panel. If you also run file sync on the same machine, see cloud VPS.
Sources
Every fact on this page, with its source
Accessed 4 Nov 2026 unless noted.
Swiss law and authorities
EU and other countries
- European Commission, adequacy decisions, review of 15 January 2024commission.europa.eu
- US Department of Justice, CLOUD Act resources (verified 31 October 2026)justice.gov · verified 31 Oct 2026
Industry, providers and software
- bitwarden/server, release v2026.10.1 (28 October 2026)github.com
- dani-garcia/vaultwarden, releases 1.37.2 and 1.37.4 (5 October 2026)github.com
- Vaultwarden wiki, Backing up your vaultgithub.com
- Docker, Install Docker Engine on Debian, supported releases and firewall warningdocs.docker.com
- Swico, Code of Conduct Hosting, 2025 revisionswico.ch
Other references
- Bitwarden, Linux Standard Deployment, system specifications and installation IDbitwarden.com
- Bitwarden, Lite Deployment, requirements, databases, memory, SSLbitwarden.com
- Bitwarden, Backup Server Data, nightly MSSQL backups, Lite takes nonebitwarden.com
- Bitwarden, License Organizations or Premiumbitwarden.com
- Bitwarden, Security Whitepaper, master password never sent to serversbitwarden.com
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.
