I had a wordpress deployment on GCP using "Click to Deploy". A few months back there was some issue with the billing account, which was corrected recently. But now the VM instance is no longer showing in the list.

I can still see the wordpress deployment under deployment manager. It also shows the VM name there, clicking on it, it redirects to the VM instances page with the error "Failed to load"


Solution 1:

Although VM gets deleted you can see the wordpress deployment properties in the deployment manager. Delete the wordpress properties in the deployment manager and redeploy it.

If your Compute Engine Instance was deleted, it is not possible to restore it. During the creation of the Instance you could configure deletion rules to keep the boot disk when the instance is deleted. This can be configured in the submenu “Management, security, disks, networking, sole tenancy” in the Disks section.

However, if you have a snapshot of the disk, you can create a new instance from that snapshot, or, if the disk from the original instance was not deleted (as I explained above), you can create a new instance from that disk.

As a note, there are settings for preventing accidental deletion of instances which may also be useful.

Also, if you have a machine image, you can recreate an identical instance from it. A machine image stores all the configuration, metadata, permissions, and data from one or more disks required to recreate an identical virtual machine instance.