Setting up Continuous Delivery with Azure DevOps directly from Azure VMs

Setting up Continuous Delivery with Azure DevOps directly from Azure VMs

You can set up the Continuous Delivery with Azure DevOps directly from Azure VMs. Azure DevOps provides us a robust mechanism for Continuous Integration and Continuous Delivery. Previously I have shared several posts on how to set up automated build and releases using Azure DevOps. Most of the time the deployment was done with Azure PaaS services such as Azure App Services, or Azure Function, etc. Azure DevOps also simplifies the setting up a deployment for Azure VMs where you wanted to have your code hosted as an IaaS environment.

Setting up Continuous Delivery with Azure DevOps directly from Azure VMs

To set up the Continuous delivery with Azure VMs, either you can configure it from Azure DevOps Release Pipeline and deploy it on Azure VMs. Alternatively, you can configure it directly from Azure VMs.

Must Read : 10 Azure DevOps Tips & Tricks that you should know

Consider you want to deploy an application directly on Azure VM, and you have build pipeline and release pipeline created. Now, open the Azure VMs, and navigate to “Continuous Delivery” available under “Settings

Once you select the “Continuous Delivery” you will find an option to configure the CD pipeline that deploys into the VM. You need to select the Azure DevOps Project and build pipeline details.

Once all the details provided, it will start connecting with Azure DevOps Project and initiate release.

Let us dig into the release pipeline in Azure DevOps Project. You can check details on the deployment pipeline, where you will find the release pipeline created on the Azure DevOps that is triggering the deployment.

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.