Skip to main content
  1. Posts/

ARM - Part 3: Hook up the Pipes

·211 words·1 min
Chris Ayers
Author
Chris Ayers
I am a father, nerd, gamer, and speaker.

I’ve got a template straight from Microsoft. I want this wired into a CI/CD pipeline to I can play around and get quick feedback. I’m going to use Azure DevOps to help make all this possible. Let’s get those templates into a repository to get started. New repository, initialize it, add new files.

Next, I’m going to create a new resource group to play around with my web app resources.

Now we need to make sure DevOps has permission to create and update resources in Azure. This can be done in a few different ways as described here: https://docs.microsoft.com/en-us/azure/devops/pipelines/library/connect-to-azure?view=azure-devops.

I’m going to setup a service connection from DevOps to Azure. In Azure Devops, I’m going to go to my project settings:

And go to Service Connections:

We’ll create a new Azure Resource Manager service connection.

We just need to pick the right Subscription, Sign in, and point it at our resource group. There are more complex setups, and we’ll get into those in the future, but for now we’ll just point it at that resource group I created earlier. Now for this to work properly, you have to be able to grant rights to the connector.

Now we’ve got a connector to deploy to Azure. We’ll finish this up next time.

Related

ARM - Part 2: Azure Quickstart Templates

·528 words·3 mins
Time to Dive in # I’m one of those guys that likes to learn by doing. Reading the documentation is great, and I do that a lot. But for me to really grok something, I need to play with it, run it, and probably blow it up. If you missed part 1, read along and come back. I need a WebApp setup for my sample project. I realized I can do it a few ways. Some of the ways are very manual, some are repeatable, but one stood out to me.

ARM - Part 1: Azure Resource Manager

The Journey Begins # I’ve been an azure developer for years. Originally I worked with “Classic Mode” and Cloud Services. Then I moved to ARM and Web Apps. Lately I’ve been doing DevOps but I only recently started working with ARM Termplates. First, let’s dive into a little history. History # Azure has grown and changed since it was first introduced. Originally, it was a research project called, “Project Red Dog”. Azure has been commercially available since 2010. For four years, there was a limited way to interact with Azure, ASM the Azure Service Manager.