ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: The following quotas were exceeded: CPUS (quota:
0, used: 0 + needed: 4).
Trying to deploy nodejs application in App Engine flexible environment in a new google cloud project using gcloud.
runtime: nodejs
env: flex
resources:
cpu: 2
memory_gb: 3.5
disk_size_gb: 20
network:
name: default
env_variables:
NODE_ENV: production
For some reason i am unable to successfully deploy in app engine flexible environment.
If you are on the Free Trial, this a known issue or the stock-out issue in that region(asia-south). Here are my recommendations:
automatic_scaling:
min_num_instances: 1
max_num_instances: 7
asia-south
.