可以获取Google Cloud Functions的静态IP地址吗?

编程入门 行业动态 更新时间:2024-10-25 20:18:12
本文介绍了可以获取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范围?Where can I find Compute Engine IP ranges? → Provides a method to access all ips in the GCP.

但是请注意安全隐患.

更多推荐

可以获取Google Cloud Functions的静态IP地址吗?

本文发布于:2023-11-24 05:14:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1624085.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:静态   地址   Cloud   Google   IP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!