Connection timeout error from Local to AWS Mysql & Postgres databases

0

I have been trying to connect to my database instances (Mysql & Postgres) from my local clients but have been running into connection timeout error. I followed all the steps provided on AWS website but same result. ANy help will be appreciated.

Bhargav
demandé il y a 2 mois373 vues
1 réponse
0

Hello.

Public accessibility must be enabled in RDS for direct access from local clients.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/infrastructure-security.html#infrastructure-security.publicly-accessible

After enabling public accessibility you need to configure the RDS security group's inbound rules to allow your IP address.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.RDSSecurityGroups.html

Also, make sure that the subnet specified in the RDS subnet group is a public subnet.
If this is a private subnet, you will not be able to connect to it even if public accessibility is enabled.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Subnets

Since it is not recommended to make RDS publicly accessible for security reasons, please also consider the connection method described in the following document.
https://aws.amazon.com/jp/blogs/mt/use-port-forwarding-in-aws-systems-manager-session-manager-to-connect-to-remote-hosts/

profile picture
EXPERT
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions