简体   繁体   English

我们可以使用Google Cloud中的导出图像来从Google Cloud之外的图像创建实例吗

[英]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.

相关问题 我们可以使用 xampp 作为 Google 云 ubuntu vm 实例中的在线服务器吗 - Can We use xampp as Online server in Google cloud ubuntu vm instance 使用 sftp (filezilla) 连接到谷歌云实例 - using sftp (filezilla) to connect to google cloud instance 无法在 Google Cloud Bucket 中创建文件 - Cannot Create File in a Google Cloud Bucket 如何设置密码以便我可以连接到 Google Cloud 实例上的 FTP - How to set password so i can connect to FTP on a Google Cloud Instance 将数据集从PC上传到Google Cloud Platform上的虚拟机实例的最佳方法 - Best way to upload dataset from my PC to Virtual Machine instance on Google Cloud Platform 如何在谷歌云上设置 vm 实例但使用我的首选用户名而不是 name_domain_com 或默认情况下的任何内容? - How can I set up a vm instance on google cloud but use my preferred username rather than name_domain_com or whatever goes there by default? 如何利用Google Cloud VM实例中的所有磁盘空间? - How to avail all of the disk space in Google Cloud VM Instance? Google Cloud 上的 Tensorflow 问题 - Tensorflow issue on Google Cloud 我需要在谷歌云平台上使用containerd吗? - do I need to use containerd on google cloud platform? 谷歌云错误地重新安装了nginx,我该如何还原它 - google cloud reinstalled nginx by mistake how i can revert it back
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM