<aside> 💡

If your database is not connected to the global internet, you can integrate by connecting Vect to a Bastion instance with SSH tunneling, see How to set up SSH Tunneling with Bastion

</aside>

Example with private AWS RDS

Screen Recording 2025-05-25 at 15.56.35.mov

Requirements:

Instructions

To setup an SSH account for Vect on the Bastion, run the following snippet inside the EC2 Bastion:

VECT_PUBLIC_KEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILBMyJ/hp8UWHNp1wMDoNt3rLyJI9kyEcwrmnQC/fU5E [email protected]"
# We don't actually use the user password, since we connect via ssh
USER_PASSWORD=password

# Add a vect user
sudo adduser vect --password $USER_PASSWORD

# Ensure the authorized_keys file exists
sudo mkdir -p /home/vect/.ssh
sudo touch /home/vect/.ssh/authorized_keys

# Add Vect's public key to the file
sudo bash -c "echo $VECT_PUBLIC_KEY > /home/vect/.ssh/authorized_keys"

# Change keys file owner to vect user
sudo chmod 644 /home/vect/.ssh/authorized_keys
sudo chown vect:vect /home/vect/.ssh/authorized_keys

<aside> 📨

Once you’re done, you can fill the Bastion host address in the Vect form and continue your integration ✨

</aside>