GCP:您没有足够的权限来通过SSH进入此实例 [英] GCP: You do not have sufficient permissions to SSH into this instance
问题描述
我在一个GCP项目上有一个(非管理员)帐户.
I have a (non-admin) account on one GCP project.
当我启动Dataproc集群时,GCP会启动3个VM.当我尝试通过 SSH(在浏览器中)访问其中一台VM时,出现以下错误:
When I start the Dataproc cluster, GCP spins up 3 VMs. When I try to access one of the VM via SSH (in browser) I get the following error:
我尝试添加推荐的权限,但是无法添加 iam.serviceAccounts.actAs 权限.
I tried to add recommended permissions, but I cannot add the iam.serviceAccounts.actAs permission.
有什么办法解决这个问题吗?我通读了GCP文档,但找不到解决方案.我的帐户与以下角色相关联:
Any idea how to solve this? I read through the GCP documentation, but I just cannot find the solution for this. I have the following roles associated with my account:
推荐答案
最后,我们设法通过向用户授予 Compute Engine默认服务帐户的 Editor 权限来解决该问题.不确定这是正确的方法,但似乎可行.
In the end, we managed to solve it by granting users the Editor permission on Compute Engine default service account. Not sure it is the right way but it seems to work.
这篇关于GCP:您没有足够的权限来通过SSH进入此实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!