Select to view content in your preferred language

AWS Application Load Balancer (ALB) in absence of Web Adaptor

1728
2
Jump to solution
02-19-2023 06:37 AM
Ranga_Tolapi
Frequent Contributor

Q1: How to achieve the below behavior using ALB (without Web Adaptor)?

  1. Portal:
  2. Federated Server:
  3. Hosted Server:

Q2: How to set X-Forwarded-Host header in ALB?

Q3: How to detect redirects (HTTP codes 301 or 302) and update its Location header to ensure that the fully qualified domain name (FQDN) and context of the response match the server's WebContextURL value?

Appreciate your advises please.

0 Kudos
1 Solution

Accepted Solutions
ReeseFacendini
Esri Regular Contributor

1) When using ALBs instead of ArcGIS Web Adaptors, the web context becomes "arcgis" and you would end up with the URLs below:

There is not a way to leverage ALBs but have the context be /portal, /hosting, etc. In order to choose the web context, you would need to leverage ArcGIS Web Adaptors.

 

2) ALBs don't support X-Forwarded-Host (or custom headers in the first place), which is why the URLs above have to have to context of /arcgis, instead of /portal, /server, etc. (corrected answer)

View solution in original post

2 Replies
ReeseFacendini
Esri Regular Contributor

1) When using ALBs instead of ArcGIS Web Adaptors, the web context becomes "arcgis" and you would end up with the URLs below:

There is not a way to leverage ALBs but have the context be /portal, /hosting, etc. In order to choose the web context, you would need to leverage ArcGIS Web Adaptors.

 

2) ALBs don't support X-Forwarded-Host (or custom headers in the first place), which is why the URLs above have to have to context of /arcgis, instead of /portal, /server, etc. (corrected answer)

Ranga_Tolapi
Frequent Contributor

Thank you so much @ReeseFacendini, highly appreciated.

0 Kudos