Transfer instance of Google compout engine to another region

I am trying to transfer several copies of computers from Europe to Asia. I need to do this because most users of these servers are in Asia and they get faster access to servers in their region. I am trying to execute a command.

gcloud compute instances move asiawindows1 --zone europe-west1-d --destination-zone asia-east1-c 

I get the following error while trying this

Instances owned by subnets cannot be moved between regions.

What is the best way to move these servers without manual configuration in the Asian zone?

+5
source share
2 answers

Follow these steps on the Google Cloud Platform

  • Create a snapshot of your virtual machine instance
  • Create a disc with this image
  • Creating an image with a created disk
  • Create a new instance using the image created in the steps above and change your zone
+6
source

The command you use is designed to navigate through zones of the same region, not regions.

You can create an image of your instance and use the image to create a new instance in another area.

+5
source

Source: https://habr.com/ru/post/1246514/


All Articles