如何与其他订阅共享VM映像? [英] How can I share a VM image with other subscriptions?

查看:75
本文介绍了如何与其他订阅共享VM映像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个VM映像,其他人可以使用该映像在自己的订阅中创建VM.

我查看了有关VM和映像的Azure文档.我可以找到有关如何创建映像以及如何从映像创建VM的信息.但是我找不到关于是否可以通过任何方式使我的VM供其他人使用的任何可靠信息. 自己的订阅.正式的Microsoft Azure文档从未说过是否可以做到这一点.一些非官方消息人士似乎说,我需要将图片放入容器中,并将其公开,人们可以将其复制到自己的 自己的订阅.

有人可以告诉我第一段中的目标是否可行,如果可以,我该怎么做?

解决方案

嗨RikkiAbe,

共享图像是一种预览功能.

问如何在订阅之间共享图像?
答:您可以使用基于角色的访问控制(RBAC)在订阅之间共享图像.任何拥有映像版本读取权限的用户,即使是跨订阅的用户,也都可以使用该映像版本来部署虚拟机.

https://docs.microsoft.com/zh-CN /azure/virtual-machines/windows/shared-image-galleries



I need to create a VM image that can be used by other people to create VMs in their own subscriptions.

I've looked at the Azure documentation for VMs and images. I can find info on how to create images and about how to create VMs from an image. But I cannot find any reliable information on whether there's any way to make my VM available to other people with their own subscriptions. The official Microsoft Azure documentation doesn't ever say whether or not this can be done. Some unofficial sources seem to say that I need to put the image in a Container and make the Container public, and people can copy it to their own subscription.

Can anyone tell me whether my goal in the first paragraph is possible, and if so how do I do it?

解决方案

Hi RikkiAbe, 

Shared Images is a preview feature. 

Q. How do I share my images across subscriptions?
A. You can share images across subscriptions using Role Based Access Control (RBAC). Any user that has read permissions to an image version, even across subscriptions, will be able to deploy a Virtual Machine using the image version.

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/shared-image-galleries



这篇关于如何与其他订阅共享VM映像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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