简体   繁体   中英

GCP: Connection to Cloud SQL

I have an architectural issue with Cloud SQL. We have an API that is running in a GKE cluster in a.network A and a cloud SQL instance in a.network B. The current.network config doesn't allow peering between these 2.networks. Is there any possibility to connect the API to the instance.

当前架构草案

As @ Ferregina suggested:

The bastion hosts provide secure access to Linux instances located in the private and public su.nets of your virtual private cloud (VPC). The solution sets up a Multi-AZ environment and deploys Linux bastion host instances into the public su.nets.

As mentioned in the document :

To connect to a Cloud SQL instance using private IP, the Cloud SQL Auth proxy must be on a resource with access to the same VPC.network as the instance.

Refer to this link for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM