Besides what others commented about concurrent reqs in EC2 vs independent lambda execution costs, the trick considering all that is that Lambda is more efficient in terms of costs than EC2 UP UNTIL a certain amount of reqs/s, from that threshold onwards, the appropriate EC2 instance is cheaper. Engineers at BBVA came to this conclusion and wrote the whole analysis they made: https://www.bbva.com/en/innovation/economics-of-serverless/ Answer from HarrityRandall on reddit.com
Amazon Web Services
aws.amazon.com › compute › aws lambda › pricing
AWS Lambda Pricing
5 days ago - The table below contains a few examples of the price per 1 ms associated with different memory sizes, for usage falling within the first pricing tier – for example, up to 6 billion GB-seconds / month in US East (Ohio) ... Lambda on-demand duration pricing tiers are applied to aggregate monthly duration of your functions running on the same architecture (x86 or Arm, respectively), in the same region, within the account. If you’re using consolidated billing in AWS Organizations, pricing tiers are applied to the aggregate monthly duration of your functions running on the same architecture, in the same region, across the accounts in the organization.
Reddit
reddit.com › r/aws › why is everyone saying lambda is more expensive than ec2?
r/aws on Reddit: Why is everyone saying Lambda is more expensive than EC2?
May 23, 2023 -
Please help me work out the math here, as I think I am doing this wrong.
A Lambda of 128mb costs $0.0000000021/ms, this works out $0.00756/hour. A Lambda of 512mb costs $0.0000000083/ms, this works out $0.02988/hour.
Now if you look at EC2:
t4g.nano $0.0042/hour (0.5 GiB ram) t4g.micro $0.0084/hour (1GiB ram).
But... the Lambda will likely not run 100% of the time, and will stay warm for 10 minutes (not sure here?). And the RAM usage would be much better utilized if you got a function running, rather than an entire VPC.
Given all that, if the function can run with 128mb or less, it seems like a no-brainer to use Lambda.
However, if the function is bigger, it would only make sense to put it in an EC2 if it runs more than 30% of the time ($0.0084/hour cost of t4g.micro divided by 0.02988/h cost of 512mb lambda).
So why is everyone against Lambdas citing costs as the primary reason...?
Top answer 1 of 39
124
For EC2 you can run more than 1 request at the same time. For lambda it is 1 lambda per request. If you have even a few concurrent requests you lambda cost can 5-10x noting all the cold start and other times too.
2 of 39
100
If you expect to not have traffic 24x7 and low concurrent usage then Lambda may end up working out to be cheaper. Lambda is extremely expensive for my company because we have hundreds or thousands of concurrent executions.
How does one use the AWS Lamda Deploy task?
Glad to know that you have fixed this issue. You can go to https://docs.aws.amazon.com/vsts/latest/userguide/welcome.html for detailed information for AWS Toolkit for Microsoft Azure DevOps. More on reddit.com
AWS Lambda Durable Functions - wait for async results, poll on an endpoint, or sleep with no CPU charges : aws
AWS Health Dashboard Alerts (Lambda vs SNS vs SNS + Lambda) : aws
Lambda function check health application : aws
How much does AWS Lambda cost?
AWS Lambda uses a pay-as-you-use model and the cost entirely depends on your usage. The calculation is based on usage ($/invocation) and duration of computing ($/hour). Every month you get 1 million invocations and 3.2M seconds of compute time for free. After that it will cost $0.0000002 per invocation and about $0.0000166667 for every Gb/s of compute time.
dashbird.io
dashbird.io › home › aws lambda cost calculator
AWS Lambda Cost Calculator - Dashbird
Is Lambda free in AWS?
AWS Lambda is free upto 1 million invocations and 3.2M seconds of compute time per month.
dashbird.io
dashbird.io › home › aws lambda cost calculator
AWS Lambda Cost Calculator - Dashbird
How to calculate AWS Lambda cost?
The paid meter starts after your first 1 million invocations or 3.2M seconds of compute time. The cost of requests is $0.20 per 1 million requests, or $0.0000002 per request. The cost of duration is $0.00001667 for every GB-second used. Use our calculator to calculate AWS Lambda cost for you.
dashbird.io
dashbird.io › home › aws lambda cost calculator
AWS Lambda Cost Calculator - Dashbird
Videos
Lambda Pricing Explained in 5 minutes - YouTube
AWS Lambda pricing vs Google Cloud Functions pricing, explained ...
AWS Lambda Pricing: 8 Things You HAVE To Know
57:47
AWS Lambda Cost Optimization | Serverless Office Hours - YouTube
15:23
AWS Lambda Tutorial | Key Considerations, limits and Pricing - YouTube
10:53
AWS Lambda: my best money saving tips
Amazon S3
s3.amazonaws.com › lambda-tools › pricing-calculator.html
AWS Lambda Pricing Calculator
The AWS Lambda pricing calculator helps determine the total cost executing Lambda functions per month.
Touchlane
touchlane.com › blog › breaking down aws lambda pricing – how much does a serverless app really cost?
Amazon AWS Lambda Pricing | AWS Lambda Pricing
June 6, 2025 - We aim to explain how it affects scalability and budgeting for serverless apps and give you full knowledge of how to align Lambda’s pricing model with your project objectives to reach predictable expenses and sustainable growth. AWS Lambda collects a predetermined amount for each operation request.
AWS
aws.amazon.com › blogs › compute › aws-lambda-standardizes-billing-for-init-phase
AWS Lambda standardizes billing for INIT Phase | Amazon Web Services
May 29, 2025 - Effective August 1, 2025, AWS will standardize billing for the initialization (INIT) phase across all AWS Lambda function configurations. This change specifically affects on-demand invocations of Lambda functions packaged as ZIP files that use managed runtimes, for which the INIT phase duration was previously unbilled.
Cloudvisor
cloudvisor.co › home › aws guides › mastering aws lambda pricing: maximize efficiency and minimize costs
AWS Lambda: Master Pricing, Maximize Efficiency & Costs
September 17, 2025 - AWS provides a pricing calculator that allows you to estimate your Lambda costs based on your expected usage. To calculate compute charges, you can use the following formula: Compute charges = (Duration of function execution in milliseconds / 100) Memory allocated to the function in GB Price per GB-second
Serverless
serverless.com
Serverless: Zero-Friction Serverless Apps On AWS Lambda & Beyond.
Easily build auto-scaling, low-overhead applications on AWS Lambda, API Gateway, DynamoDB, and other managed services with the Serverless Framework.
Infracost
infracost.io › home › glossary terms › tools & platforms › aws lambda
AWS Lambda - Infracost
December 6, 2024 - Yes, AWS offers a free tier that includes 1 million free requests and 400,000 GB-seconds of compute time per month. How does Lambda integrate with other AWS services from a cost perspective?
Softqube
softqubes.com › home › aws lambda pricing: know how to control the costs.
AWS Lambda Pricing: Know How To Control The Costs. - Softqube
February 15, 2024 - Table of Contents What is AWS Lambda Pricing AWS Lambda Pricing vs EC2 Amazon API Gateway Pricing Price Calculation of Serverless App Function Monitoring AWS Lambda Cost Optimization Strategies Synopsis: The ultimate purpose of this blog is to ascertain the AWS Lambda cost strategies and to prevent unexpectedly large AWS Lambda bills.
Price $$
Call +1 (737) 328-0894
Address B-401, Shantiniketan Business Centre Near Gangotri Banglows, Nikol, , Gujarat, 382350, Ahmedabad