4

I need to add some Geoserver data on my Azure Website. I'm just wondering that if I need to install Geoserver for that on my account (if it is possible) or is there some other way?

As I was just looking around, I found this link working http://geoserver.azurewebsites.net/ If this link is working, does it mean that we can configure Geoserver on Azure

muzaffar
  • 1,706
  • 1
  • 15
  • 28

2 Answers2

6

There are a couple of ways to do this.

One option is to use a plain old Azure Web App with the GeoServer web archive (WAR file).

To do this download the web archive version of GeoServer. Then create a web app in the Azure portal. Under application settings you need to specify Java version 8 and a Tomcat version above 7.0.65. Then all you need to do is ftp the GeoServer WAR file to /site/wwwroot/webapps.

Once you have done that you should be able to access GeoServer by visiting your web app with the path /geoserver appended to the url. But be patient, the initial start up is slow and can take a few minutes.

Another option is to deploy a container image. I have ended up creating one myself that is tailored for use in an Azure Web App.

To use it you will need a Linux App Service Plan. When creating your web app select Docker Hub as the container image source and use coderpatros/geoserver-azure-web-app as the image. You can also specify a tag to use a particular GeoServer version. i.e. coderpatros/geoserver-azure-web-app:2.14.2. The available tags can be found on Docker Hub at https://hub.docker.com/r/coderpatros/geoserver-azure-web-app/tags. After you've created the web app you need to go to application settings and set WEBSITES_ENABLE_APP_SERVICE_STORAGE to true to enable persistent storage.

coderpatros
  • 464
  • 5
  • 9
0

There is a OpenGeo Suite in Azure marketplace which helps in publishing maps and data from a variety of formats and sources with GeoServer.

Not sure if it will help you, but here ... OpenGeo Suite

SteveC
  • 15,808
  • 23
  • 102
  • 173