[英]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.