Reputation: 323
I currently have the following structure
Project 1
Cloud SQL Instance
Project 2
Cloud Run Instance
Service account
I would like the project 2 cloud run instance to access the Project 1 Cloud SQL instance.
To do this I...
But I see posts like this that suggest I should be using a VPC...
Accessing Cloud SQL from another GCP project
But I would really like to avoid managing 2 vpcs for this. Is there a way to do it without VPCs? And based on the post the best option is to pair 2 VPCs?
Upvotes: 0
Views: 322
Reputation: 1298
Posting this answer for the awareness of other users on what we have discussed in this question. In this scenario we have discussed that firewall rule from this concern is needed to have access from the public server.
I would also like to share this link on how you can enable public ip address in cloud sql.
Upvotes: 1