Containerize and Deploy Java Applications

Ayan Gupta demonstrates how the GitHub Copilot app modernization extension containerizes a Java 21 application with Docker, validates it locally, and then provisions Azure infrastructure and deploys to Azure Container Apps using built-in tasks and an agent-driven workflow.

Overview

This episode shows an end-to-end workflow for taking an upgraded Java application (Java 21), containerizing it, testing it locally, and deploying it to Azure.

Containerize the Java app with Copilot tasks

Agent-driven workflow pattern

Copilot follows a consistent execution pattern:

The video highlights how to:

Validate locally before deploying

Provision Azure infrastructure and deploy

Deployment plan artifacts

Copilot generates supporting artifacts as part of the deployment plan, including: