Google compute engine 无法使用gcloud命令创建实例

Google compute engine 无法使用gcloud命令创建实例,google-compute-engine,gcloud,Google Compute Engine,Gcloud,我正试图在Google Compute中创建一个实例,但出现了一个错误 gcloud compute instances create 'my-instance' For the following instances: - [my-instance] choose a zone: [1] asia-east1-b [2] asia-east1-c [3] asia-east1-a [4] europe-west1-c [5] europe-west1-b [6] europe-

我正试图在Google Compute中创建一个实例,但出现了一个错误

 gcloud compute instances create 'my-instance'
For the following instances:
 - [my-instance]
choose a zone:
 [1] asia-east1-b
 [2] asia-east1-c
 [3] asia-east1-a
 [4] europe-west1-c
 [5] europe-west1-b
 [6] europe-west1-d
 [7] us-central1-f
 [8] us-central1-a
 [9] us-central1-c
 [10] us-central1-b
 [11] us-east1-b
 [12] us-east1-d
 [13] us-east1-c
Please enter your numeric choice:  11

ERROR: (gcloud.compute.instances.create) Some requests did not succeed:
 - The resource 'xxxxx@project.gserviceaccount.com' of type 'serviceAccount' was not found.
资源未列在IAM或ServiceAccount列表中

。。。发行

gcloud auth login   
然后,正如它解释的那样,粘贴到浏览器(您以前登录过谷歌)并将浏览器生成的令牌放回命令行。。。一旦你完成了,你会很开心。。。现在就开始启动您的群集。。。如果您希望通过使用服务帐户(不需要)来获得乐趣,请进行设置,然后发布

gcloud auth activate-service-account    # optional