Google cloud - Not able to delete VM machines

时间:2015-10-30 22:12:30

标签: google-app-engine google-compute-engine

I am new to google cloud. Sometime back i managed to deploy my code on cloud.

I just created 2 VM instances. I am facing following problem,

  1. Whenever i deploy new build using cloud sdk(gcloud preview app deploy app.yaml --set-default), it brings new machine. this is weird.
  2. Tried to delete VM instances in the console (https://cloud.google.com/compute/docs/instances/stopping-or-deleting-an-instance#delete_an_instance), seems like deleted for few minutes and then it comes back into console again and again.

Can anyone please help as to how to resolve this issue?.

2 个答案:

答案 0 :(得分:2)

由于您没有在--version VERSION命令中使用版本标记(gcloud),因此它会部署新版本的应用程序,从而启动新的VM实例。

要解决此问题,请在此link处查看我的回答。

答案 1 :(得分:1)

The older app versions in App Engine are still running. You can navigate to App Engine > Versions and delete unused versions.

If you only delete the VM, App Engine will respawn it.