AI Instructor Live Labs Included

Java on Azure

Migrate a Spring Boot Customer Portal to Azure: App Service, Container Apps, Key Vault, PostgreSQL, Service Bus, and Application Insights. Seven labs, real Azure resources.

Advanced
20h 35m
14 Lessons
SMU-JAVA-AZURE
Java on Azure Badge

View badge details

About This Course

Build and deploy a production-grade Spring Boot application to Azure using real cloud infrastructure. You play the role of a cloud engineer at Meridian Financial, migrating the Customer Portal from on-premises to Azure-native services. Across 7 hands-on lab sessions, you deploy to Azure App Service, containerize with Docker and push to Azure Container Registry, run on Azure Container Apps, store secrets in Azure Key Vault with Managed Identity, replace H2 with Azure PostgreSQL Flexible Server using Flyway migrations, decouple notifications with Azure Service Bus, and instrument the application with Application Insights for distributed tracing and alerting. Every lab provisions real Azure resources in a dedicated subscription.

Course Curriculum

14 Lessons
01
AI Lesson
AI Lesson

Azure for Java Developers

1h 0m

Learn Azure regions and availability zones, the Azure resource hierarchy (subscription → resource group → resource), Azure CLI basics, Java-specific Azure services (App Service, Container Apps, Azure Spring Apps, AKS), Managed Identity, and the Azure Maven plugin. This lesson introduces the Azure environment where the Meridian Financial Customer Portal will be deployed.

02
Lab Exercise
Lab Exercise

App Service Deployment - Lab Exercises

3h 15m 6 Exercises

Configure the Azure Webapp Maven Plugin with the lab subscription ID, deploy the Meridian Customer Portal to Azure App Service, set the Java 21 runtime, configure environment variables, and verify the live deployment responds correctly.

Log In and Configure the Azure Environment ~25 min
Update pom.xml with Your Subscription ID and Deploy to App Service ~25 min
Verify the Deployed App Service and Configure Environment Variables ~25 min
Test the Customer API and Confirm JSON Response ~25 min
Set the SPRING_PROFILES_ACTIVE App Setting via Azure CLI ~25 min
Verify the Full Deployment with Live Azure App Service URL ~25 min
03
AI Lesson
AI Lesson

Azure Container Apps with Spring Boot

1h 0m

Learn containers vs PaaS, Azure Container Registry (ACR), Azure Container Apps (ACA) architecture including environments, apps, and revisions, az containerapp CLI commands, traffic splitting for blue/green deployments, and when to use ACA vs App Service vs AKS.

04
Lab Exercise
Lab Exercise

Container Apps - Lab Exercises

2h 25m 4 Exercises

Complete the Meridian Portal Dockerfile, build and push to Azure Container Registry, create a Container Apps environment, deploy the containerized Spring Boot app, and verify it responds at the public FQDN.

Complete the Multi-Stage Dockerfile for the Meridian Portal ~25 min
Create Azure Container Registry and Build the Docker Image ~25 min
Create Container Apps Environment and Deploy the Meridian Portal ~25 min
Retrieve the FQDN and Verify the Containerized App Responds ~25 min
05
AI Lesson
AI Lesson

Azure Key Vault & Secrets Management

1h 0m

Learn why secrets must not be in source code, Azure Key Vault secrets vs keys vs certificates, Managed Identity assignment to Container Apps, spring-cloud-azure-starter-keyvault-secrets auto-configuration, @Value binding from Key Vault, and secret rotation strategies.

06
Lab Exercise
Lab Exercise

Key Vault - Lab Exercises

2h 25m 4 Exercises

Create Azure Key Vault, store database and app secrets, enable Managed Identity on the Container App, grant Key Vault Secrets User role, add the Spring Cloud Azure Key Vault starter, and remove all plaintext secrets from configuration files.

Create Azure Key Vault and Store Application Secrets ~25 min
Enable Managed Identity and Grant Key Vault Secrets User Role ~25 min
Add Spring Cloud Azure Key Vault Starter and Configure application-azure.yml ~25 min
Remove Plaintext Secrets and Verify Key Vault Integration ~25 min
07
AI Lesson
AI Lesson

Azure Database for PostgreSQL Flexible Server

1h 0m

Learn Azure PostgreSQL Flexible Server vs Single Server, provisioning with Azure CLI, firewall rules vs VNet integration, Spring Boot datasource configuration for PostgreSQL, Flyway database migrations for production schema management, and connection pooling with PgBouncer.

08
Lab Exercise
Lab Exercise

PostgreSQL - Lab Exercises

1h 30m 7 Exercises

Hands-on exercises provisioning Azure Database for PostgreSQL Flexible Server, configuring Spring Boot with Flyway migrations, and deploying the Meridian Financial application with a managed PostgreSQL backend.

Provision Azure PostgreSQL Flexible Server ~15 min
Create the Customers Database ~10 min
Store the Database Password in Key Vault ~10 min
Update application-azure.yml with the PostgreSQL Connection ~10 min
Add PostgreSQL Driver and Flyway Dependencies ~10 min
Write the Flyway Migration Script ~10 min
Redeploy and Verify PostgreSQL Integration ~15 min
09
AI Lesson
AI Lesson

Azure Service Bus & Async Messaging

45m

AI-guided lesson on Azure Service Bus queues vs topics, the azure-messaging-servicebus SDK, ServiceBusSenderClient and ServiceBusProcessorClient, dead-letter queues, at-least-once delivery, and replacing synchronous notification calls with async messaging.

10
Lab Exercise
Lab Exercise

Service Bus - Lab Exercises

1h 30m 6 Exercises

Hands-on exercises creating an Azure Service Bus namespace and queue, implementing ServiceBusSenderClient in CustomerService, writing a Flyway migration for the notification log table, and verifying messages are published on customer creation.

Create Azure Service Bus Namespace and Queue ~15 min
Store the Service Bus Connection String in Key Vault ~10 min
Add the azure-messaging-servicebus Dependency ~10 min
Configure the ServiceBusSenderClient Bean ~15 min
Publish CustomerCreatedEvent Messages from CustomerService ~20 min
Redeploy and Verify Messages in Service Bus ~20 min
11
AI Lesson
AI Lesson

Monitoring with Application Insights

45m

AI-guided lesson on Azure Monitor vs Application Insights, auto-instrumentation vs manual SDK, TelemetryClient, custom events and metrics, distributed tracing with correlation IDs, live metrics stream, and creating alert rules via Azure CLI.

12
Lab Exercise
Lab Exercise

Application Insights - Lab Exercises

1h 30m 6 Exercises

Hands-on exercises provisioning Application Insights, adding the Spring Boot starter, implementing TelemetryClient custom events, configuring alert rules, and querying telemetry with KQL in the Meridian Financial Customer Portal.

Create Azure Application Insights Resource ~10 min
Store the Connection String in Key Vault ~10 min
Add Application Insights Spring Boot Starter ~10 min
Implement TelemetryClient Custom Events ~20 min
Redeploy and Verify Custom Events in Application Insights ~15 min
Write KQL Queries and Create an Alert Rule ~15 min
13
AI Lesson
AI Lesson

Capstone Briefing

30m

AI-guided capstone briefing reviewing the full Meridian Financial cloud migration journey (App Service, Container Apps, Key Vault, PostgreSQL, Service Bus, Application Insights) and introducing the capstone: implement the Service Bus consumer that processes CustomerCreatedEvent messages and writes to the notification_log table.

14
Lab Exercise
Lab Exercise

Capstone: Meridian Financial Service Bus Consumer

2h 0m 7 Exercises

Capstone project: implement the ServiceBusProcessorClient consumer to process CustomerCreatedEvent messages, write a Flyway migration for the notification_log table, verify end-to-end flow from HTTP POST through PostgreSQL and Service Bus to notification_log, and confirm telemetry in Application Insights.

Write the Flyway Migration for notification_log ~15 min
Create NotificationLog Entity and Repository ~15 min
Implement the NotificationProcessor Message Handler ~25 min
Wire the ServiceBusProcessorClient and Start It ~20 min
Implement the Admin Notification Log Endpoint ~15 min
Redeploy and Verify End-to-End Flow ~20 min
Add TelemetryClient Tracking and Verify in Application Insights ~15 min

This course includes:

  • 24/7 AI Instructor Support
  • Live Lab Environments
  • 7 Hands-on Lessons
  • 6 Months Access
  • Completion Badge
  • Certificate of Completion
Java on Azure Badge

Earn Your Badge

Complete all lessons to unlock the Java on Azure achievement badge.

Category
Skill Level Advanced
Total Duration 20h 35m
Java on Azure Badge
Achievement Badge

Java on Azure

Awarded for completing the Java on Azure course, demonstrating proficiency in deploying and managing Java Spring Boot applications on Azure using App Service, Container Apps, and managed services.

Course Java on Azure
Criteria Complete all lessons and pass assessments in the Java on Azure course.
Valid For 730 days

Skills You'll Earn

Azure App Service Azure Container Apps Azure Key Vault Azure Database for PostgreSQL Azure Service Bus CI/CD with GitHub Actions

Complete all lessons in this course to earn this badge