Closed rafi-tvtime closed 6 years ago
You can only expose one port to a load balancer, but you can listen on any port you'd like. Does that make sense?
Hmm, yeah I guess I didn't realize that. Although it seems like you ought to be able to due that with rules in the application load balancer, but I guess it's not supported. Thanks
You can currently add multiple services to the same load balancer. Currently ECS only supports a single target group per service and therefore only supports a single port, AFAIK.
On Sat, Apr 21, 2018 at 12:47 PM Rafi Greenberg notifications@github.com wrote:
Hmm, yeah I guess I didn't realize that. Although it seems like you ought to be able to due that with rules in the application load balancer, but I guess it's not supported. Thanks
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/jpignata/fargate/issues/51#issuecomment-383311944, or mute the thread https://github.com/notifications/unsubscribe-auth/AABNPyt4wMSOXldWpUN0mNMFf5Duy2M5ks5tq2KfgaJpZM4Td-Gk .
Actually ECS supports multiple ports in its definition. And this is needed for my use case atm. I was able to make this work using the AWS CLI directly ports 21 and 1000-10009 for FTP PASV
@jpignata
Is it possible to create/deploy a service with multiple ports exposed? I think it would have to add additional targets with the addition ports to the target group that is created.