1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi.
Lightsail has a VPC peering feature.
However, you can only peer with the default VPC.
If you have an RDS resource other than the default VPC, you can place the NLB in front of the RDS and use the endpoint service to establish a connection route from the default VPC to the RDS with an IP address target.
https://dev.classmethod.jp/articles/nlb-bastion-for-rds/
I have successfully connected to Lightsail-> Endpoint on Default VPC-> NLB-> RDS with this configuration.
Contenus pertinents
- demandé il y a un an
- demandé il y a 7 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
- Comment migrer une instance Lightsail Windows vers une instance Amazon EC2 à des fins de dépannage ?AWS OFFICIELA mis à jour il y a 2 ans
Thanks for your response. Will this configuration also work with connecting to MSSQL DB?
Yes. You can also connect with MSSQL.
Only the port number is different.
I tried your scenario and put it together in an article. I verified it with MySQL, but it should work with MSSQL as well.
https://dev.classmethod.jp/articles/lightsail-connect-vpc-rds/