1 Answer
- Newest
- Most votes
- Most comments
1
Hi
AWS App Runner and ECS Fargate with on-demand instances charge for the time the container instance is running, regardless of incoming requests.
Here is the reference to run How do I use container images with Lambda
Some More detailed information about the differences - https://mkdev.me/posts/processing-background-jobs-on-aws-lambda-vs-ecs-vs-ecs-fargate
Choosing the right service depends on your specific needs:
- If your workload consists of short-lived tasks triggered by events, and fits within Lambda's limitations, then Lambda is the most cost-effective option.
- If your workloads are longer-running and require more resources than Lambda allows, or if you can't tolerate interruptions, then ECS Fargate with Spot Instances is a better choice.
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Hello GK, Thank you for your help, can i ask you is there any service available other than lambda that provides pay per request type architecture for container hosting
No, The possibilities are described in the answer