Containerize and deploy a Java app to Azure

Intermediate
Developer
Azure
Azure Container Registry
Azure Kubernetes Service (AKS)

Containerize a Java app, push the container image to Azure Container Registry, and then deploy to Azure Kubernetes Service.

Learning objectives

By the end of this module, you'll be able to:

  • Containerize a Java app.
  • Build a container image for the Java app.
  • Run the container image locally.
  • Push the container image to Azure Container Registry.
  • Deploy the container image to Azure Kubernetes Service.

Prerequisites

  • An Azure subscription with permission to create, update, and delete the exercise resources, plus permission to assign the AKS kubelet's pull role at the container registry scope.
  • A local Bash environment with Git and the latest supported Azure CLI installed and available.
  • Docker Desktop configured to run Linux containers, or Docker Engine on Linux, with the Docker CLI able to reach the running daemon from that Bash environment.

Get started with Azure

Choose the Azure account that's right for you. Pay as you go or try Azure free for up to 30 days. Sign up.