首页 > 解决方案 > Cloud Run 区域间出站流量

问题描述

我对 Google Cloud Run(托管)的区域间出站费用有疑问。据我了解,无法控制 Cloud Run 选择哪些区域。因此,在部署多个相互通信的微服务时,可能会产生大量费用。

在 kubernetes 中,这可以通过服务拓扑来缓解(如果可用,首选相同的区域甚至相同的主机)。有没有办法通过 Cloud Run 实现这一目标?

https://kubernetes.io/docs/concepts/services-networking/service-topology/

标签: google-cloud-run

解决方案


According to Cloud Run pricing and internet egress pricing cost stays the same independent if apps are within the same zone or not.

Now if you plan to have heavy traffic between your apps you should consider using different setup. Either GKE or Cloud Run for Anthos will allow you to setup communication between your apps through internal IP addresses which is free of charge assuming they are in the same zone. Refer to this table.


推荐阅读