-
Our service requires some time to start (populate caches, compile at runtime, download base configuration...). When scale out occurs, we want to give new instance time before it's used by LB. This is how we setup our instance currently:
Code snippet above does not work as expected. Despite we use We tried to use
... which helped, but it doesn't seem to be correct solution. Once instance is warmed up, it should be able to serve full load, we don't need to linearly increase traffic. Apparently, there should be another way how to achieve desired behaviour using health check Notice |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Discovering more documentation, seems that https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service_definition_parameters.html
|
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Discovering more documentation, seems that
startPeriod
is not relevant for ELB (which we use with our Fargate)https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service_definition_parameters.html