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 Answer
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
MODERATOR
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions