pgAdmin 4

Install (Windows)

Download and run the .exe file.

Install (Linux)

Using apt...

Tested on Ubuntu 18.04

curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add

sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'

Desktop and Web

sudo apt install pgadmin4

sudo /usr/pgadmin4/bin/setup-web.sh

Desktop Only

sudo apt install pgadmin4-desktop

Web Only

sudo apt install pgadmin4-web 

sudo /usr/pgadmin4/bin/setup-web.sh

Run

pgadmin4

In you browser, connect to:

http://127.0.0.1:43447/browser/#

Connect to RDS PostgreSQL

This is an Inbound rule to the Security Group covering the RDS server to allow connections on 5432 from the Bastion Security Group

Bibliography