Azure Classroom Series – 01/Mar/2021

Azure App Service

Deploying java applications to Azure App Service

  • Refer Here for the official documentation
  • Lets use linux and tomcat environment to create an application
  • Install java and maven
sudo apt update
sudo apt install openjdk-8-jdk -y
sudo apt install maven -y
java -version
mvn -version
  • Generate the skeleton code
mvn archetype:generate "-DgroupId=azure.qt.demo" "-DartifactId=helloworld" "-DarchetypeArtifactId=maven-archetype-webapp" "-Dversion=1.0-SNAPSHOT"
  • Now deploy the application, Ensure azure cli is installed and logged in
mvn com.microsoft.azure:azure-webapp-maven-plugin:1.12.0:config
mvn package azure-webapp:deploy

Deploying ASP.net applications to Azure App Service

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%