如何在 Google Cloud Platform 中的两个项目之间移动实例? [英] How to move an instance between two projects in Google Cloud Platform?

查看:33
本文介绍了如何在 Google Cloud Platform 中的两个项目之间移动实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在计算引擎中,如何将实例从项目 A 移动到项目 B?

In compute 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆