Enable Access Gateway load balancing in an app

Load balancing enables you to distribute the request load for an app across multiple servers.

Configure load balancing

  1. In the Access Gateway Admin UI console, select the Applications tab.
  2. Click the pencil icon in the row that contains the app to edit it.
  3. Select the Settings tab.
  4. Expand the Protected Web Resources tab.
  5. Select the Load Balancing option to enable it. A table appears that displays each hostname and its load-balancing weight.
  6. Click the pencil icon for a hostname to edit it.
  7. Select either HTTP or HTTPS as the URL scheme. Each protected web resource that you add inherits this scheme.
  8. Optional. Enable the Host Header value option and specify a value for it.
  9. Click Add protected web resource.
  10. Enter a fully qualified hostname and port combination, such as https://backendserver1.atko.com:7001.
  11. Enter a weight from 1 to 100. Enter 0 to specify that a host is disabled. Weights represent the percentage of requests to route to this host. If you configure one host with a weight of 2 and a second host with a weight of 1, the first host receives double the requests of the second host.
  12. Click Okay.
  13. Optional. Enable the Load Balancer Health Checks option. Health checks use GET operations to indicate that resources are functional. Resources that Okta classifies as unhealthy aren't routed new requests to them.
  14. Click Edit to modify the health check settings. See Health checks for load balancing.
  15. Click Save.
  16. Click Done.

Related topics

App-protected web resources

Health checks for load balancing

Enable Access Gateway load balancing in an app