I have a Google Cloud Compute Engine instance in which I created a new user (through adduser) to allow a developer work in the instance. Now he has SSH access and can login in the instance but I want him to be able to start/stop the instance so it doesn't run when he's not working on it to prevent charging when it's idle. Ideally, he can install gcloud and just run the gcloud compute instances start/stop command but no other commands
I looked at the IAM roles and there doesn't appear to be a Compute Instance User role. Is it possible to grant external users this ability?