Exposing multiple ports on one ECS Service
MichaelSmyth0184 opened this issue · comments
Hi,
I have followed multiple links online around ECS service having multiple Target groups but I cannot seem to get this working. I have also noticed when using the AWS Web Interface that it is not possible to add multiple target groups to a service and only allows one.
Can anyone explain this? Would be greatly appreciated, as I can only seem to be able to serve one port behind a load balancer for the same service.
The console doesn't support this at this time but this documentation shows how to do this within your service definition file:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html