1
votes

I've given myself compute instance admin V1 permissions, as well as service account admin. I can ssh into single VM instances that are not managed by any MiG, but somehow for all MiG managed instances, the SSH button is greyed out. I've tried Compute OS Login and Compute Admin Login permissions as well without any success.

It works when I give myself Owner permission on the project, but I would like to avoid that. Is there any IAM setting that will allow me to SSH into a MiG managed VM? Google documentation is not very helpful on this.

1

1 Answers

0
votes

You should be able to SSH into machine after you grant yourself roles/compute.instanceAdmin.v1 and roles/iam.serviceAccountUser.

Take a look at Granting users SSH access to VM instances and Managed instance groups and IAM.

You can also access your VMs via serial console.