New ECS service (on EC2) behind existing load balancer, blank listener protocol:port

0

Hi all,

I have an ECS Optimized EC2 instance into which we have been launching our containers along with an application load balancer that all of the applications sit behind. I just attempted to launch a new service, however, when reviewing the service configuration, under the main Health and metrics tab, it does not show any information under the Listener protocol:port section. See the screenshot below.

Missing Listener protocol:port

Everything else looks fine, the security group attached to the EC2 instance is allowing All TCP ports from the load balancer so the ephemeral ports are all covered. This same configuration is working for other services. It's not clear what is causing the issue for this particular service.

2 回答
0

How is the task definition set up?
In particular, I would like to know what is going on around the port number settings.

profile picture
专家
已回答 1 年前
0

Hi @Riku_Kobayashi,

To account for the ephemeral port, the host port is set to 0 and the container port is set to its default 80.

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则