可以获取Google Cloud Functions的静态IP地址吗? [英] Possible to get static IP address for Google Cloud Functions?

查看:59
本文介绍了可以获取Google Cloud Functions的静态IP地址吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个Google Cloud Function,它将订阅Google Cloud Storage存储桶中的文件更改,并将文件上传到第三方FTP站点.此FTP站点需要客户端白名单的IP地址.

I would like to develop a Google Cloud Function that will subscribe to file changes in a Google Cloud Storage bucket and upload the file to a third party FTP site. This FTP site requires whitelisted IP addresses of clients.

这样,是否可以为Google Cloud Functions容器获取静态IP地址?

As such, it is possible to get a static IP address for Google Cloud Functions containers?

推荐答案

不,这不可能,也不可能.也就是说,您可能会选择将所有Google IP列入白名单.

No, this is not possible, nor will it likely ever be. That said, you might opt to whitelist all of google's ip's.

在哪里可以找到Compute Engine IP范围? →提供一种方法来访问GCP中的所有ip.

Where can I find Compute Engine IP ranges? → Provides a method to access all ips in the GCP.

但是请注意安全隐患.

这篇关于可以获取Google Cloud Functions的静态IP地址吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆