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

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

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

回答问题的准则