I'm creating resources on Azure using an ARM template. I have three web apps to deploy. Normally i can deploy them separately using VSTS which is slow. So is there a way to deploy a project on VSTS using an ARM template?
0
votes
2 Answers
0
votes
You can deploy a template that uses web deploy to also deploy a web app - you can deploy to slots or deploy to an existing web app (not defined in your ARM template). This sample has an MSDeploy extension that does the work.
https://github.com/Azure/azure-quickstart-templates/tree/master/201-web-app-blob-connection
You can also go this route:
https://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-get-started/
Both can be done via VSTS...
0
votes
You would need to export ARM template from your azure RM portal.
Make sure
- you have single resource group where all these apps have been deployed (since you want to deploy them together).
- Export the resource management template and attach to your VSTS project as resource.
- Add a new release task in your VSTS as Azure Resource Group Deployment.
- Add connection details to your resource group.
- Specify the previously exported template
- Configure the parameters (or use variables).
you should be able to use VSTS build and release management to deploy ARM resources.