【问题标题】:can we use exported images in google cloud to create a instance from that image outside google cloud我们可以在谷歌云中使用导出的图像从谷歌云之外的图像创建一个实例吗
【发布时间】:2018-08-24 05:00:40
【问题描述】:

假设我有一个运行 ubuntu 16.04 操作系统的 vm 现在我已经创建了这个 vm 的图像并且我已经从谷歌云存储中导出了这个图像 使用 google cloud cli 中的以下命令

        gcloud compute images export --destination-uri gs://my-bucket/my-image.tar.gz \
--image my-image --project my-project

问题1

现在假设我们正在从谷歌云迁移到我们可以使用的任何其他云服务提供商 此图像 (my-image.tar.gz) 使用此图像创建实例,或者此图像只能在 google cloud 中使用(即此图像可用于在 google 中启动实例(VM'S)云不在谷歌云之外)?

【问题讨论】:

    标签: ubuntu google-cloud-platform operating-system google-cloud-storage ubuntu-16.04


    【解决方案1】:

    是的,我认为可以在其他云服务上使用 GCP 自定义映像创建 VM。以 AWS 为 example,文档说:

    VM Import/Export enables you to easily import virtual machine images 
    from your existing environment to Amazon EC2 instances
    

    【讨论】:

      【解决方案2】:

      是的,可以在其他云服务上使用 GCE 的图像,但是请记住,在大多数情况下,每个云服务都有自己的规范或限制,以使用自定义/外部图像。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2018-03-31
        • 1970-01-01
        • 1970-01-01
        • 2019-07-28
        • 2016-01-13
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多