Summary

Completed

Congratulations! You've containerized and deployed a Java app to Azure Kubernetes Service.

You wanted to learn how to containerize and deploy a Java app to Azure. You followed these steps:

  1. Containerize a Java app

  2. Build a container image for the Java app

  3. Run the container image locally

  4. Push the container image to Azure Container Registry

  5. Deploy the container image to Azure Kubernetes Service

You're now confident that you can containerize and deploy a Java app to Azure.

Enable diagnostic logging

Learn how Azure provides built-in diagnostics to help with debugging.

Clean up resources

In this module, you created Azure resources in a resource group. If you won't need these resources later, delete the resource group from the Azure portal or run the following command in Azure Cloud Shell:

az group delete --name $AZ_RESOURCE_GROUP --yes

This command might take a minute to run.

Important

Deprovision the Azure resources you used in this module to avoid unwanted charges.

Additional resources

Learn more about Docker.

Learn more about Azure Container Registry.

Learn more about Azure Kubernetes Service.