• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Configure Network Load Balancer (NLB) in AWS

{{postValue.id}}

To Configure Network Load Balancer On AWS

Introduction:

A Network Load Balancer works at the fourth layer of the Open Systems Interconnection (OSI) model that can regulate millions of requests per second. Once the load balancer gets a connection request, it selects a target from the target group for the default rule. It strives to open a TCP connection to the selected target on the port specified in the listener configuration.

Steps to Configure:

Login to your AWS Management Console snap1 I have already created all these instances on AMZAON Linux Machine now I am going to verify that all these instances are accessing from outside or it can be accessible by their public ip address For instance, of machine 3 snap2 For Machine2 snap3 For machine3 snap4 Now create the load balancer and choose Network load balancer form AWS management console snap5 Give name for NLB snap6 and configure it with basic default configuration snap7 Now check the availability zone of all the instances snap8 Now assign that availability zones in your load balancer snap9 snap10

Now create target Group for instances snap11 Define name for that and do all the configuration for that snap12 Now include your instances in that target group snap13 Now check the status for that instances in target group now it would be unused state it will take some time to health check up of that instances. snap14 snap15 Now come back to your load balancer and select the target group what you have created now snap16 snap17 As final step, create the load balancer snap18 Now lets cross verify the Network load balancer with its all description snap19 snap20 Now copy the DNS name for the network load balancer and put it in browser snap21 Its not getting response because of, the instances in target group is still in unused state when all the heath file checkup completed it will come up. Now go and check again is instances in target group came up or not snap22

Its now in initial state So after some time I have checked its now active snap23 So now after that I check the DNS name for the load balancer it got response from the instances. snap24 snap25 After checking again and again, I got response from different machine snap26 Because of load balancing mechanism of network load balancer it would shift the request coming to listener in the machine which have less load. With this method configuration of Network load balancer comes to an end.

Tags:
eldhapearline
Author: 

Comments ( 1 )

revathins
We have ecreated a load balancer with internet facing but we need a load balancer with internal facing. How can we change the load balancer from internet facing to internal facing.
Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Can I create a TCP (Layer 4) listener for my Network Load Balancer?

A

Yes. Network Load Balancers support only TCP (Layer 4) listeners.

Q

What TCP ports can I use to load balancer?

A

You can perform load balancing for the following TCP ports: 1-65535

Q

Can I use the AWS Management Console to set up my Network Load Balancer?

A

you can use the AWS Management Console, AWS CLI, or the API to set up a Network Load Balancer.

Q

Can I create my Network Load Balancer in a single Availability Zone?

A

Yes, you can create your Network Load Balancer in a single availability zone by providing a single subnet when you create the load balancer.

Q

Can I assign more than one EIP to my Network Load Balancer in each subnet?

A

For each associated subnet that a Network Load Balancer is in, the Network Load Balancer can only support a single public/internet facing IP address

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ryan ?
how to use visual traceroute tool

Am using traceroute command to check for the route. i got this tool while surfing. So pls help me out installation and usage of Visual traceroute tool.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.