How to create AWS Application Load Balancer
3 min readNov 11, 2022
π To view the complete course https://www.101daysofdevops.com/courses/100-days-of-aws/
β‘οΈ You can contact me via https://linktr.ee/prashant.lakhera
What is an AWS Application Load Balancer?
β
Itβs a layer seven load balancer platform
β
Supports path and host-based routing to allow the request to be routed to different application
β
Supports HTTP/2 and WebSockets
How to create Application Load Balancer
- To create a application load balancer, go to the EC2 console https://console.aws.amazon.com/ec2/v2/home and in the left-hand menu under Load Balancing, click on Load Balancers.
- Give your Load balancer some meaningful name e.g., my-alb-demo
- You need to select Scheme(it can be Internet-facing(An internet-facing load balancer routes requests from clients over the internet to targets. Requires a public subnet) or Internal(An internal load balancer routes requests from clients to targets using private IP addresses))
- IP address type(Can be IPv4 or Dualstack(Includes IPv4 and IPv6 addresses))
- Select the VPC and availability zone
- Under Listeners and routing, define the port and protocol on which the load balancer must listen. Each Application
- Load Balancer needs at least one listener to accept traffic.
- Click on the Target group. Target group defines the logical grouping of the targets.
- Click on Next at the bottom of the screen
- Click on Create target group
- Go back to the ALB console and select the target group you have just created. Click on Create load balancer at the bottom of the screen.