如何在Google Cloud Platform的两个项目之间移动实例? [英] How to move an instance between two projects in Google Cloud Platform?
问题描述
在计算机引擎中,如何将实例从项目A移到项目B?
In computer engine, How can I move an instance from project A to project B?
我有两个项目,并且都拥有相同的所有者. 我查看了控制台内的所有接口,但找不到办法.
I have two projects, and both have the same owner. I looked at all the interfaces inside the console, but I could not find a way.
推荐答案
GCP中没有任何工具可以将一个Compute Engine实例从一个项目迁移到另一个项目.
There isn't any tool in GCP that allows migrating one Compute Engine instance from one project to another.
但是,仍然可以通过创建磁盘快照,创建自定义映像并在第二个项目中从该实例创建一个新的VM,来将一个实例从一个项目重新创建到另一个项目.
However, it is still possible to recreate one instance from one project to another, by creating a snapshot of the disk, creating a custom image, and create a new VM from it in the second project.
This article gives a nice step by step guide on how to do it.
这篇关于如何在Google Cloud Platform的两个项目之间移动实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!