Creating a Load Balancer Connection

In this step, we will create a Load Balancer.

  1. Access the Load Balancer management interface

  2. Click Load Balancer create-lb

  3. Click Create Load Balancer

create-lb

  1. Click Application Load Balancer

create-lb

  1. Name the Load Balancer

    • Leave Scheme and Load balancer IP address type as default

create-lb

  1. Select the appropriate AZ, theoretically, it is best to select all AZs for optimization.

create-lb

  1. Click to select the appropriate Security group

    • In Listeners and routing, select the Target group created in 2.2

create-lb

  1. Click Create load balancer

create-lb

  1. Wait about 3-5 minutes for the Load Balancer status to change to Active

create-lb

  1. After it changes to Active, click on the DNS name to access the website.

When reloading the website, you will see the switch between IPs and Instance names at a 50% rate.

create-lb

create-lb