Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Editing an instance in an instance group – network tags

Hi there, I couldn’t edit an instance to add a network tag as it’s managed by an instance group. It recommends removing it from the group to change. I can execute the instructions by creating a similar vm and adding the network tag – but assuming that this isn’t ideal.

P Naik

Hey. Please refer to following discussion (also given in resources): https://acloud.guru/forums/gcp-certified-associate-cloud-engineer/discussion/-LX_K01iaNGvgD6ICp_p/cannot_edit_instance_in_group

hjl

Things have been updated in Console again

1 Answers

I had the same situation, and it seems something else has changed giving us though an opportunity to exercise a little bit more creating another instance based on the defined instance template, outside of the MIG, using the same VPC+firewall+subnet+service-account (implied configured when using the instance template)and apply the tag.

Connected, host fingerprint: ssh-rsa 0 EE:8A:FB:B3:78:A3:D3:17:2E:3B:26:79:17:1C  
:AC:BD:5B:59:AB:33:B9:61:0A:84:C9:96:C6:AD:81:92:76:3D  
Linux frontend-it-2 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x  
86_64  
The programs included with the Debian GNU/Linux system are free software;  
the exact distribution terms for each program are described in the  
individual files in /usr/share/doc/*/copyright.  
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent  
permitted by applicable law.  
pimballeke@frontend-it-2:~$ hostname  
frontend-it-2
pimballeke@frontend-it-2:~$ curl -H "Metadata-Flavor:Google" metadata.google.internal/computeMetadata/v1/instance/tags  
["open-ssh-tag"]

I assume that this video will probably be edited/updated at any time soon.

hjl

I ended up using gcloud to add-tags the instance created by IG. The Console does not allow editing instances in IG.

Patty Navarro

That worked for me. Thank you for the suggestion

Dhananjay Tripathi

Thanks for the idea. I used : gcloud compute instances add-tags –tags=open-ssh-tag

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?