Vaultwarden is a lightweight server that speaks the Bitwarden API, so the official Bitwarden apps and browser extensions work with it. It runs happily in a small amount of RAM, which makes it a good fit for a VPS. Your vault is encrypted on your devices before it ever reaches the server, but the server still holds everything you care about, so treat it with care.
This guide covers Ubuntu 24.04 and Debian 12: install, HTTPS, the settings that matter, and backups you have actually restored.
Prerequisites
A VPS with root access and a domain name, such as vault.example.com , with an A (and AAAA) record pointing at it.
A basic hardened server: SSH keys, a firewall, automatic security updates.
Docker Engine and the Compose plugin from Docker's own repository:
sudo apt update && sudo apt install -y ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings .…