Azure Resource Group Sharing

£可爱£侵袭症+ 提交于 2021-02-11 17:00:02

问题


I was wondering if someone could help. Is it possible to share resource groups between azure subscriptions;

A little bit of background, I have two subscriptions in azure under one tenant, I am after setting up a VPN between each of the subscriptions, however I am yet to find a solution that doesn't involve sharing a resource group to allow connections.

With this in mind, is it possible to share resource groups between subscriptions or does it have to be in the same subscription?

If this is the case, how would I go about setting up a VPN between subscriptions.


回答1:


Resource groups have nothing to do with using or connecting services. They're just an organizational (and security) boundary for viewing/configuring/changing resource settings, deleting resources, etc. Resource Groups are specific to a given subscription.

There's absolutely nothing stopping you from connecting services across subscriptions, as long as you know the passwords/access tokens/certificates/etc.




回答2:


No, you cannot share resource groups across subscriptions (not that it makes sense in the first place). You can either create a site-to-site VPN or (better) create a peering between virtual networks across the subscriptions.

Peerings are free, easy to setup and don't require any management. Peerings work cross subscriptions and cross tenants (as of november 2019 afaik).



来源:https://stackoverflow.com/questions/60006774/azure-resource-group-sharing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!