How can I Create AWS Load Balancer? - (ELB) | Clickittech

How can I Create AWS Load Balancer?

By AWS Leave a comment
create aws load balancer

Elastic Load Balancing is an AWS application that automatically distributes incoming application traffic across multiple targets, such as Amazon EC2 instances, containers, IP addresses, and Lambda functions. For this next tutorial, we have the creation of the Elastic Load Balancer. The creation and configuration of a Load Balancer will help to redirect the domain traffic to all instances created by autoscaling.

Keep in mind that this is just the 5th Part of the sequence How to create a High-Performance WordPress with Autoscaling on AWS.

WP-High-prformans_Configuration-Auto-Scaling-Group

Coming soon!

Requirements:

  • Account in AWS

Step by step:

  1. Log in to the AWS account.
  2. Verify the region in which the infrastructure will be created. In the upper right corner, click on the button with the city name and choose the region. In this case, it will be Virginia.
1-Verify-the-region

3. Select the EC2 service.

2-Select-the-EC2-service

4. Go to the “Load Balancer” section of the left side menu.

3-Load-Balancer-Section

5. Press on the button “Create Load Balancer”.

4-Create-Load-Balancer

6. Select “Classic Load Balancer”, and “continue”.

5-Classic-Load-Balancer

7. Assign it a name, VPC and the “listener”. These two are the ports where it will accept the traffic and the ports where it will be redirected.

6-Assign-it-a-name

8. Establish the subnet.

7-Establish-the-subernet

*Note: Select only one subnet because all instances are in it and the private subnet does not have internet access.

  1. Create Security Group especially for the Load Balancer, only open ports 80 and 443.
8-Create-security-Group

10. Assign / upload SSL certificate.

9-Assign-SSL-Certificate

12. Select the instance previously created.

11-Select-the-instace

*Note: The other instances to which the traffic will be distributed, are gonna be added while creating the auto scaling group.

  1. Label the load balancer.
12-label-the-load-balancer

14. Review the settings and create.

13-Review-the-settings-and-create
  1. Check that the Load Balancer is correctly created.

After this, the process has finished.

Those are all the steps that you need to follow to create a Load Balancer. Do not forget to see the complete process of how to create a high-performance and Auto-scalable WordPress, and the other tutorials we have prepared for you (I, II, III, IV).

Implement a high-performance and AutoScalable WordPress with us!

  • Speed ​​of server for loading pages.
  • Low probability of WordPress failure.
  • It modifies the number of instances it needs.

Tagged under: