Anis
Anis

Reputation: 33

AWS load balancing (ALB) based on query string

I have two servers behind an AWS ALB. The request sent to the ALB looks like:

The query is :

http://URL?customer_id=xxx

where xxx specifies the server which client request should be distributed to.

I have already tried to configure the rule with the path "xxx" and it doesn't work since it is not a path. it is the query.

Does ALB support forward request by the query string?

Upvotes: 0

Views: 1780

Answers (1)

Michael - sqlbot
Michael - sqlbot

Reputation: 179284

ALB does not support query string based rules -- only path patterns and hostname literals.

Upvotes: 1

Related Questions