Ali Durrani
Ali Durrani

Reputation: 353

Google App Engine Instance - Strange behavior PHP

I have some strange behavior in Google App Engine (PHP). I have deployed first version of my application in App Engine. I click on the Service, no response. The network shows "(failed)". Ok so my guess is that there is no instance running.

I deployed again, then the old version works but not the new? Something is strange here.

enter image description here

As you can see the instance shows 0 on live version and other old versions are working and shows 1 instance. Why is that?

Upvotes: 0

Views: 52

Answers (1)

Maxim
Maxim

Reputation: 4441

The amount of GAE instances shown on your screenshot is not a real-time value, but just an estimate of Stackdriver Monitoring (Hover over the question mark next to 'Instances'). If you wish to you view the actual values for the number of instances over time, use Stackdriver Metrics Explorer.

Also, previous GAE versions don't shut down the instances immediately after deploying a new version, but after some amount of time has passed. Therefore it may still show the version as having an instance running.

Take into account that while the GAE version is serving, even despite of having 0% of the traffic, any access or traffic sent to this version, will start up a new instance.

Upvotes: 1

Related Questions