ERROR: The requested amount of instances has exceeded GCE's default quota
ERROR: The requested amount of instances has exceeded GCE's default quota
我决定使用 App Engine Flexible。但我收到此错误:
The requested amount of instances has exceeded GCE's default quota. Please see https://cloud.google.com/compute/quotas for more information on GCE resources
我有一个已关联的结算帐户并且有 300 美元的余额。
我的app.yaml:
runtime: nodejs
service: server
env: flex
network:
session_affinity: true
handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto
我一整天都在想办法解决这个问题:(
有谁明白为什么会这样?
根据@mahboob 的建议,此问题的答案已在
中提及
As per the GCP doc the parameter 'max_num_instances', The maximum number of instances in your project should be 8 by default where I can see you are using 15. I would like to suggest you to increase the quota limit for your project will solve the issue.
如果您只想完成部署而不关心扩展,以下内容可能会有所帮助。
- 尽量删除所有的版本和实例,记得多次重复删除,因为删除可能会失败。
- 在您的 app.yaml 中,将实例数量限制为仅 1 个实例,然后再次尝试部署。
manual_scaling:
instances: 1
我决定使用 App Engine Flexible。但我收到此错误:
The requested amount of instances has exceeded GCE's default quota. Please see https://cloud.google.com/compute/quotas for more information on GCE resources
我有一个已关联的结算帐户并且有 300 美元的余额。
我的app.yaml:
runtime: nodejs
service: server
env: flex
network:
session_affinity: true
handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto
我一整天都在想办法解决这个问题:( 有谁明白为什么会这样?
根据@mahboob 的建议,此问题的答案已在
As per the GCP doc the parameter 'max_num_instances', The maximum number of instances in your project should be 8 by default where I can see you are using 15. I would like to suggest you to increase the quota limit for your project will solve the issue.
如果您只想完成部署而不关心扩展,以下内容可能会有所帮助。
- 尽量删除所有的版本和实例,记得多次重复删除,因为删除可能会失败。
- 在您的 app.yaml 中,将实例数量限制为仅 1 个实例,然后再次尝试部署。
manual_scaling:
instances: 1