I currently have a project with a compute instance, connected to a managed Cloud SQL database. When they set it up, they allocated the IP range for the SQL instance and I see it in the current project VPC.
This is a short recap of the IPs and projects I have:
proj-existing 172.30.0.221 sql-in-proj-existing 10.236.176.10 proj-new 10.154.0.6 VPC name is the same for the two projects.
Now I'd like to be able to access this Cloud SQL instance from proj-new. I've read this is possible, but I'm probably missing some pieces.
I think the guide I need to follow is this one. But I cannot allocate a new subnet with the same address as the existing cloud instance. And it won't let me create a new private link without a subnet.
OTOH, if I add a configuration in VPC network peering, it won't turn up because it doesn't have the corresponding peering request on the other end.
So I miss how to create the Private Service Connection between proj-new and sql-in-proj-existing.