Skip to main content

DigitalOcean

Overview

BemiDB requires a connection to your PostgreSQL database. You can find your connection details and BemiDB will securely connect and, after you select your tables, automatically provision an encrypted, analytics-optimized database.

Steps to Connect

Step 1: Retrieve DigitalOcean Connection Details

  1. Navigate to your DigitalOcean Databases page.
  2. Select your PostgreSQL database cluster.
  3. In the Connection Details section, choose Connection string from the dropdown menu.
  4. Copy the provided connection string.

Step 2: Enter Connection Details into BemiDB

  1. Paste the copied connection string into the BemiDB setup form.
  2. The form will automatically parse and populate fields for:
    • Host
    • Port
    • Database Name
    • Username
    • Password

Step 3: Select Tables

During the connection setup or any time after, you can configure which tables to sync:

tracked-tables

Advanced Settings

BemiDB Static IPs

If you restrict access to your databases by IP addresses, contact us. We will share our static IP addresses, which you can add to an allowlist, so we can connect to your PostgreSQL database.

SSH Tunnel

If your PostgreSQL source database is not accessible over the internet, you can specify SSH credentials to enable an SSH tunnel via your public jump host:

dashboard

Once the source database connection settings are submitted, we'll generate a public SSH key:

Add this public SSH key to your SSH host to allow BemiDB to connect and SSH-tunnel to the PostgreSQL database:

touch ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys
echo 'ssh-ed25519 AAAAC3Nz...' >> ~/.ssh/authorized_keys

Note: if you need a public SSH Key before you know the SSH host address, just specify any address and later reach out to us to update it.

VPN Tunnel

If your PostgreSQL source database and SSH jump host can't be accessible over the internet, contact us for how you can establish a secure VPN tunnel to our VPN server.