This sample project is used in the Deploy a Spring Boot application on AKS cluster with MySQL Flexible Server in a VNet Microsoft documentation tutorial.
- An Azure subscription. If you don't have an Azure subscription, create an Azure free account before you begin. With an Azure free account, you can now try Azure Database for MySQL - Flexible Server for free for 12 months. For more details, see Try Flexible Server for free.
- The Azure Command-Line Interface (CLI).
- A supported Java Development Kit, version 8 (included in Azure Cloud Shell).
- The Apache Maven build tool.
- A Git client.
- A Docker client.
Download the project, change directory to springboot-mysql-aks
folder and follow the steps outlined in this tutorial :
- Create an Azure Database for MySQL - Flexible Server
- Create an Azure Container Registry
- Build the image and push to ACR
- Create a Kubernetes cluster on AKS
- Deploy the application to AKS cluster
- Test the application
- Clean up resources