Search code examples
google-compute-enginelampdebian-based

Google Compute Engine deletes VM Instance automatically


I have used Google Compute Engine for my backend (debian-lamp), suddenly it gets deleted automatically without any user interaction and also doesn't shows the operation(Deletion of VM Instance ) performed by which user. I have also attached the image of Google Compute Engine Operations for further study.

I want to know why does this happened and what are the ways to restore the deleted instance.

Note: I am using trial version of Google Compute Engine and this was my second VM Instance created in Current Project.

enter image description here


Solution

  • It looks like the instance was deleted by the Instance Group Manager after you resized the instance group (most likely to zero). To learn about why this happened, visit the docs pages for Instance Groups and the Instance Group Manager.

    If you resize the Instance Group back up to 1, the Instance Group Manager will create a new VM automatically.