Azure DevTest Labs: Streamlined nested support for Resource Manager template deployment

2017년 5월 24일 수요일

Azure DevTest Labs now makes it much easier for you to provision multiple-VM or PaaS environments from Azure Resource Manager templates, even with nested templates. 

You can use a nested deployment to execute other Resource Manager templates from within a main Resource Manager template. You can decompose your deployment into a set of targeted, purpose-specific templates for easier testing, reuse, and readability. 

The templateLink property used in the main Resource Manager template that points to nested templates requires an absolute URI, which needs to be publicly accessible by Azure. When your templates are in a private repository, a common solution is to copy those nested templates and store them temporarily in an Azure storage account, and then update the templateLink property with the storage account's URI and SAS token. If you have multiple testing stages/environments, the work becomes more challenging. 

DevTest Labs solves this problem for you through the parameters _artifactsLocation and _artifactsLocationSasToken. As long as you use these two parameters to construct the parametersLink URI value, DevTest Labs will automatically manage the nested templates in your lab's storage and inject the correct values to these parameters without you taking any extra action. For more details how to construct the parametersLink URI by using these parameters, check out the blog post How Azure DevTest Labs makes nested ARM template deployments easier for testing environments.

For more information on how to use Resource Manager templates in DevTest Labs to create multiple-VM or PaaS environments, see the article Create multi-VM environments and PaaS resources with Azure Resource Manager templates.

무료 계정

Azure 크레딧 $200개 및 12개월의 인기 서비스를 무료로 받아보세요.

체험하기

Visual Studio

최대 $1800 연간 Azure 서비스를 구독자에게 제공

지금 활성화

시작

BizSpark 프로그램에 가입하고 무료 Azure 서비스를 이용하세요

자세한 정보