title: AWS RDS: How to Connect to Instance
body: <p>I just set up an Amazon RDS instance.  I have a separate application server and I am trying to figure out how to connect to the RDS instance from my EC2 application server. On the Instance page, I have</p>
  
  <pre><code>enbdpoint: mycompany.czdv3mj7ps25.us-west-2.rds.amazonaws.com:5432
  </code></pre>
  
  <p>I tried to login into to psql using that address but I got </p>
  
  <pre><code>$ 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
  </code></pre>
  
  <p>How do I connect to the instances database?  I don't see any other ip addresses in the RDS console. </p>