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년 전

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

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

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

관련 콘텐츠