MYSQL RDS on EC2 instance

0

Why would I be able to connect to mysql rds database locally but not on my ec2 environment?

1 Antwort
0

Assuming that EC2 and RDS are in the same VPC, check the security group associated with the RDS instance has an inbound rule allowing TCP port 3306 from the EC2's IP address, and that the security group associated with the EC2 allows TCP port 3306 outbound to the RDS instance.

If they're in different VPCs then check the VPC peering setup, and the route tables for both subnets.

profile picture
EXPERTE
Steve_M
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen