Download and run the .exe file.
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'
sudo apt install pgadmin4
sudo /usr/pgadmin4/bin/setup-web.sh
sudo apt install pgadmin4-desktop
sudo apt install pgadmin4-webÂ
sudo /usr/pgadmin4/bin/setup-web.sh
pgadmin4
In you browser, connect to:
http://127.0.0.1:43447/browser/#
This relies on an ssh tunnel with port forwarding via a Bastion Host.
The security group configuration must allow traffic on port 5432 between the Bastion Host and the RDS Server