ECS does not start the instance, "cannot set the task because resources cannot be found."

I canโ€™t understand why my ecs service does not start and does not receive the error message โ€œthe service cannot post the task because the resources cannot be foundโ€.

In my task definition, I have 500 processor units and 250 memory, for just a small example of a node application that just serves my static assets.

I start my service with 1 task and without ELB.

+5
source share
1 answer

I assume your processors are too high. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#container_definition_environment

this is a more complex metric to guess if you have not actually measured it in your application.

In any case, I encounter a similar problem, so Iโ€™m right there in the same boat, but I would try to erase the processor, since it is optional, and see if it allows it.

0
source

Source: https://habr.com/ru/post/1232055/


All Articles