App Engine Basic Scaling

266 views
Skip to first unread message

Andrew Hoy

unread,
Nov 28, 2018, 9:57:30 AM11/28/18
to Google App Engine
Hi all,

I have a query regarding max_instances when using basic scaling in the App Engine Standard environment (Node.js). Im my app.yaml file, I set max_instances to 1. This appears in the config section under App Engine > Versions in this UI:

runtime: nodejs8
env: standard
instance_class: B4_1G
handlers:
  - url: '.*'
    script: auto
basic_scaling:
  idle_timeout: 600s
  max_instances: 1
network: {}

All of the above looks correct. However, when I add the 'Max Instances' column, the value is set to 'auto' (see attachment). Can someone please let me know what I'm doing wrong here? Why is the UI showing 'auto' even though the config section shows max_instances set to 1?


Thanks,

Andy
appengine.PNG

Omair (Cloud Platform Support)

unread,
Nov 28, 2018, 5:23:06 PM11/28/18
to Google App Engine

Hi Andrew,


You are using basic scaling which is different from manual scaling. In basic scaling instances are created on demand to handle request and automatically turned down when idle. The maximum number of instances that can be created is defined in the max_instances parameter. To read about types of scaling available in App Engine Standard please visit the link on [1]. Having said that, it does seem like a bug to me that the maximum instances is showing as auto. You can report this on  Issue Tracker as a bug.




[1]https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed#instance_scaling


Andrew Hoy

unread,
Nov 29, 2018, 4:03:21 AM11/29/18
to Google App Engine
Hey Omair,

Appreciate you getting back to me.

Great, this is exactly what I wanted to use basic scaling for - thanks for confirming. I Have reported the bug on the issue tracker.

Amit (Google Cloud Support)

unread,
Nov 29, 2018, 5:09:44 PM11/29/18
to Google App Engine
Hello Andrew

Thank you for your clarification. If you have any other queries, please let us know.
Reply all
Reply to author
Forward
0 new messages