Skip to main content

One post tagged with "cost"

View All Tags

AWS Lambda and AWS Fargate Cost Exercise

· 6 min read
Brian McNamara
Brian McNamara
Software Developer

You might be considering whether to deploy your application to a serverless service. Maybe you're an AWS customer weighing AWS Lambda (serverless functions) against AWS Fargate for Amazon ECS (serverless containers).

Your application fits within Lambda's hard constraints — 15-minute max duration, package size, payload limits, memory, and cold start latency all check out.

Is Lambda a good fit? Is it better to run on AWS Fargate?

It's an important question, especially in organizations that deploy a lot of resources to AWS. In this post, we'll work through that question with a focus on cost — and we'll cover a technique you can use to minimize the risk of getting the answer wrong.