Running Vaultwarden in a server cluster / High Availability #2691
-
|
I've recently started using my own Vaultwarden based server. Now that part of my credentials reside on my server, I'm thinking about making it more resilient to outages. I'm aware that Bitwarden clients usually store a cached version of my password safe locally, but anyway I'd like to make Vaultwarden highly available somehow. The most obvious choice would be to run Vaultwarden on at least three different servers and link its MySQL databases to a cluster, e.g. via Mariadb Galera Cluster. I'm just not sure if this is enough and if sessions can easily be handled by multiple servers at the same time. If there something like an internal state of Vaultwarden that is not stored in MySQL / database and needs to be synced separately? Is Vaultwarden even capable of being run in multiple instances for one password safe? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
|
I suggest to read: https://vaultwarden.discourse.group/t/is-the-bitwarden-rs-service-stateless-if-its-using-postgres-backend/450 |
Beta Was this translation helpful? Give feedback.
I suggest to read: https://vaultwarden.discourse.group/t/is-the-bitwarden-rs-service-stateless-if-its-using-postgres-backend/450