Connecting to a Postgres EC2 database

view story

http://serverfault.com – I am trying to connect to a database hosted on AMAZON EC2: ec2-xx-xx-xxx-xxx.xxxx-1.amazonaws.com/companyName I have been given the user and password for this. What is the best way to connect to a database on this server? I've tried this tool: http://www.razorsql.com/register5.html and also the postgres client to connect. Thank you so much for your guidance/ (HowTos)