Deployed Web GIS using Cloud Builder for Azure ArcGIS Enterprise 10.5, now what?

1209
5
07-20-2017 03:00 PM
JoeWeyl
Occasional Contributor

We have deployed a development environment using Cloud Builder and a developer deployed a Web Site in the IIS Folder, but the web site isn't working. ArcGIS Server manager works, we can also get the rest end point. All steps in Cloud builder were successful, but coming from the VM world to Azure, I don't understand the next steps to deploy a website with the environment. In fact when we hit http://myserver.mydomain.com we get redirected to https://myserver.mydomain.com/arcgis. If we try to go to http or https://myserver.mydomain.com/sitename we get a 404 error. We can get to the REST end point of the published map service at https://myserver.mydomain.com/arcgis/rest/services/myfolder/myservice. Since Cloud builder deploys a two tier environment (Web/GIS Server as one node, and then we have database tier) I am not sure where to go next to configure things. Our Azure Admin doesn't want to load our Certificate to IIS since Cloud Builder already did, and he doesn't fully understand how the web adaptor works, but I don't understand what Cloud Builder and Azure are doing for the configuration. I have search the documentation but outside of the basics, I have found much. Maybe I am missing something?  Maybe a blog post that may help?  

0 Kudos
5 Replies
JoeWeyl
Occasional Contributor

Jonathan -

Thank you for your response, I miss-spoke we didn't deploy Portal in this environment. This is soley an ArcGIS Server environment. This is for hosting custom developed Web Sites using the JavaScript API and ArcGIS Server services.

Joe

0 Kudos
JonathanQuinn
Esri Frequent Contributor

I see.  If you were to create a new virtual directory under the C:\inetpub\wwwroot folder and put something in there like an image, are you able to browse to it?  Not too sure how Cloud Builder sets up IIS.

0 Kudos
JoeWeyl
Occasional Contributor

Hi Jonathan -

We get a 404 error. I am doing some more testing because I don't know if it is the web code that we tested with, or a configuration issue.

Joe

0 Kudos
JoeWeyl
Occasional Contributor

I am going to reply to my own thread as this has been a bit confusing and I figured others might glean some knowledge and not have to struggle with it.

Cloud Builder needs better documentation for what it does. For those of us who have been working in the traditional Hyperviser VM configurations and are using Cloud Builder for our first Cloud Deployment, it is confusing.

  • Cloud Builder by default builds a two tier environment (I am a traditionalist and usually build a three tier)
  • Cloud Builder builds a Load Balancer, which is a good thing, but it also builds in redirects to 6080 and 6443. Your site won't work off of the web domain root until these are removed.
  • If you are using the Web Adaptor and Web Server on the Map Server nodes, you need to connect the Web Adaptor to ArcGIS Server, cloud builder doesn't do that for you, even through it asks you for your CNAME in DNS for your site if you are suing a custom domain.
  • When using a custom domain, you need to remove the redirects for your site can be served on the Domain name. Other wise you will get a 404 tomcat error.
  • This might be an Azure thing not Cloud Builder but: The Web Node pair doesn't copy websites / content to both nodes. Maybe storing it in the webroot is part of the problem? Should it be mapped to the fileshare directory Cloud Builder creates? So if I understand this, that means you have to deploy to each node.
  • Check your Load Balancer and firewall rules (6443) before you try and configure the Web Adaptor.

These are just the items that tripped me up, but now that I have them worked out, we have our development deployment done and can tweak what we need to create production.