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 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen