Skip to main content
This guide covers deleting a Google Cloud Compute Engine VM instance. Deleting an instance permanently removes it. The boot disk is deleted by default if “Delete boot disk when instance is deleted” was checked (the default); additional persistent disks are not deleted automatically.
Complete the pre-termination checklist before proceeding. Deletion is irreversible.

Option 1: Google Cloud Console

1

Open the VM instances list

Sign in to the Google Cloud Console and navigate to Compute Engine → VM instances.
2

Select your instance

Check the box next to the VM instance running OpenClaw. Confirm the correct instance by checking its External IP against what appeared on the watchboard.
3

Delete the instance

Click Delete in the top action bar, or click the three-dot menu next to the instance and choose Delete. Confirm in the dialog.The instance moves to a deleting state and disappears from the list when deletion is complete.
Official Google Cloud documentation: Delete a VM instance

Option 2: gcloud CLI

If you have the Google Cloud CLI installed:
# List instances to find your instance name and zone
gcloud compute instances list

# Delete the instance (replace INSTANCE_NAME and ZONE)
gcloud compute instances delete INSTANCE_NAME --zone=ZONE
You’ll be prompted to confirm. To skip the prompt:
gcloud compute instances delete INSTANCE_NAME --zone=ZONE --quiet
If you want to keep the boot disk (e.g., to preserve data before deletion), add --keep-disks=boot:
gcloud compute instances delete INSTANCE_NAME --zone=ZONE --keep-disks=boot

Post-termination cleanup

Delete persistent disks

Any additional persistent disks attached to the instance are not deleted automatically. List and delete them:
# List unattached disks
gcloud compute disks list --filter="users:( )"

# Delete a disk
gcloud compute disks delete DISK_NAME --zone=ZONE

Delete snapshots

# List snapshots
gcloud compute snapshots list

# Delete a snapshot
gcloud compute snapshots delete SNAPSHOT_NAME

Release static external IP addresses

Static external IP addresses continue to incur charges if not released:
# List static IPs
gcloud compute addresses list --filter="status:RESERVED"

# Release a static IP
gcloud compute addresses delete ADDRESS_NAME --region=REGION

Remove firewall rules

If you created firewall rules specifically for this instance, remove them:
# List firewall rules
gcloud compute firewall-rules list

# Delete a firewall rule
gcloud compute firewall-rules delete RULE_NAME

Rotate credentials

After deletion, rotate everything the agent had access to. See the post-termination checklist for the full list.