Azure App services : Article 06

Paul issack minoltan
3 min readAug 13, 2020


Hello Everyone this is my Sixth Article in Azure Series. If you missed to read my Azure Front Door article please click here.

What is Azure App Services?

Azure App Service is an HTTP-based service for hosting web applications, REST APIs, and mobile back ends. You can develop in your favorite language.

App Service not only adds the power of Microsoft Azure to your application, such as security, load balancing, autoscaling, and automated management. You can also take advantage of its DevOps capabilities, such as continuous deployment from Azure DevOps, GitHub, Docker Hub, and other sources, package management, staging environments, custom domain, and TLS/SSL certificates.

Why use App Service?

Multiple languages and frameworks

  1. Managed production environment
  2. Containerization and Docker
  3. DevOps optimization
  4. Global scale with high availability
  5. Connections to SaaS platforms and on-premises data
  6. Security and compliance
  7. Application templates
  8. Visual Studio and Visual Studio Code integration
  9. API and mobile features
  10. Serverless code

For detail please click here

Note: I have already wrote an article about creating web app in FrontDoor article.

Deploy my spring boot application

You can get my sample springboot project file on Github: link

This is my database configuration in springboot application property

Once you have configured all of the settings , you are ready to deploy your web app to Azure. To do so, use the following steps:

Configure Maven Plugin for Azure App Service

Step 1: Open pom.xml in a code editor and In the <build> section of the pom.xml, add the following <plugin> entry inside the <plugins> tag.


Step 2: Run the following command in terminal.
mvn azure-webapp:config

Step 3: When you get the Confirm (Y/N) prompt, press ‘y’ and the configuration is done.

Step 4: Add the <appSettings> section to the <configuration> section of <azure-webapp-maven-plugin> to listen on the 80 port.

Step 5 : Deploy the app to Azure

From the command prompt or terminal window that you were using earlier, rebuild the JAR file using Maven if you made any changes to the pom.xml file; for example:

Use this command : mvn clean package

Step 6: Deploy your web app to Azure by using Maven

Use this command : mvn azure-webapp:deploy

Maven will deploy your web app to Azure; if the web app or web app plan does not already exist, it will be created for you. It might take a few minutes before the web app is visible at the URL shown in the output. Navigate to the URL in a Web browser. You should see the message displayed: Greetings from Spring Boot!

This is the end of this article. See you in the next article..!

Thank you…!

Next Article: Azure Functions