简体   繁体   中英

Why Azure mandates to create a new or empty resource group when we deploy a VM using a solution template published in Market place?

When a vm deployment solution is published in Azure Market place. The deployment always mandates to select an empty resource group or select a new resource group as 1st step.

Why it is necessary? Is there a way we can carry out the deployment in existing resource group? enter image description here

AFAIK this is because you are trying to create some resource(s) that Azure thinks need to be created in empty resource group.

By default, Azure do not support to deploy managed application to resource group with resources.

There are a few resources that require to be deployed to a empty RG. For example https://docs.microsoft.com/en-us/azure/machine-learning/data-science-virtual-machine/provision-geo-ai-dsvm

The reason should be because some of the resources might overlap with existing ones. Such as address spaces, etc.

To see if there is a way we can carry out the deployment in existing resource group for your resource, I suggest to try using Powershell \\ CLI \\ RestAPI, etc.

Hope this helps!!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM