For Vaultwarden
Vaultwarden on Edge, Bitwarden you control
Free to sign up. No egress fees on any product.
Why Vaultwarden on Edge
The Bitwarden experience, on a server you own
Official Bitwarden apps
Point the Bitwarden browser extensions, desktop and mobile apps at your server URL. Same apps, your server.A Rust binary on a small VM
Vaultwarden is light on memory and CPU. A small VM idles along with a whole team on it.Organisations and sharing
Organisations, collections, Send and emergency access, with no paid plan to unlock them.Two-factor built in
TOTP, FIDO2 WebAuthn, YubiKey OTP, Duo and email codes are all supported.Only ciphertext on the server
Vault items are encrypted on the device before they reach the server. The database holds ciphertext, not passwords.TLS at the edge, API uncached
The CDN issues the certificate the Bitwarden apps require. Vault API calls are never cached; they go straight to your VM.
Reference architecture
How Vaultwarden maps to Edge
Bitwarden apps
browser, desktop, iOS, Android
vault.acme.com
TLS; /api, /identity bypass cache
vaultwarden :80
Docker · s-2vcpu-4gb
db.sqlite3
encrypted vault items
vault-backups
SQLite snapshot, attachments, keys
Deploy
A team vault in five steps
- 01
Create the VM and a private bucket
Generate the admin token hash once on the VM with: docker run --rm -it vaultwarden/server /vaultwarden hash. Store it in .env as ADMIN_TOKEN, in single quotes.
shell$ edge compute create --name vault --size s-2vcpu-4gb \ --image ubuntu-24 --region london --script docker $ edge storage create vault-backups - 02
Write the compose file
Sign-ups are off; invite people from the admin page. Add SMTP_* settings so invitation emails can be sent.
docker-compose.ymlservices: vaultwarden: image: vaultwarden/server:latest env_file: .env # ADMIN_TOKEN='$argon2id$...' and SMTP_* environment: DOMAIN: https://vault.acme.com SIGNUPS_ALLOWED: "false" INVITATIONS_ALLOWED: "true" ports: ["127.0.0.1:8080:80"] volumes: ["./vw-data:/data"] restart: always - 03
Start it and put the CDN in front
Proxy :443 on the VM to port 8080. The Bitwarden apps need the HTTPS certificate the CDN issues.
shell$ docker compose up -d $ edge cdn create --name vault $ edge cdn domains add cdn-a1b2c3 \ --domain vault.acme.com \ --origin https://<vm-ip> - 04
Make sure vault traffic is never cached
Most vault calls are POSTs or authenticated, which the CDN won't cache anyway. These rules make it explicit.
CDN configuration (JSON){ "caching": { "respectOriginHeaders": true, "rules": [ { "path": "/api/**", "bypassCache": true }, { "path": "/identity/**", "bypassCache": true }, { "path": "/notifications/**", "bypassCache": true }, { "path": "/admin/**", "bypassCache": true } ] } } - 05
Back up every night
SQLite's .backup command takes a consistent copy while the server runs. The bucket stays private.
/etc/cron.daily/vault-backup#!/bin/sh set -e . /etc/edge.env # exports EDGE_API_KEY for the Edge CLI cd /srv/vault sqlite3 vw-data/db.sqlite3 ".backup '/tmp/db.sqlite3'" tar czf /tmp/vw.tgz --exclude='db.sqlite3*' vw-data -C /tmp db.sqlite3 edge storage cp /tmp/vw.tgz "vault-backups/$(date +%F).tgz"
Prefer to hand it off? Give the job to your AI agent or have our engineers do it.
What it costs
A team vault without per-user pricing
- No per-user pricing, for a team or a family
- Organisations and 2FA without a paid plan
- Room on the same VM for other small tools
- Zero egress on sync and backups
Estimated monthly bill on Edge
25-person team vault · nightly backups
- Compute$19.24Standard VM · 2 vCPU · 4 GiB · 80 GB NVMe
- Storage$0.0030 nightly backups, inside the 5 GB free tier
- CDN$0.00~300k requests from the apps, inside 500k free
- DNS$0.00Zone and records for vault.acme.com
- Egress$0.00
Indicative monthly cost · 25-person team vault
- 1Password Business (25 seats)~$200/mo
- Bitwarden Enterprise (25 seats)~$150/mo
- Edge (Standard VM)~$19/mo
Competitor figures are indicative, based on public per-seat pricing. The Edge figure is the bill above, and it doesn't change as you add people.
FAQ
Vaultwarden on Edge, answered
How does this compare to Bitwarden's own cloud?
Is it safe to self-host a password manager?
Will the official Bitwarden apps work?
Does the CDN ever cache vault data?
How do I back it up and restore?
Drop-in services
Add these without touching the stack
- Edge ShieldBot protection
POST /siteverify → score: 94Score requests to any invite or onboarding form you build around the vault. The vault itself stays untouched.
Free for most sites. No puzzles, no widget to style.Explore - Edge AssistAI answers
<script src="…/assist.js">Add answers to your internal IT help pages — installing the extension, resetting 2FA — with one script tag.
Free tier: 250 answered questions a monthExplore
Stand up your vault
Start free. A team or family vault on one small VM, backed up every night.
Free tiers hard-cap. Nothing bills until you add a card.