Does anyone know how to connect to the AWS RDS Pos...
# help
t
Does anyone know how to connect to the AWS RDS PostgreSQL database using PgAdmin, I can access the "Query Editor" as described here via the secrertARN provided by SST, however to connect using PgAdmin a "master password" is needed, any idea how to find it? or if anyone knows a better way to connect to pgAdmin? Thanks in advance
f
Hey @T Indie, if u go into u AWS secret manager console, find the secret, can u fine the password there?
t
YES, thanks 🙂 however it can not connect because probably it's not accessible outside the VPC. I will check the guide https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Scenarios.html and try to figure a way to connect to the database from my local machine.
r
We can connect to our private RDS from a local machine by having a small gateway EC2 instance that is inside the same VPC/subnets as the db but also accessible publicly through ssh. We port forward the (in our case) postgres ports and can interact with the db locally
t
Sounds great, that's exactly what I would like to do. Thanks for sharing @Robert Chandler