Improve AWS load balancer health monitoring

During this task you will define a no-auth helper application for use with AWS load balancing healt monitoring.

Before you begin

Ensure that you have access to:

  • The AWS EC2 console, used to determine the internal IP address of Access Gateway high availability instances.
  • The Access Gateway admin console running in AWS, used to create applications for load balancer health checks.


  1. Determine internal AWS IP addresses: :
    1. Open a browser to the AWS EC2 console at
    2. Sign in to the AWS Console.
    3. Scroll to and expand Instances.
    4. Click Instances.
    5. Examine the list of instances. Note the Private IP Address for each cluster member.

      If private IP address is inactive, click Settings and selectPrivate IP Address to activate it.

  2. Create no-auth applications:

      For each high availability node, create a no-auth application associated with the private IP address. These applications return a value of 200 on success. 200 is the default HTTP return code for a healthy instance.

      1. Return to or open a browser to the Access Gateway Admin UI console.
      2. Select the Applications tab.
      3. For each IP address, create an associated application:
        1. Click Add.
        2. Select No-auth.
        3. In the Essentials tab, specify:
          NameAn appropriate name for the application, such as LBHealth-Admin, where the suffix distinguishes the application from other health monitoring applications.
          Public DomainEnter the associated public IP address.

          Protected Web Resource

          Leave unchanged as initially populated by wizard.

        4. Click Next. The Attributes tab opens.
        5. Click Next. The Policies tab opens.
        6. Click Done.
  3. Configure Load Balancer to use HTTP 200 return code:
    With applications that return a 200 return code, we can then modify the load balancer health check to use a 200 code.
    1. Return to the AWS Console.
    2. In the navigation pane, under Load Balancing, click Load Balancers. A list of all defined load balancers will display.
    3. Select the newly created load balancer.
    4. Select the Health Check tab.
    5. Click Edit Health Check.
    6. Change the return code to 200.
    7. Click Save.