eitan_shtainkort
eitan_shtainkort

Reputation: 41

App Engine Instances kept alive after new version installation

Every time I upload a new version of my app engine, the old version automatically stops. But in one of my projects, there is a bug, and every time I upload a new versions, it does not kill the older version. This bug result in me paying for 16 different running instances last month because we had a lot of new versions:

enter image description here

How can I make sure it never happen again?

Upvotes: 3

Views: 312

Answers (1)

etlsh
etlsh

Reputation: 701

gcloud app deploy does not remove previous versions

tl;dr: Use the --version flag when deploying to specify a version name. An existing instance with the same version will be replaced then next time you deploy.

Upvotes: 1

Related Questions