Introduction

Completed

Azure and Azure DevOps support developing almost any kind of application, including Java. With Azure DevOps, you can build and deploy a Java application to an Azure virtual machine, app service, serverless solution, or container, to another cloud, or on-premises.

In this module, you create an automated pipeline that deploys a Java application in a Docker container to Azure App Service. You begin a Java project in GitHub and set up a continuous integration/continuous deployment (CI/CD) flow through Azure Pipelines to build, publish, and deploy to Azure.

This module focuses on the core tasks to build and deploy the example app, but Java applications can use all the same Azure Pipelines features as other apps. You can integrate testing, define multiple stages, and do the same tasks as for your existing apps. This module omits those features to focus on the learning path.

Learning objectives

  • Understand how Azure and Azure DevOps support Java applications.
  • Use a project in GitHub that builds and deploys a containerized Java web app.
  • Create an automated Azure Pipelines CI/CD pipeline that builds and deploys your containerized app to App Service.

Prerequisites

To complete this module, you need the following prerequisites:

  • A GitHub account.
  • Access to an Azure subscription with Owner role. If you don't have one, get an Azure account for free.
  • An Azure DevOps organization with Project Collection Administrators group membership or collection-level Create new projects permission. Organization owners are automatically members of the Project Collection Administrators group. If you don't have an Azure DevOps organization, create one.

The module is self-contained so you can complete it on its own, but assumes some familiarity with the following technologies:

  • Java language and programming
  • Azure deployment environments like App Service
  • Azure DevOps components and processes

If you're new to Azure DevOps, see the following learning path series for guidance:

In the next unit, you set up your GitHub repo and Azure resources for this module.