How do I connect to an Aptible Database from my local workstation?

Aptible databases are hosted inside a private subnet in the AWS cloud. As a result, they’re not accessible from the public internet.

To connect to an Aptible database using a GUI tool, install the Aptible CLI, then create a Database Tunnel from your local machine to your Aptible Deploy Database.

Once you’ve connected, you can use any CLI or GUI tool installed on your local machine by connecting to localhost and whichever port that has been auto-assigned to it.