# Create a Load Balancer

AWS Elastic Load Balancing will be used to distribute traffic evenly between all Talend ESB instances across the Availability Zones. You will create a front-end HTTP loadbalancer to load-balance incoming requests between all Talend ESB instances.

## Procedure

1. Open EC2 console.
2. On the Navigation pane, under Load Balancing, choose Load Balancers.
3. Click Create Load Balancer.
4. Select Classic Load-balancer then click Continue.

   ![](https://help.qlik.com/talend/en-US/deploy-architecture-in-aws/Resources/images/select_classic_load-balancer.png)
5. Define the load-balancer:
   | Field | Value |
   | --- | --- |
   | Load Balancer name | ELB-Talend-ESB |
   | Create LB inside | Choose Talend VPC. |
6. In Listener Configuration, add the following listener:
   | Field | Value |
   | --- | --- |
   | Load Balancer Protocol | HTTP |
   | Load Balancer Port | 8040 |
   | Instance Protocol | HTTP |
   | Instance Port | 8040 |
7. In Select subnets, select both subnets Public subnet eu-west-1a Talend ESB and Public subnet eu-west-1b Talend ESB.

   The configuration should look like this:

   ![](https://help.qlik.com/talend/en-US/deploy-architecture-in-aws/Resources/images/step1_define_load-balancer.png)

   Click Next: Assign Security Groups.

   Click Next: Assign Security Groups.Next: Assign Security Groups.
8. Select Create a new security group then use the information below.

   Information noteNote: Please take note of the security group name (sg-f41e8992 in this case) since this information will be used when creating the Talend ESB instance.

   ![](https://help.qlik.com/talend/en-US/deploy-architecture-in-aws/Resources/images/step2_assign_security_groups.png)
9. In Configure Health Check, use the following information:

   ![](https://help.qlik.com/talend/en-US/deploy-architecture-in-aws/Resources/images/step4_configure_health_check.png)

   Then click Next: Add EC2 instances.

   Then click Next: Add EC2 instancesNext: Add EC2 instances.
10. On Add EC2 instances page, ensure that Enable Cross-Zone Load Balancing is checked.

    Do not add any instances. This will be configured later when creating the Auto Scaling group.
11. In Add Tags, add a name tag and any other relevant tag you want. Then click Review and launch.