1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 3 Monaten
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
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/