Skip to content

v2.0.0 — GCE Rescue V2

Choose a tag to compare

@gokulr94 gokulr94 released this 17 Mar 18:28
· 18 commits to main since this release
1cd2d3e

GCE Rescue V2 — a major rewrite adding Windows support, boot diagnostics, auto-repair, and cross-platform install scripts.

Install

pip install gce-rescue

What's new

  • 4 commands: diagnose, repair, rescue, restore
  • Windows support: Rescue Windows Server VMs via RDP
  • Boot diagnostics: Serial console analysis identifies boot errors
  • Auto-repair: repair command fixes fstab errors end-to-end
  • Automatic rollback: Failed operations roll back in reverse order
  • Session recovery: Resume or rollback interrupted operations
  • ARM64 support: Automatic architecture detection
  • Pre-flight validation: Checks credentials, IAM, VM state before changes
  • Install scripts: One-liner setup for Linux, macOS, Windows

Usage

gce-rescue diagnose my-vm --zone=us-central1-a
gce-rescue repair my-vm --zone=us-central1-a
gce-rescue rescue my-vm --zone=us-central1-a
gce-rescue restore my-vm --zone=us-central1-a

Requirements

  • Python >= 3.9
  • gcloud CLI
  • roles/compute.instanceAdmin.v1 IAM role

V1 compatibility

V1 is still available as gce-rescue-v1. No breaking changes.

Full changelog: v0.4-beta...v2.0.0