Lightsail container - specific public port

0

Hello,

i would like to deploy a lightsail container, and only expose port 4569/udp over internet. It looks like if I don't activate http or https port, I can't select this container as public endpoint. However, this container doesn't run any http/https service, so helth check can't work, and the deployment fails.

Did I miss someting in my configuration ? Is there a way to do this ?

Regards.

François.

질문됨 2년 전708회 조회
2개 답변
0

Hello,

Thank you for using Amazon Lightsail Container Services. Unfortunately, it's not possible to select a container that does not have an HTTP/HTTPS port open as a public endpoint. This means you won't be able to expose port 4569/udp over the Internet directly.

However, if you were to add another container to your Container Service that does have a HTTP/HTTPS service running on it, that container would be able to communicate to your container that only has a UDP port open. One idea is to set up a proxy container that communicates to the Internet via HTTP/HTTPS and forwards requests along to the UDP container. You could also edit the UDP container directly to use HTTPS traffic instead of UDP.

I've taken this use case back to the team as feedback. Thank you for using Amazon Lightsail!

-Maxwell

Maxwell
답변함 2년 전
0

Hi Maxwell,

thank you for your quick and precise answer. I'll have a look in this way.

François.

답변함 2년 전

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

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

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