Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Troubleshoot connecting to free trial postgres on AWS RDS

This is a temporary database, so I don’t mind sharing credentials. We have setup the following in RDS:

Host and Port and confirming public access

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

DB Name

enter image description here

Not shown is the username and password, however I am 100% certain that we are inputting the correct username and password into PgAdmin 4 and into python’s psycopg2.connect function.

Failing connection in PgAdmin 4

enter image description here

However, we are failing to connect in both PgAdmin 4 and in python. The database is definitely public, and I am fairly certain that we are inputting the correct parameters. I believe dbname is testdb and not the instance ID etl-test

What could be the issue? The one thing I am not certain about are the VPCs and the VPC security groups… do we need to input these anywhere into python or PgAdmin4 in order to connect?

>Solution :

Its not the issue with pg-Admin or python. Looks like you don’t have proper inbound rules set up.
this blog post might interests you

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading