Lightsail Container Timeout

1

I deployed a Docker service on Lightsail. It works fine for requests that can be processed quickly but times out (gateway timeout, code 504) for requests that take a bit longer to process.

What is the timeout limit on Lightsail Container instances and can I increase it?

Thank you.

1 回答
0

Hello,

If you are seeing container service health check issues, you can change the configuration for it via API or the Lightsail Console. When you deploy a container service, you can click the "show all settings" link to interact with the health check configuration. Details of the health check configuration can be found here: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_ContainerServiceHealthCheckConfig.html

If you are running into issues with API timeouts for your own service's APIs, then the configuration will depend upon what framework you are using. Please provide more details if this is your scenario.

-Andy

AWS
审核人员
已回答 2 年前

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

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

回答问题的准则