Hi Everyone,
Here's an overview of my setup:
Problem Statement: An application hosted in AWS needs to connect to the Private Endpoint of Cloud SQL.
I’ve created a host project and two service projects (Sandbox and Production). In the host project, I set up a site-to-site VPN to AWS, three VPCs (one for the host project, and two shared to Sandbox and Production project), and a Cloud Router.
In the service projects (Sandbox and Production), I set up Private Access, Cloud SQL, and VMs within the shared VPCs from the host project.
The VM in Sandbox can connect to Cloud SQL in Sandbox.
The VM in Production can connect to Cloud SQL in Production.
I also created an NCC HUB and added both the Sandbox and Production VPNs.
The VM in Sandbox can connect to Cloud SQL in Production.
The VM in Production can connect to Cloud SQL in Sandbox.
Everything is working as expected so far. The next step is to extend this access to AWS. I added the AWS VPN as another spoke.
The instance in AWS can access the VMs in both Sandbox and Production, but it is unable to connect to Cloud SQL.
I’ve ensured that the proper IPs are added to the authorized network.
Any thoughts on this ?
Hi @zoosk,
Welcome to Google Cloud Community!
I understand that you are hosting an application in AWS that needs to connect to Google Cloud SQL, but it sounds like that you are having a connectivity issue with it. To help you with this, May I know what specific error or behavior you are getting? Also, what VPN are you using to connect the Cloud SQL to AWS instances? Regarding with the information you’ve given, my thoughts are:
I hope the above information is helpful.