将us-central1以外的区域用于Google Cloud Functions [英] use region other than us-central1 for Google Cloud Functions

查看:79
本文介绍了将us-central1以外的区域用于Google Cloud Functions的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,Google Cloud Functions仅在us-central1中可用,因为选择区域的下拉列表仅允许我选择us-central1,并且当我尝试使用其他方式编写自己的部署脚本时对于us-east4之类的区域选项,部署失败.是这样吗有什么隐藏的方法可以在us-east4或其他地区创建云功能?

From what I can tell, Google Cloud Functions is only available in us-central1, as the drop-down for selecting a region only allows me to select us-central1, and when I try writing my own deploy script using something different for the region option like us-east4, the deploy fails. Is this the case? Is there some hidden way to enable creating a cloud function in us-east4 or some other region?

更新:链接的问题为Firebase阐明了这一点,但是我很希望看到有关Cloud Functions的正式答案.根据我在网上发现的情况,我的猜测是,直到Cloud Functions超出beta版,它才在us-central1中可用.

update: the linked question clarifies this for Firebase but I would love to see an official answer for Cloud Functions in general. My guess based on what I've found online is that until Cloud Functions is out of beta, it will only be available in us-central1.

推荐答案

要查看可用于Cloud Functions的区域的完整列表,请访问以下链接:

To view the full list of regions available for Cloud Functions, visit this link:

https://cloud.google.com/functions/docs/locations

当前可用区域(2020年6月)是:

Current available regions (June, 2020) are:

一级定价

  • us-central1(爱荷华州)
  • us-east1(南卡罗来纳州)
  • us-east4(弗吉尼亚北部)
  • europe-west1(比利时)
  • europe-west2(伦敦)
  • asia-east2(香港)
  • asia-northeast1(东京)
  • us-central1 (Iowa)
  • us-east1 (South Carolina)
  • us-east4 (Northern Virginia)
  • europe-west1 (Belgium)
  • europe-west2 (London)
  • asia-east2 (Hong Kong)
  • asia-northeast1 (Tokyo)

二级定价

  • europe-west3(法兰克福)
  • europe-west6(苏黎世)
  • us-west3(盐湖城)
  • europe-west3 (Frankfurt)
  • europe-west6 (Zurich)
  • us-west3 (Salt Lake City)

这篇关于将us-central1以外的区域用于Google Cloud Functions的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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