google-cloud-run - Cloud Run 区域间出站流量
问题描述
我对 Google Cloud Run(托管)的区域间出站费用有疑问。据我了解,无法控制 Cloud Run 选择哪些区域。因此,在部署多个相互通信的微服务时,可能会产生大量费用。
在 kubernetes 中,这可以通过服务拓扑来缓解(如果可用,首选相同的区域甚至相同的主机)。有没有办法通过 Cloud Run 实现这一目标?
https://kubernetes.io/docs/concepts/services-networking/service-topology/
解决方案
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.
推荐阅读
- javascript - 带函数的for循环
- angular - angular 5“装饰器不支持函数表达式”
- git - 与不同的开发人员一起在 Git 中工作时哪一个好
- python - Python如何在通过格式化程序时用空格打开文件路径
- html - 图像方面填充模式:CSS
- java - 使用 mockito 或代理拦截 Java 中的方法调用
- java - Android:如何按父级剪辑视图,例如 CSS 溢出:隐藏
- teradata - 创建或重命名动态表 teradata
- jquery - 如何隐藏跨度的第一个字母?
- virtual-machine - 如何从 KVM 虚拟化中的主机服务器获取访客的 IP 地址?