简体   繁体   English

将Google Cloud ml-engine连接到Google Cloud SQL

[英]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. 我正在尝试访问google cloud SQL database上的数据,作为google ml-engine培训脚本中的输入。

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. 目前,我可以通过允许SQL server上所有IP's访问并仅依靠database passwords来实现安全性来进行访问。

One option might be to use the cloud SQL proxy: 一种选择是使用云SQL代理:

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

(I haven't tried it) (我没有尝试过)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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