0

I'd like to grant a specific gcloud user (a member) a role (a right) to start/stop a specific gcloud instance through gcloud console? Or do I have to make some scripting envelope to do so as the only option?

2
  • Would this specific user only have the right to start/stop one instance in a specific project, but not the other (instances)?
    – David B.
    Nov 25, 2016 at 13:53
  • @DavidB, yes just the specific instance in a specific project, he need to start it to perform a specific task on non-regular basis
    – Andre
    Nov 25, 2016 at 22:03

1 Answer 1

1

As far as I understand and according to the documentation:

If your project is enabled for Google Compute Engine, then the team members get access to all Google Compute Engine resources in that project as described by their roles, for example: viewer, writer or owner. If team members have edit permission, then they can modify instances and also access the instances using ssh.

So if that particular user has edit permission, that user would also be able to start/stop the other instances in the same project.

However:

If you just want to give a user the ability to connect to a virtual machine instance as an SSH user, but don't want to grant them the ability to manage your Compute Engine resources, add a user's public key to the project, or add a user's public key to a specific instance.

So unless you only have that particular instance in a separate project, I don't think there is an option in the IAM & Admin section to do that.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .