
close
close
In today’s Ask the Admin, I will walk you through deploying an app in Azure using an Azure Resource Manager (ARM) template and Visual Studio Team Services (VSTS).
advertisment
If you have been following my series of articles on VSTS, you will know that it can be useful for sysadmins who are working with DevOps teams that deploy apps to Microsoft Azure. For more information on VSTS, see What Is Visual Studio Team Services? on the Petri IT Knowledgebase.
The instructions that follow show you how to upload an ARM template to VSTS. It can be your own or one downloaded from the Azure quickstart templates gallery hosted on GitHub. You will deploy the template to Azure without leaving VSTS.
advertisment
The first step is to get an ARM template into VSTS. You might have created a template already from scratch or you can upload an existing template. This is what I will show you how to do below:
For more information on branches, see GitHub For Windows — Branches, Pull Requests, and Conflicts on Petri.
Upload ARM Template Files to Visual Studio Team Services (Image Credit: Russell Smith)
You can either deploy the template as is or edit it in VSTS or Visual Studio.
The next step is to deploy the template to Azure. Before you can deploy a template to Azure, you will need to establish a connection between VSTS and Azure. For more information on connecting VSTS to Azure, see Connect Visual Studio Team Services to Azure Using a Service Principal Name on Petri.
advertisment
Once you have made a connection to Azure, deploy the template. Note that VSTS users deploying templates must be a member of the Build Administrators group in VSTS.
Prepare to Deploy a Template in Visual Studio Team Service to Azure (Image Credit: Russell Smith)
Set or Override Parameter Values (Image Credit: Russell Smith)
Deploy the ARM Template to Azure (Image Credit: Russell Smith)
The Build window will appear in VSTS and with a few minutes, the build process should start.
Once the build process has completed, you will find the app deployed to the specified resource group in your Azure tenant.
More from Russell Smith
advertisment
Petri Newsletters
Whether it’s Security or Cloud Computing, we have the know-how for you. Sign up for our newsletters here.
advertisment
More in Visual Studio
Microsoft Releases .NET 7 Preview 1 with Cloud-Native and Container Improvements
Feb 24, 2022 | Rabia Noureen
Most popular on petri
Log in to save content to your profile.
Article saved!
Access saved content from your profile page. View Saved
Join The Conversation
Create a free account today to participate in forum conversations, comment on posts and more.
Copyright ©2019 BWW Media Group