Reset a virtual machine instance. Resetting a VM instance is similar to doing a hard reset on your computer, where you might press a reset button or press and hold the power button. Resetting a VM forcibly wipes the memory contents of the machine and resets the VM to its initial state. The VM does not perform a clean shutdown of the guest OS.
EXAMPLES
To reset an instance named "example-instance" in project "example-project", run:
gdcloud compute instances reset example-instance --project example-project
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003egdcloud compute instances reset\u003c/code\u003e command is used to forcibly reset a virtual machine instance to its initial state.\u003c/p\u003e\n"],["\u003cp\u003eResetting an instance is akin to a hard reset on a physical computer, wiping the machine's memory without a clean shutdown of the guest OS.\u003c/p\u003e\n"],["\u003cp\u003eTo reset an instance, you must provide the \u003ccode\u003eINSTANCE_NAME\u003c/code\u003e and can optionally use the \u003ccode\u003e--project\u003c/code\u003e flag to specify the project.\u003c/p\u003e\n"],["\u003cp\u003eThe gdcloud CLI also supports the use of wide flags like \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]