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 Risposta
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
ESPERTO
Steve_M
con risposta 5 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande