Deployment of spring boot rest API application on azure

AnilYadav-2387 20 Reputation points
2023-08-09T18:20:44.7533333+00:00

We want to deploy our spring boot rest API application on azure but we are confuse between azure app service and azure spring app. Could you please help us to decide between app service and spring apps for our deployment. Also, can we deploy spring boot rest API application on azure from visual studio code ? If yes then can you please provide documents for the same.

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.
124 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,758 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,426 Reputation points
    2023-08-10T04:45:35.96+00:00

    @AnilYadav-2387 Thanks for reaching out.

    Azure App Service and Azure Spring Apps are both great options for deploying Spring Boot applications to Azure.

    However, there are some differences between the two services that may help you decide which one to use.

    Azure App Service is a fully managed platform for building, deploying, and scaling web apps. It supports a wide range of programming languages and frameworks, including Java and Spring Boot. With Azure App Service, you can deploy your Spring Boot application as a web app and take advantage of features such as automatic scaling, continuous deployment, and integration with other Azure services.

    Azure Spring Apps, on the other hand, is a fully managed service specifically designed for Spring Boot applications. It provides lifecycle management using comprehensive monitoring and diagnostics, configuration management, service discovery, CI/CD integration, blue-green deployments, and more. Azure Spring Apps is a great option if you want to focus on your code and let Azure manage the infrastructure of your Spring Boot application.

    Regarding your second question, yes, you can deploy your Spring Boot REST API application to Azure from Visual Studio Code. You can use the Azure Tools extension for Visual Studio Code to create and deploy your application. Here is a link to the documentation that explains how to do this.

    I hope this helps you make a decision on which service to use for your deployment. Feel free to get back to me know if you have any further questions!

    Please "Accept Answer" if the answer is helpful so that it can help others in the community.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vahid Ghafarpour 21,240 Reputation points
    2023-08-09T18:41:52.6066667+00:00

    Azure Spring Apps is a fully managed service for Spring developers that handles the infrastructure of Spring applications so you can focus on your code. It is an ideal option if you want to run Spring Boot, Spring Cloud, or any other Spring applications on Azure. Azure App Service is a generic hosting service for web applications, including websites and web APIs. It offers more flexibility and control over the configuration and scaling of your apps.

    You can compare options here:

    https://video2.skills-academy.com/en-us/azure/container-apps/compare-options

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.