Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (12.9k points)

A Layer 7 load balancer is more sophisticated and more powerful. It inspects packets, has access to HTTP and HTTPS headers, and (armed with more information) can do a more intelligent job of spreading the load out to the target.

https://aws.amazon.com/blogs/aws/new-aws-application-load-balancer/

I understand the AWS Application Load Balancer has access to the HTTP(S) request headers but I can only see how you can route via the path. Can someone explain how I can route based on the user-agent header. If it's not possible, please suggest an alternative AWS method.

closed

1 Answer

+1 vote
by (18.2k points)
selected by
 
Best answer

The host-based routing in ALB allows writing rules that use the host header to route traffic. Now in addition to that, it also supports routing based on standard and custom HTTP headers, methods, the query string and even source IP address. 

For more details, you can refer the following link:

https://aws.amazon.com/blogs/aws/new-advanced-request-routing-for-aws-application-load-balancers/

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...