[英]can we use exported images in google cloud to create a instance from that image outside google cloud
lets say i have a vm running with ubuntu 16.04 OS now i have created the image of this vm and i have exported this image from google cloud storage using the following command from google cloud cli 可以说我有一个使用ubuntu 16.04 OS运行的虚拟机,现在我已经创建了该虚拟机的映像,并已使用google cloud cli中的以下命令从Google云端存储中导出了该映像
gcloud compute images export --destination-uri gs://my-bucket/my-image.tar.gz \
--image my-image --project my-project
Question1
问题1
Now lets say we are migrating from google cloud to any other cloud service provider can we use this image (my-image.tar.gz) to create the instance using this image or this image can be used within google cloud only (ie this image can be used to launch instances(VM'S) within google cloud not outside the google cloud) ? 现在让我们说我们正在从Google Cloud迁移到任何其他云服务提供商,我们可以使用此图像(my-image.tar.gz)使用该图像创建实例,还是可以仅在Google Cloud中使用该图像(即该图像)可以用来在Google云端(而不是Google云端之外)启动实例(VM)吗?
Yes, I think it is possible to create VM using GCP custom images on other Cloud services. 是的,我认为可以在其他Cloud服务上使用GCP自定义映像来创建VM。 Take AWS for an example , the document says:
以AWS 为例 ,该文件说:
VM Import/Export enables you to easily import virtual machine images
from your existing environment to Amazon EC2 instances
是的,可以在其他Cloud Services上使用GCE的映像,但是请记住,在大多数情况下,每个Cloud Service都有其有关使用自定义/外部映像的规范或限制。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.