TechnionYearlyProject / DailyPulseMe

A tool that tracks and analyzes your heart rate data during your calendar events, helping you live a healthier life.
https://dailypulse.azurewebsites.net
0 stars 1 forks source link

Deploying our Spring Boot app to Azure - Estimated time - 10 hours #84

Closed mohamedMahameed closed 6 years ago

mohamedMahameed commented 6 years ago

In this issue I am going to share everything I learned about deploying a Spring Boot web app to azure.

mohamedMahameed commented 6 years ago

I was following this (formal) tutorial on how to publish a Spring Boot app as a Docker container by using the Azure Toolkit for IntelliJ : https://docs.microsoft.com/en-us/java/azure/intellij/azure-toolkit-for-intellij-publish-spring-boot-docker-app

and it says I should publish the web app to Azure by using a Docker container , so I followed this tutorial on how to create a Docker container : https://docs.microsoft.com/en-us/java/azure/intellij/azure-toolkit-for-intellij-publish-as-docker-container

I did every thing in these two tutorials , and I got this permission error in IntelliJ : image

after clicking ok I got this :

image

from what I understand , what I did is that I created new VM and deployed the app on it and it's currently running , I am not sure about how to make sure if what I did is right .. when clicking the link I get the error that the page refused to connect : image

I will try to solve this but you are all welcomed to search for solutions.

mohamedMahameed commented 6 years ago

I followed lots of tutorials but none of them was really helpful as I needed, I followed the formal documantations of Azure, but the tool kit I downloaded didn't work as explained, so I tried a lot of ways without using the tool kit, such as openning a VM thay runs servlet and deploy the app there and make the server active all the time on that machine but it didn't work out, a guy on stack overflow suggested to remove the Azure tool kit and redownload it, I did that and it worked that way,unfortunately this bug and research about Azure services took me over than 15 hours.