Create the Network Load Balancer in AWS
- Last Updated: December 11, 2024
- 2 minute read
- LoadMaster
- LoadMaster LTSF
- Documentation
Note: Before creating a Network Load Balancer in AWS, it is best practice to have an existing Elastic IP (EIP) allocated. To find out how to allocate an Elastic IP address, refer to the following AWS link: Elastic IP addresses.
To create AWS HA pairs, carry out the following steps:
- Open the Amazon EC2 console.
- Navigate to Load Balancing > Load Balancers.
- Click Create Load Balancer.
- Click Create for Network Load Balancer.
- Set the following options:
- Enter a Name for the Load Balancer.
- Select whether to provide access to internal only or allow for an internet-facing load balancer.
- Add one or more Listeners based on the application being load balanced.
- Select the VPC and Availability Zones to deploy the Network Load Balancer in.
- Select Choose an Elastic IP and select the EIP that was allocated earlier.
- Add optional Tags.
- Click Next: Configuration Security Settings.
- If you selected a TLS Listener, you can create or upload a certificate to encrypt the traffic.
- Click Next: Configure Routing.
- Set the following options:
- Select a new Target group.
- Enter a Name for the target group.
- Select Instance for Target type.
- Select the Protocol and Port for routing traffic to the LoadMasters.
- Select HTTP as the health check Protocol.
- Enter / for the health check Path.
- Under Advanced health check settings, select override for Port.
- Enter 8444 for the override port.
- Enter 2 as the Healthy threshold.
- Select 10 seconds as the Interval.
- Click Next: Register Targets.
- Select the two LoadMasters in the HA pair and click Add to registered.
- Click Next: Review.
- Click Create.