Reputation: 41
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:
How can I make sure it never happen again?
Upvotes: 3
Views: 312
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