I have an EC2 Ubuntu machine that is trying to establish a connection to Postgress RDS Machine. I have allowed all outbound traffic for my ec2 machine. for inbound for RDS, I have allowed all UDP, all TCP, and all ICMP Ipv4 traffic with source as a security group of EC2 machine.
I feel my EC2 is not able to connect to the RDS instance. Both are in the same default VPC.
I tried :
ping hostname
from my EC2, which doesn't connect and also tried
psql yellow-pages -U yp_develop -h hostname Password
I get
psql: FATAL: database "yellow-pages" does not exist
anything that I am missing or I understood the concept wrongly that I am not able to solve this issue.
Please if anyone cloud solve this problem.
telnet hostname 5432
connect to your DB? – Chris Williamspsql -U yp_develop -h hostname -l Password
? This should list all databases that exist – Chris Williams