Reputation: 11831
I have a suspended instance that I want to bring up, but cannot because of the error in the title. I'd expect that there'd be an obvious way to choose a different zone in which to resume the instance, but I see nothing. As long as us-west3-a is overbooked, how can I resume execution of this instance elsewhere?
I'm not running a major service - this one instance is the entire operation, and given what I'm running (an ancient game server) load balancing or multi-region availability is out of the question. I just need to be able to run this instance somewhere when the need strikes.
Upvotes: 0
Views: 347
Reputation: 1269
To be able to resume your instance in another zone you will need to create a snapshot first then create a new instance using the snapshot you have created. There are no possible ways to directly transfer an instance to another zone. Below are the step by step procedure to do so:
How to create snapshot
How to create instance from a snapshot with new zone
Once the instance is created and started, it will be in the same state at the time you created the snapshot.
For more information and troubleshooting about the Stockout error, you can check the GCP official documentation.
Upvotes: 1