Search EC2 -> go down to Load Balancer and select create Target group
Target group configuration settings are as follows:
Choose a target type: select Instances
Target group name: TG1
VPC section: Select ASG-ALB-vpc
We keep the remaining parts unchanged and click next and create
Search EC2 -> go to Load Balancer
In the Load balancer types section: Select Application Load Balancer and click Create
Name it ALB1
Network mapping section:
Note: The load balancer periodically sends pings, connection attempts, or requests to test the EC2 instance. These tests are called health checks.
Note: We must specify the availability zones for which the load balancer needs to be enabled, causing it to only route traffic to the two targets launched in those availability zones. You must include subnets from at least two Availability zones to make our load balancer Highly-Available.