I have multiple target groups (each for one [Streamlit] application) and I'd like to assign each of them to a subdomain (obviously, using the Host header
).
What's the best way to route them through the same ALB: Is it better to have multiple listeners (i.e. one listener for every target group)? or one listener with multiple rules (i.e. one for each pair of host header and target group)?
Is there a preference here? Does any of the options count as an anti-pattern?
Thanks.