In this tutorial we will checkout how to get the Microsoft Azure Plugin and how to use it.
First of all, start your IDE and hit Shift two times in quick succession and enter “plugin” to get quickly to the plugin
Then just type Azure and install the
After having installed and having created an account on the Azure website, you can
Select the tools tab in the top toolbar and login into
I was following this great tutorial from Microsoft, but I and probably a lot of other people encountered an error, when trying to launch a web app right after having created a new account in Azure.
Before you can launch anything in Azure, you need Ressoure groups. Even though the tutorial from Microsoft does not state it explicitly, you should really create an Ressource group, before attempting this.
Here is how you create a resource group :
Login to your Azure account on the Microsoft website and head to “My Account”
Next select “Create a resource”
And then select “Web App”
Enter a name for the App and the resource Group, click Create New
Start a new project and select a web app in Maven and make sure you are creating the project from
Then just go to the root folder of your project and right click it in Intelij. You should now see the Azure options, which let you deploy your web app to the cloud!
If you did not login to Azure before, do it now.
Then you have to option to use an existing Web App or a new one. We want a new one, but we will use an existing resource group! For some reason, creating a resource group with intelij plugin, seems to result in exceptions. The only way to avoid those so far, is to create the group manualy in azure and then use that one for further deployment
After hitting run and waiting a few seconds, your console should update with an URL to your freshly deployed web app.
Thanks for reading and have fun in the cloud!