> For the complete documentation index, see [llms.txt](https://rajan-silwal-1.gitbook.io/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rajan-silwal-1.gitbook.io/product-docs/cloud-aws/load-balancer.md).

# Load Balancer

It is a single point of contact for clients. The load balancer distributes incoming application traffic across multiple nodes, in multiple Availability Zones. Simply, It controls the incomming traffic into a different nodes. It helps for redundancy process.  For more information: \
<https://aws.amazon.com/elasticloadbalancing/><br>

**Following this need while setting up VPC** \
\
**Step 1:** Create a VPC first -->Check out VPC module for more details on how to create VPC

```
1. Create Application Load Balancer -> Name, Scheme, IPv4, Network mapping( Select at leat 2 zone), Security Group,  
2. Create Target Group --> Select instances or IP , Name, select VPC, health check( set basic configurations)
	I. Setup Register Targets --> Select instances, Once we create a target group, now register the traffice to LB  
3. Set listern HTTP:80 to target group 
5. Finally, Our Load Balancer setup is ready

Under Basic Configuration of LB: You can see DNS(A record) to access.

```

<figure><img src="https://1186894440-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9wnMXVEmEJ7k6VEhLJYN%2Fuploads%2F13U9d90UU0s5XS5mD4Lr%2FScreen%20Shot%202022-11-06%20at%201.55.26%20AM.png?alt=media&amp;token=39fa5dd9-78b8-4e2b-9236-14dd122a5d4b" alt=""><figcaption></figcaption></figure>
