The edit button is greyed out so i can’t edit an instance and add the network tag, without removing it from the instance group.
The reason why you – and anyone else trying that again – can’t access this feature is because Google seemed to have listened Mattias’ comment that this "is not something you usually want to do." If you currently hover the disabled "EDIT" button, you will this the following message in a tooltip:
You can’t reset this VM instance because it’s managed by a group. To reset this VM instance, first remove it from group frontend-ig
There are two different ways of practicing the lessons taught over this class while still complying with the most recent requirements from Google Cloud:
1. Go to Compute Engine, Instance groups, select the instance you want to connect and push the "REMOVE FROM GROUP" button. This way, the instance group will start up a new instance because it has just lost one of the two required by our group configuration. Following that, you should be able to edit the instance, as taught in class, by going to VM instances list.
2. Since we are not allowed to edit instance templates, you would select the existent template, and "CREATE SIMILAR" with the intented network tag. Later on, you could roll a new instance group based on it. Finally, you should be able to SSH into any of the new instances.
Re #1 above, I couldn’t even find any "REMOVE FROM GROUP" button or other method, so Google may have done away with that as well.
I wondered if this was the case, the course needs to be updated then I guess?
I was able to remove it from the group and add the tag
Thank you Irio. This worked for me.
I can confirm that as of 07/2021 that option #2 of the above solution is the only way to achieve this.
Since we are not allowed to edit instance templates, you would select the existent template, and "CREATE SIMILAR" with the intended network tag. Later on, you could roll a new instance group based on it. Finally, you should be able to SSH into any of the new instances.
Option #1 worked for me. After removing the instance from the instance group, I connected via SSH without an issue. Perhaps Google changed something recently?
if i create a vm instance not in the group i am able to edit the vm and add the network tag and i am able to successfully ssh
funny enough once i did the rolling replace the edit button was no longer greyed out =|