Select to view content in your preferred language

ArcGIS Enterprise and Google GCE Hostnames/DNS Records

506
1
08-30-2023 05:06 AM
Zartico-GIS
Occasional Contributor

Has anyone installed ArcGIS Enterprise on a Google Compute Engine VM? I have successfully installed and configured it but am struggling with redirect errors when trying to log-in from outside the network.

I think it is related to the fact that GCE do not provide an external hostname, just an external IP. So to access from a local client I input my portal URL as https:<instance external ip>/portal/home which can be reached in a browser just fine. When I attempt to sign in, it errors out and I believe this is because it's trying to redirect to the FQDN of the machine, which isn't external facing.

I have a client VM stood up in the same internal network as the Enterprise instance. From a browser on that client I am able to fully access portal, sign in, and all its features work. I think this is because the FQDN makes sense to it as it's internal only and this VM is in that internal network.

Solution? I think I need to...

  • Set up a new GCE server VM with a custom hostname
  • Configure a DNS record to that same custom hostname in Google Cloud DNS or similar
  • Reinstall ArcGIS Enterprise on that machine and hope that it latches on to the custom hostname and not the internal hostname given by Google

Does this sound right? Anybody have any other solutions here? Don't want to spend a couple days down the rabbit hole.

Tags (3)
0 Kudos
1 Reply
A_Wyn_Jones
Esri Contributor

Have you tried configuring a WebContextURL? you may be running into issues with X-Forwarded-Host headers reporting an unexpected value

https://enterprise.arcgis.com/en/portal/latest/administer/windows/using-a-reverse-proxy-server-with-...

"We've boosted the Anti-Mass Spectrometer to 105 percent. Bit of a gamble, but we need the extra resolution."
0 Kudos