<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nicholas Siew on Medium]]></title>
        <description><![CDATA[Stories by Nicholas Siew on Medium]]></description>
        <link>https://medium.com/@nicholassiew1991?source=rss-7e2ba703f060------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Z0BOS24f4nwJT8uD</url>
            <title>Stories by Nicholas Siew on Medium</title>
            <link>https://medium.com/@nicholassiew1991?source=rss-7e2ba703f060------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:11:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nicholassiew1991/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deploy Spring Boot application on Azure App Service]]></title>
            <link>https://medium.com/@nicholassiew1991/deploy-spring-boot-application-on-azure-app-service-89a302605759?source=rss-7e2ba703f060------2</link>
            <guid isPermaLink="false">https://medium.com/p/89a302605759</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[spring]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Nicholas Siew]]></dc:creator>
            <pubDate>Tue, 25 Jun 2019 17:47:14 GMT</pubDate>
            <atom:updated>2019-06-25T17:47:14.614Z</atom:updated>
            <content:encoded><![CDATA[<h3>Step 1: Create a Spring Boot application from Spring Initalizr</h3><p>First of all is to create a Spring Boot application. I would use Visual Studio Code with Spring Boot Extension Pack to create a new Spring Boot application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zTObaWMpWyN6NRB_y7yY2A.png" /><figcaption>Visual Studio Code with Spring Boot Extension Pack installed</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v8hVTRSFOoYSk-is46X3Gg.png" /><figcaption>Create a Spring Boot application using Spring Initialize</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PeUQ9Zcn7Ki3DB4EzLXwaQ.png" /><figcaption>Select Spring Web Starter</figcaption></figure><h3>Step 2: Build and run the Spring Boot application</h3><p>Create a endpoint and enter spring-boot:run to run the application and verify the application in working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-fqtX1hwKbPZUjO7upGL5A.png" /><figcaption>Create a endpoint</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nujBqwoWJvdKsQA5iq7jZg.png" /><figcaption>Run the command to start the application</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8QUlLCaxgxtNQvTqgdsrHA.png" /><figcaption>Access the endpoint from browser</figcaption></figure><h3>Step 3: Add and configure Maven Plugin for Azure</h3><p>Add Maven Plugin for Azure to pom.xml, and enter mvn azure-webapp:config to configure the Azure App Service info.</p><pre>&lt;plugin&gt;<br>  &lt;groupId&gt;com.microsoft.azure&lt;/groupId&gt;<br>  &lt;artifactId&gt;azure-webapp-maven-plugin&lt;/artifactId<br>  &lt;version&gt;1.6.0&lt;/version&gt;<br>&lt;/plugin&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yWN8nKyCb0VbZZSJSoZtSQ.png" /><figcaption>Add the Maven Plugin for Azure tom pom.xml</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b-lMskcdhGMriNk-KC6C2g.png" /><figcaption>Run command and select the options to configure the Azure App Service Info, the plugin will modify the pom.xml for you</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FYDLRynjS3J4ez_mt0HDqg.png" /><figcaption>Modify pom.xml base on your needs</figcaption></figure><h3>Step 4: Deploy the Spring Boot Application to Azure</h3><p>To deploy the application, we need to install Azure CLI, you can get it from <a href="https://docs.microsoft.com/en-us/cli/azure/?view=azure-cli-latest">here</a>.</p><p>After the installation, run a command mvn clean package to package the application to a jar file.</p><p>Then run az login and login to Azure. After that, run a command azure-webapp:deploy to deploy the application to Azure.</p><p>Note: If the app service plan or app service not exists, it will create a one automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wk49RUm0i2Xhoma6DIkUhw.png" /><figcaption>Package the application to a jar file</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jFa9JRhZWh6DxxRLN-jr_A.png" /><figcaption>Login to Azure using Azure CLI</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6ebA_tzp3TciGFZwcM1yew.png" /><figcaption>Deploy the application to Azure App Service</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8QmamIOEdfB2FakCHyLITQ.png" /><figcaption>Application deployed sucessfully.</figcaption></figure><p>References and Other Resources:</p><ul><li><a href="https://docs.microsoft.com/en-us/cli/azure/?view=azure-cli-latest">Azure Command-Line Interface (CLI)</a></li><li><a href="https://docs.microsoft.com/en-us/java/api/overview/azure/maven/azure-webapp-maven-plugin/readme?view=azure-java-stable">Maven Plugin for Azure App Service</a></li><li><a href="https://docs.microsoft.com/en-us/java/azure/spring-framework/deploy-spring-boot-java-app-with-maven-plugin?view=azure-java-stable">Deploy a Spring Boot JAR file web app to Azure App Service on Linux</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89a302605759" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>