2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
2
Check your route table has the correct IP route in your vpc/subnet route table back to the lightsail VPC. You will need to add one as this isn’t created automatically.
Without a route, the return traffic will follow the default route or one that has a better preference.
1
Is the Lightsail IP address set in the security group a private IP address?
Access via VPC peering, so if Lightsail's private IP address is not configured, you will not be able to connect.
Also, check again that you have a peer connection to the correct VPC where RDS is running.
It is also recommended to check the network ACLs used on the RDS subnet to be sure.
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a 7 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
FYI By default light sail uses 172.26.0.0/16 as the VPC cidr.
Details here https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-set-up-vpc-peering-with-aws-resources
Not sure why AWS SP marked the answer down when this is the right answer.