GCP管理的Cloud Run的出站IP范围是什么? [英] What are the outbound IP ranges for GCP managed Cloud Run?

查看:82
本文介绍了GCP管理的Cloud Run的出站IP范围是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GCP管理的Cloud Run和MongoDB Atlas开发应用程序.如果我允许从任何地方连接Atlas的IP白名单,则Cloud Run可以完美地与MongoDB Atlas配合使用.但是,我只想限制必要IP的连接,但是我找不到Cloud Run的出站IP.有什么办法知道出站IP吗?

I'm developing an app using GCP managed Cloud Run and MongoDB Atlas. If I allow connection from anywhere for IP Whitelist of Atlas, Cloud Run perfectly works well with MongoDB Atlas. However, I want to restrict connection only for necessary IPs but I cloud't find outbound IPs of Cloud Run. Any way to know the outbound IPs?

推荐答案

Cloud Run(像所有可扩展的无服务器产品一样)不会为您提供专用IP地址,这些IP地址已知是传出流量的来源.另请参阅:可以获取Google Cloud的静态IP地址功能?

Cloud Run (like all scalable serverless products) does not give you dedicated IP addresses that are known to be the origination of outgoing traffic. See also: Possible to get static IP address for Google Cloud Functions?

这篇关于GCP管理的Cloud Run的出站IP范围是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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