In this part of series, we will deploy the application that we created on the previous tutorial to Azure using the portal.
3. Now, you can find the newly created resource group in the <Resource Groups> list.
In this tutorial, we will create and deploy a simple spring boot application based on Java 11 and using MsSql database.
First create the spring boot application, to do this, two options are presented:
$> curl https://start.spring.io/starter.tgz -d dependencies=web,data-jpa,sqlserver,h2,lombok,azure-support -d baseDir=azure-spring-mssql-tutorial -d bootVersion=2.4.5.RELEASE -d javaVersion=11 | tar -xzvf –
Hello everyone, in this part of tutorial we will deploy our Java based on spring boot application to Azure using the Azure CLI.
Go to Install the Azure CLI and install the CLI based on your operating system.
After the installation, open a command line and run the following command to connect to Azure:
$> az login
A pop-up will appear, then you can enter your email and password to connect to your microsoft account.
If the connection is successful, you should see all the subscriptions that you have access to.
If you already have Azure CLI installed, you can…