Deploy to Azure

Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019 | TFS 2018

Azure Pipelines combines continuous integration (CI) and continuous delivery (CD) to test and build your code and ship it to any target. While you don't have to use Azure services with Pipelines, Pipelines can help you take advantage of Azure. You can use Pipelines to integrate your CI/CD process with most Azure services.

To learn more about selecting an Azure service for hosting your application code, see Choose an Azure compute service for your application.

If you're just getting started, we recommend you review and get started with the following resources.

Azure service

Integration points

Start using Azure Pipelines to automate the setup of a CI/CD of your application to Azure. Choose where to deploy your application such as Virtual Machines, Azure App Service, Azure Kubernetes Services (AKS), Azure SQL Database, or Azure Service Fabric.
To learn more, see Overview of DevOps Starter.

The Azure portal is a web-based, unified console from which you can build, manage, and monitor everything from simple web apps to complex cloud deployments. Also, you can create custom dashboards for an organized view of resources and configure accessibility options. If you have an Azure DevOps Services organization, you have access to the Azure portal.
Sign in to your Azure portal.

Use end-to-end solutions on Azure to implement DevOps practices throughout application planning, development, delivery, and operations. Apply the right combination of DevOps technologies, culture, and processes to enable continual software delivery and better value for customers. Get started with the following Learn modules:

Follow the links provided in the following table to learn more about the Azure services that support continuous integration (CI) and continuous delivery (CD) using Azure Pipelines. For a complete list of Azure Pipelines tasks, see Build and release tasks.

Azure service

Integration points

An HTTP-based service for hosting web applications, REST APIs, and mobile back ends; the Azure App Service employs Azure Pipelines to deliver CI/CD. To learn more, see:

Service to centrally manage application settings and feature flags. To learn more, see the following articles:

Store and access unstructured data at scale using Azure Pipelines and Azure Blob Storage.

Use Azure Static Web Apps to automatically build and deploy a full stack web app to Azure from a code repository.

Build, store, secure, scan, replicate, and manage container images and artifacts. For example, build and publish a private Docker registry service. To learn more, see Build and push Docker images to Azure Container Registry.

Use Azure Pipelines to deploy to Azure SQL Database, Azure Database for MySQL, or Azure Cosmos DB. To learn more, see the following articles:

Configure a pipeline to integrate with a fully managed, serverless data integration service and unlock insights from all your data. Create an Azure Pipeline that builds and deploys a machine learning model as a web service and to automate the machine learning lifecycle. To learn more, see the following resources:

Quickly provision development and test stages using reusable templates.

Provides a fully managed Platform as a service (PaaS) to implement serverless architecture. To learn more, see:

Use Azure Pipelines to set up CI/CD of your web app running in Azure Government.To learn more, see Deploy an app in Azure Government with Azure Pipelines.

Use Azure Pipelines to managed services built on Azure IoT Hub. To learn more, see Continuous integration and continuous deployment to Azure IoT Edge devices and Create a CI/CD pipeline for IoT Edge with Azure DevOps Starter.

Use Azure Pipelines to managed services for storing secret data. To learn more, see Use Azure Key Vault secrets in Azure Pipelines and Azure Key Vault task.

Deploy and manage containerized applications with a fully managed Kubernetes service. To learn more, see Build and deploy to Azure Kubernetes Service.

Configure alerts on available metrics for an Azure resource. Observe the configured Azure monitor rules for active alerts in a release pipeline. Define pre or post-deployment gates based on Query Azure Monitor Alerts. For details, see the following articles:

Manage and prevent IT issues by using policy definitions that enforce rules and effects for your resources. To learn how, see Check policy compliance with gates.

Use ARM templates to define the infrastructure and dependencies and streamline authentication to deploy your app using Azure Pipelines. Specifically, you can:

  • Create an Azure Resource Manager service connection using automated security
  • Create an Azure Resource Manager service connection with an existing service principal
  • Create an Azure Resource Manager service connection to a VM with a managed service identity
  • Connect to an Azure Government Cloud
  • Connect to Azure Stack
    To learn more, see Connect to Microsoft Azure.

In a release pipeline, send a message to an Azure Service Bus using a service connection. To learn more, see Publish To Azure Service Bus task and Manage service connections, Azure Service Bus service connection.

Distributed systems platform that can run in many environments, including Azure or on-premises. To learn more, see the following articles: Tutorial: Deploy an application with CI/CD to a Service Fabric cluster and Service Fabric Application Deployment task.

Build, deploy, and run hybrid and edge computing apps consistently across your ecosystems. To learn more, see Deploy to Azure Stack Hub App Service using Azure Pipelines.

Use publish profile to deploy Azure WebApps for Windows from the Deployment Center. To learn more, see the following articles: