Skip to main content
Presentation

Deploying Scalable Java Apps to Azure Using HashiCorp Packer and Terraform

The third video in a series with Microsoft showing how to use HashiCorp tools with Azure.

In this quick tutorial video, Zachary & Brian from Microsoft Azure will show you how use HashiCorp Packer & Terraform to deploy a Java app using Spring Boot and Thymeleaf to Azure. You'll learn how to deploy this kind of application to VM Scale Sets and utilize AzureDB for MySQL as your backend MySQL database, allowing you to easily scale out the application.

Agenda

0:52 - Using the Azure Spring Boot starts at start.spring.io
1:44 - Creating AzureDB for MySQL using Terraform
2:42 - Connect your Java app to your AzureDB for MySQL database
3:35 - Building your package with Maven
4:40 - Deploying a Java app to VM Scale Sets using HashiCorp Packer & Terraform
7:10 - Using VM Scale Sets to automatically scale out your app

Additional Resources

Azure Terraform Hub
Terraform on Azure Documentation
Terraform on Azure
Sample To Do List web application using Spring Boot and MySQL

More resources like this one

  • 2/3/2023
  • Case Study

Automating Multi-Cloud, Multi-Region Vault for Teams and Landing Zones

zero-trust
  • 12/13/2022
  • White Paper

A Field Guide to Zero Trust Security in the Public Sector

  • 12/5/2022
  • Case Study

Enabling infrastructure as code at LinkedIn

  • 11/30/2022
  • Case Study

How Weyerhaeuser automates secrets with Vault and Terraform