runtime: nodejs8
instance_class: F2
automatic_scaling:
max_concurrent_requests: 10
target_throughput_utilization: 0.8
handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto
instance_class: F2
automatic_scaling:
max_concurrent_requests: 10
max_idle_instances: 1
max_pending_latency: 300ms
min_idle_instances: 0
min_pending_latency: 30ms
Hello,
Your instance will be scaled depending on the parameter limits first reached.
If you have 5 concurrent requests, but reached the Max_pending_latency parameter, for example, then the instance will be scaled. Also, there are some standard values that can spawn your instances[1].
[1] https://cloud.google.com/appengine/docs/standard/nodejs/config/appref