I've been trying to connect to an AWS RDS (postgres) instance. It is setup to be publicly accessible, and I've checked the inbound and outbound security rules. The port is set to the default of 5432.
I have been trying to open a socket to the endpoint, using:
telnet ****.amazonaws.com 5432
this has been hanging, but when I use a personal VPN I've setup (through digitalocean), the connection succeeds.
I can't think why this would be the case. Can anyone explain?
I've been through the amazon troubleshooting page on connecting to an RDS instance, and also tried setting it up in a different region.
I've also tried running tcptraceroute, and the connection seems to get hang on IP's that are owned by 'Amazon EC2 Network Operations'.