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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南