2

My Instances Group automatically add a random suffix to my instances.

I would like to change the instances names or the suffixes in an instances group of GCP. I would prefer a numbered suffix.

Is it possible to do that?

Screenshot of my Google Cloud in the Instances Group section

Grzenio
  • 35,875
  • 47
  • 158
  • 240
Augusto M
  • 21
  • 1

1 Answers1

2

It is not possible to control the suffix for instances belonging to instances group. As you can read in the documentation even making use of the SDK with the optional flags you can change the base-name of the instance but no hints regarding the suffix.

--base-instance-name=BASE_INSTANCE_NAME

The base name to use for the Compute Engine
instances that will be created with the managed instance group. 
If not provided base instance name will be the prefix of instance group name.

Moreover it is not possible to rename Compute Engine instances once they are already been created. Here you can find an UserVoice Topic Regarding this feature.

GalloCedrone
  • 4,869
  • 3
  • 25
  • 41