Reserved vs provisioned concurrency in Lambda?
IntermediateConceptContainers and Serverless
Answer
Reserved concurrency carves a guaranteed slice out of the account pool for a function and also caps it (useful to protect a downstream database); it is free. Provisioned concurrency keeps N execution environments initialized and ready, removing cold starts for that capacity, and is billed hourly.
aws lambda put-function-concurrency --function-name api --reserved-concurrent-executions 50
aws lambda put-provisioned-concurrency-config --function-name api --qualifier prod \
--provisioned-concurrent-executions 20
More on Containers and Serverless
ECS vs EKS vs Fargate: what is the relationship?BeginnerWhat are ECS task definitions, tasks and services?BeginnerWhat are ECS capacity providers?IntermediateWhat is the difference between the ECS task role and the task execution role?IntermediateHow does `awsvpc` network mode work in ECS?IntermediateWhat deployment strategies does ECS support?Advanced