Install PasswordLab from Vultr Marketplace with Managed Database

Install PasswordLab from Vultr Marketplace with Managed Database

PasswordLab is also available on the Vultr Marketplace, allowing you to spin up a production-ready, self-hosted password manager in minutes—with full support for Vultr's managed databases. This guide walks you through every step.

Prerequisites

Before you begin, make sure you have the following:

  • A Vultr account
  • A valid PasswordLab license key
  • SMTP login credentials for sending user emails and OTPs

Step 1 – Create a Vultr Managed Database

  1. Log in to your Vultr dashboard and go to the Databases section from the left sidebar.
  2. Click Add Managed Database.
  3. Choose MySQL as your database engine.
  4. Select your preferred server type (e.g., Cloud Compute) and choose replica nodes (1 or more).
  5. Select a region close to your users (e.g., London).
  6. Enable "Create new VPC" to establish a secure internal network.
  7. Add a label such as “PasswordLab” for easy identification.
  8. Click Deploy Now to start the provisioning process.

Note: This may take a few minutes.

Step 2 – Set Up Users and Configuration

Once the managed database is deployed:

  1. Open the database cluster by clicking its name.
  2. Go to the Users & Databases tab:
    • Click Add New User, enter a username, and leave the password blank (Vultr will generate one).
    • Click Add New Database, name it as needed.
  3. Go to the Settings tab → MySQL Configuration, and disable the Require Primary Key option.

Your managed database is now ready.

Step 3 – Deploy PasswordLab from Vultr Marketplace

  1. Navigate to Compute from the menu.
  2. Click Deploy Server or the Deploy button at the top right.
  3. Under Choose Image, switch to the Marketplace Apps tab and search for PasswordLab.
  4. Select PasswordLab and choose a server size. Even the smallest size works well.
  5. Select the same location you used for your managed database.
  6. Under Additional Features, enable Virtual Private Cloud 2.0 and select the VPC created earlier.
  7. Enter:
    • The same database name and username you set up earlier.
    • Your SSH public key (optional) for passwordless login.
    • A hostname (e.g., passwordlab).

Click Deploy Now.

Allow 5–10 minutes for installation.

Step 4 – Complete Initial Setup

Once deployed:

  1. Go to the Compute instance and check for the install screen.
    • If a warning appears, wait 5 more minutes and refresh the browser.
  2. When the PasswordLab installation page appears, begin setup:

Final Configuration via Web Installer:

  • Accept Terms and Conditions
  • Enter Your PasswordLab License
  • Enter Managed Database Details
    → Copy from your Vultr database dashboard.

  • Enter SMTP Login Details
    → Required for sending notifications and OTPs.

  • Create Administrator Account
    → This is your primary admin and will manage all users.

  • Enter Email OTP
    → Sent to the email address you just registered.

  • Secure the Vault with Master Keys
    → Enter five trusted email addresses to receive master key shares.

You need at least 3 out of 5 key shares to unlock the vault. We recommend using five unique, trusted individuals.

Step 5 – Restart PasswordLab Service

SSH into your compute instance:

ssh root@your-server-ip

Restart the service:

systemctl restart passwordlab

Check service status:

systemctl status passwordlab

Step 6 – Clean Up the Local Database Service

Since you're using a Vultr Managed Database, the local database installed inside your compute server is no longer needed. Disable it:

systemctl stop mysql
systemctl disable mysql

Step 7 – Secure Your Managed Database

Limit access to your database cluster:

  1. Copy your compute server’s IP address.
  2. Go to Managed Database → Scroll to Trusted Sources.
  3. Click Edit, paste your compute IP, and click Save.

This ensures only your compute instance can talk to the managed database.

You're Done!

PasswordLab is now installed, connected to a secure Vultr-managed database, and ready for your team.

Next Steps