# 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="/files/b3h7QF5BMABCtx0gzp3k" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rajan-silwal-1.gitbook.io/product-docs/cloud-aws/load-balancer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
