Improve AWS Load Balancer Health Monitoring
Before you begin
Have the following available before configuring an AWS Load Balancer for Access Gateway.
- Access to the AWS EC2 console, used to determine the internal IP address of Access Gateway High Availability instances.
- Access to the Access Gateway admin console running in AWS, used to create applications for load balancer health checks.
- Open a browser to the AWS EC2 console at https://console.aws.amazon.com/ec2/
- Sign in to the AWS Console.
- Scroll to and expand Instances.
- Click Instances.
- Examine the list of instances, noting the Private IP Address for each cluster member.
If private ip address is not enabled, click the settings icon and check Private IP Address.
Create no-auth applications
- Return to or open a browser to the Access Gateway UI console.
- Select the Applications tab.
- For each IP address create an associated application:
- Click Add.
- select no-auth.
- In the Essentials tab specify:
Field Value Name An appropriate name for the application, such as LBHealth-Admin. Where the name suffix distinguishes the application from other health monitoring applications. Public Domain Enter the associated IP address. Groups Everyone
- Click Next. The Attributes tab will open.
- Click Next. The Policies tab will open.
- Click Done.
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.
- Return to the AWS Console.
- In the navigation pane, under Load Balancing, click Load Balancers. A list of all defined load balancers will display.
- Select the newly created load balancer.
- Select the Health Check tab.
- Click Edit Health Check.
- Change the return code to 200.
- Click Save.