VM Instance appears to be deleted

I had a vm instance I believe until a few days ago but it seems to have disappeared. I have used commands to check it but it seems that it is no longer available. I have then tried viewing the deployments and I’m getting which I’m attaching below. Kindly guide me

as to what are the available solutions as I seem to have lost all data relating to my website.

2 Likes

Hi @javasan ,

Welcome to Google Cloud Community!

You may want to verify the instance activity or related to it on the cloud logging using the following query:

Using instance name:

resource.type="gce_instance"
protoPayload.methodName:"compute.instances.delete"
log_id("cloudaudit.googleapis.com/activity")
protoPayload.resourceName:"INSERT_INSTANCE_NAME"

Using instance ID:

resource.type="gce_instance"
protoPayload.methodName:"compute.instances.delete"
log_id("cloudaudit.googleapis.com/activity")
resource.labels.instance_id="INSERT_INSTANCE_ID"

You can learn more about support related on the the deployed products on this link.

I hope this information is helpful.

1 Like

Hi @RonEtch

Thanks for your answer. im not sure if im doing right as i get the following error:

bash: resource.type=gce_instance: command not found
-bash: protoPayload.methodName:compute.instances.delete: command not found
-bash: syntax error near unexpected token `“cloudaudit.googleapis.com/activity”’
-bash: protoPayload.resourceName:worli-dairy-vm: command not found

1 Like

Hi,
Because those are not commands. You must use Log Explorer within the project where your VM has been deleted and there execute query provided by @RonEtch . Remember to hit “Run query”.

cheers,
DamianS

1 Like