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
전문가
답변함 일 년 전
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.

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠