Warm tip: This article is reproduced from serverfault.com, please click

Rename Google Compute Engine VM Instance

发布于 2015-01-14 10:15:09

How do I rename a Google Compute Engine VM instance?

I created a new LAMP server and I'd like to rename it in the "VM Instances" dashboard.

I've tried renaming the Custom metadata, but that didn't seem to replicate to the dashboard.

Questioner
mickeylieu
Viewed
0
10.7k 2015-01-25 04:42:31

Another way to do this is:

  • snapshot the disk of the existing instance
  • create a new disk from that snapshot
  • create a new instance with that disk and give it the name you would like

It sounds time-consuming, but in reality should take 5 minutes.