ALB rules limit

amazon-ecs, amazon-elb, amazon-web-services

Solution

Today I got this answer back from AWS regarding my rule limit increase request:

Hello,

I apologize for the confusion with this limit increase. Unfortunately, Application Load Balancers have a hard rule limit of 10. I apologize that this was not made clear to you sooner. Please let us know if you have any further questions or concerns.

Best regards,

Problem

We are developing a microservices architecture with Amazon Webservices ECS and Application Load Balancer (ALB). The ALB has a rule per domain which couples a path pattern to a TargetGroup. For example: ``` /user* -> tg-user-service /image* -> tg-image-service /email* -> tg-email-service ... etc ``` This works pretty neat and saves us maintaining a separate service discovery service. However, today I found out that one ALB has a limit of 10 rules. This made me question if we are using the ECS/ALB approach correctly. Also, how can I mitigate this? All traffic is handled by one ALB. EDIT: AWS Seems to have increased the limit to 75. Thank you AWS!

Original source