Ravi Sir's Cards › AWS
ECS vs Lambda
Runs container workloads as services or tasks. A service can maintain running tasks while a one-off task can run to completion. Runs bounded event-driven code. An on-demand Lambda Event Function can configure up to 30 minutes per invocation. Consider the trigger, runtime and state. Check the caller's timeout independently of the Lambda timeout.
Read card text
What this card says
ECS
Runs container workloads as services or tasks. A service can maintain running tasks while a one-off task can run to completion.
Lambda
Runs bounded event-driven code. An on-demand Lambda Event Function can configure up to 30 minutes per invocation.
Decide from the shape
Consider the trigger, runtime and state. Check the caller's timeout independently of the Lambda timeout.