Site icon TechGit

Deploy an Azure Application Using Visual Studio Team Services

 

HP Teaming with 3M to Combat "Visual Hacking"

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).

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.

Upload an ARM Template to VSTS

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)

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.

Deploy ARM Template

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.

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)

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)

Set or Override Parameter Values (Image Credit: Russell Smith)

Deploy the ARM template to Azure (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.

The post Deploy an Azure Application Using Visual Studio Team Services appeared first on Petri.

FacebookTwitterTumblrRedditLinkedInHacker NewsDiggBufferGoogle ClassroomThreadsXINGShare
Exit mobile version