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

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

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

回答問題指南