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
- Refer Here for the official docs
