Is it possible in google cloud web client to create an instance from image in different project?

岁酱吖の 提交于 2019-12-12 03:44:24

问题


I have several projects in gcloud, call them e.g. "staging-project" and "production-project". I have created an image, call it "stagign-image-1" in "staging-project", which I use for new instances. And I would like to use this image in "production-project" as well.

As far as I know, it is possible to do it using gcloud command line tool - you log there using your private google account, which has access to both projects and do:

gcloud config set project "production-project

gcloud compute instances create production-instance-from-staging-image --image staging-image-1 --image-project staging-project

This works fine for me, but I have few colleagues who don't like command line so much. So is there a way how to achieve this in the gcloud web console? When I list images in production-project, I simply do not see the staging-image-1 and I found no way how to select it. :(


回答1:


--image-project is not currently supported in the developers console.

An issue has been filed to fix that. Thanks.



来源:https://stackoverflow.com/questions/37862718/is-it-possible-in-google-cloud-web-client-to-create-an-instance-from-image-in-di

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!