Amazon Web Services (AWS) offers a highly available, scalable, and fully managed Application Load Balancer (ALB) service. This load balancer operates at the request level (layer 7 in the OSI model), routing traffic to one of the registered targets, such as EC2 instances, containers, or IP addresses, based on the rules that you define.
One of the key benefits of using an ALB is its ability to handle advanced request routing, such as routing based on the content of the request, allowing you to build sophisticated traffic management policies for your applications. For example, you can set up an ALB to route traffic to different target groups based on the URL path of the incoming request, the host header, or even the query string parameters.
In addition to request routing, ALBs also provide features such as automatic scaling, TLS/SSL offloading, and integration with other AWS services, such as Amazon ECS, Amazon EKS, and AWS Fargate.
Another advantage of using an ALB is its ability to health check your targets and route traffic only to healthy targets. This ensures that your applications remain available and responsive to your users even when one or more of your targets are experiencing issues.
There are two types of ALBs available: a classic load balancer and a network load balancer. The classic load balancer is best suited for load balancing HTTP and HTTPS traffic, while the network load balancer is designed for ultra-high performance and can handle millions of requests per second while maintaining ultra-low latencies.
In summary, the AWS Application Load Balancer is a powerful and fully managed service that makes it easy to build and operate scalable and highly available applications. It offers advanced request routing capabilities and integrates with other AWS services, making it an essential component of any AWS-based architecture.
Follow below steps to setup Application load balancer in your AWS console:
2. Click on Load Balancers

3. Click on Create load balancer

4. Click on Create

5. Type "ALB-Demo"

6. Check us-east-1b (use1-az2)

7. Check us-east-1a (use1-az1)

8. Check us-east-1c (use1-az4)

9. Check us-east-1d (use1-az6)

10. Check us-east-1e (use1-az3)

11. Check us-east-1f (use1-az5)

12. Click on Create target group
13. Type "ec2_webserver"

14. Click on Next

15. Type "ec2-webserver"

16. Click on Choose a target type…

17. Click on Next

18. Check table

19. Click on Include as pending below

20. Click on Ports for the selected instances

21. Click on Create target group

22. Drag highlighted element

23. Click on 0 target groups selected…

24. Click on 0 target groups selected…

25. Click on ec2-webserver

26. Click on Load Balancers

27. Click on Refresh Target groups

28. Click on Default action

29. Click on Create load balancer

30. Click on View load balancer

31. Click on highlight

32. Click on Active

33. Drag highlighted element

34. Click on table

Comments
Post a Comment