简体   繁体   中英

Connecting google cloud ml-engine to google cloud sql

I am trying access data on a google cloud SQL database as inputs in a google ml-engine training script.

Question: Is there a good way to do this securely?

Currently I can access by allowing all IP's access on SQL server , and relying only on database passwords for security.

One option might be to use the cloud SQL proxy:

https://cloud.google.com/python/getting-started/using-cloud-sql

(I haven't tried it)

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