我们可以使用 google 云中的导出图像从 google 云外的图像创建实例吗
can we use exported images in google cloud to create a instance from that image outside google cloud
假设我有一个虚拟机 运行 ubuntu 16.04 OS 现在我已经创建了这个虚拟机的图像并且我已经从 google 云存储中导出了这个图像
使用来自 google cloud cli
的以下命令
gcloud compute images export --destination-uri gs://my-bucket/my-image.tar.gz \
--image my-image --project my-project
Question1
现在假设我们正在从 google 云迁移到我们可以使用的任何其他云服务提供商
此图像 (my-image.tar.gz) 使用此图像创建实例,或者此图像只能在 google 云中使用(即此图像可用于在 google 云内而非 google 云外启动实例(虚拟机)?
是的,我认为可以在其他云服务上使用 GCP 自定义映像创建 VM。以 AWS 为例 example,文件上说:
VM Import/Export enables you to easily import virtual machine images
from your existing environment to Amazon EC2 instances
是的,可以在其他云服务上使用 GCE 的图像,但是请记住,在大多数情况下,每个云服务都有其关于使用 custom/external 图像的规范或限制。
假设我有一个虚拟机 运行 ubuntu 16.04 OS 现在我已经创建了这个虚拟机的图像并且我已经从 google 云存储中导出了这个图像 使用来自 google cloud cli
的以下命令 gcloud compute images export --destination-uri gs://my-bucket/my-image.tar.gz \
--image my-image --project my-project
Question1
现在假设我们正在从 google 云迁移到我们可以使用的任何其他云服务提供商 此图像 (my-image.tar.gz) 使用此图像创建实例,或者此图像只能在 google 云中使用(即此图像可用于在 google 云内而非 google 云外启动实例(虚拟机)?
是的,我认为可以在其他云服务上使用 GCP 自定义映像创建 VM。以 AWS 为例 example,文件上说:
VM Import/Export enables you to easily import virtual machine images
from your existing environment to Amazon EC2 instances
是的,可以在其他云服务上使用 GCE 的图像,但是请记住,在大多数情况下,每个云服务都有其关于使用 custom/external 图像的规范或限制。