I decided to use App Engine Flexible. But I am getting this error:
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
I have a billing account connected and have $ 300 in credit.
My app.yaml:
runtime: nodejs
service: server
env: flex
network:
session_affinity: true
handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto
I've been trying to figure out how to fix this for a whole day now :( Does anyone understand why this is so?
As suggested by @mahboob, the answer for this question is as mentioned in this question
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.