I just installed an Amazon RDS instance. I have a separate application server and am trying to figure out how to connect to an RDS instance from my EC2 application server. On the instance page I have
enbdpoint: mycompany.czdv3mj7ps25.us-west-2.rds.amazonaws.com:5432
I tried logging into psql using this address, but I got
$ psql -h mycompany.czdv3mj7ps25.us-west-2.rds.amazonaws.com:5432 -U myuser -d mydb psql: could not translate host name "mycompany.czdv3mj7ps25.us-west-2.rds.amazonaws.com:5432" to address: Name or service not known
How to connect to instance database? I do not see any other IP addresses in the RDS console.
source share