What is the best practice now for deploying a Spring Boot App on Azure?

Yishen Yang 20 Reputation points
2023-10-01T06:38:27.8133333+00:00

Hi, I am new in Azure.

I am learning and practicing how to deploy my application onto Azure, but there are so many services in it and caused me confused.

For example, if I have a management system for a small company, Spring Boot 3 app as backend, and a React SPA as frontend. The database I use MySQL, what is the current best practice now?

I know how to develop locally, but I don't know much about how to deploy to production evironement.

I would like to use Docker(configured CI/CD with GitHub Action) to containerize the Spring Boot application and React SPA application separately, and then deploy them to Azure separately, using Azure Database for MySQL as the database.

Since it is a small application, I should not need to use Azure Kubernetes Service (AKS). But I'm not sure if I should use Azure Spring Apps, Azure Web App to deploy with containers, or Azure Container Instance to deploy my frontend and backend.

I would like to know what the current best practice is.If any of you could advise me, I will be very very appreciated.

Thank you very very much :)

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
649 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,883 questions
Azure Spring Apps
Azure Spring Apps
An Azure platform as a service for running Spring Boot applications at cloud scale. Previously known as Azure Spring Cloud.
111 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,984 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
776 questions
0 comments No comments
{count} votes

Accepted answer
  1. AirGordon 7,105 Reputation points
    2023-10-01T12:23:33.7266667+00:00

    The Compute Decision Tree will take you down the route of Azure Spring Apps. Azure Spring Apps itself is running on top of AKS, and will be an appropriate level of abstraction for you.

    ASA supports spring apps natively hosted or with containers.
    It also supports Service Connectors for simplified database connectivity.

    This tutorial is a great place to get started; https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/deploy-passwordless-spring-database-app?tabs=mysql

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful