Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Multiple people have full access of Ubuntu Vm instance

How do I share my Ubuntu Vm instance with other users in a way that they have access to all the data and operations in the vm

0 1 200
1 REPLY 1

Hello pmionki,

There is a StackOverflow post that is similar to your concern, and as per dishant makwana

"

To grant SSH access to VMs to users in your organization, enable OS Login feature in your project.And grant one of the following instance access roles.

  1. roles/compute.osLogin, which does not grant administrator permissions on the VM.

  2. roles/compute.osAdminLogin, which grants administrator permissions.

  3. If your VM instance uses a service account, then each user must be configured to have the roles/iam.serviceAccountUser role on the service account. To learn how to add access for a user to a service account, see Managing service account impersonation.

Take a look at this article for more info."