Old versions of App Engine still have one instance running.

104 views
Skip to first unread message

Martin Dykes

unread,
Dec 4, 2019, 7:16:09 PM12/4/19
to Google App Engine
Hi all,

I have some questions regarding how old versions of app engine services are shutdown when a new version is deployed.

We have standard environment auto scaled instances that we changed to have min-idle-instances = 1 at the start of November.

It seems for the month of November that each time we deployed a new version, the previous version would continue to have one active instance even though it was serving no traffic.  Resulting in what can be seen in the attached screenshot.

This seems to stop happening on the 29th of November, even though no settings had been changed.


My questions are:

Is this a bug?  It seems weird that it stopped happening by itself.

If not a bug, what is the expected behaviour of old instance when deploying new versions?  

If expected behaviour is not for old versions to shut down completely, what is the best way to ensure old versions are shutdown? The docs suggest that -shutdown-previous-version does not work for autoscaled instances..

Thanks for any help.

Martin
instances.png

Elliott (Cloud Platform Support)

unread,
Dec 5, 2019, 4:19:02 PM12/5/19
to Google App Engine
Hello Martin,

Please note that Google Groups are reserved for general Google Cloud Platform and product discussions and not for reporting issues, which is why I suggest moving the troubleshooting to Issue Tracker, where issues can be turned private in case we need to gather any project specific details.

Martin Dykes

unread,
Dec 5, 2019, 7:23:43 PM12/5/19
to Google App Engine
Hi Elliott,

Thanks for your generic response.  Please re read my post and reply if you have answers to my questions about the expected behaviour of old version instances that I cannot find documented.

Martin

Elliott (Cloud Platform Support)

unread,
Dec 6, 2019, 5:57:29 PM12/6/19
to Google App Engine
Hello Martin,

An advantage of creating an Issue is that we can make it private so you may share project information. At this point, I would ask for your app.yaml file so that I may do troubleshooting and reproduction but I cannot.
Reply all
Reply to author
Forward
0 new messages