MeSoJaded
MeSoJaded

Reputation: 11

handling multiple AWS ECS fargate tasks

So I have been able to follow a guide on how to set up a single task and have the relevant port be listened to using load balancer. I am struggling to wrap my head around where i have multiple tasks. Do i need multiple lb one for each task and allocate different ports and have each one listen to the other that i want to run in sequence?

Tried setting up a single load balancer to utilise for multiple tasks but it caused things to break. Also tried setting multiple lb one for each but things stopped after the first task and unable to find answers online which most probably means im not asking the right questions

Upvotes: 1

Views: 875

Answers (1)

Vikram S
Vikram S

Reputation: 822

You can update the ALB rules to use Path based routing or host based routing. There are multiple options. Please check this

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

Upvotes: 1

Related Questions