Try our new research platform with insights from 80,000+ expert users

AWS Lambda vs Amazon EC2 comparison

 

Comparison Buyer's Guide

Executive Summary

Review summaries and opinions

We asked business professionals to review the solutions they use. Here are some excerpts of what they said:
 

Categories and Ranking

Amazon EC2
Ranking in Compute Service
6th
Average Rating
8.6
Reviews Sentiment
7.2
Number of Reviews
67
Ranking in other categories
No ranking in other categories
AWS Lambda
Ranking in Compute Service
1st
Average Rating
8.6
Reviews Sentiment
7.5
Number of Reviews
88
Ranking in other categories
No ranking in other categories
 

Mindshare comparison

As of May 2025, in the Compute Service category, the mindshare of Amazon EC2 is 5.4%, down from 7.6% compared to the previous year. The mindshare of AWS Lambda is 21.3%, up from 21.4% compared to the previous year. It is calculated based on PeerSpot user engagement data.
Compute Service
 

Featured Reviews

KatlegoMabila - PeerSpot reviewer
Offers customization and flexibility with great support
Scalability depends on whether the client wants to scale up or scale down. It decreases resources based on demand. The great aspect of scalability is the flexibility to allow business success to optimize resource solutions and cost efficiency. Another crucial aspect of scalability is auto-scaling. When you have the opportunity to auto-scale, it can't always be available for everything. If you have chosen to integrate with auto-scaling, it's marvellous and doesn't require additional effort. Auto-scaling gives you the edge by using the capacity you have efficiently, scaling up or down as needed. These flexibilities within the EC2 feature instances of AWS play a crucial role in helping me utilize AWS EC2 Intelligent efficiently.
Wai L Lin O - PeerSpot reviewer
A serverless solution with easy integration features
We use AWS Lambda because it provides a solution for our needs without requiring us to manage our infrastructure. With the tool, we only pay for the resources we use. Additionally, it is straightforward to implement and integrates with other services like API Gateway. The tool's serverless nature has had the most significant impact on our workflow. I find it particularly attractive because it eliminates the need for managing servers. In my previous experience, managing upgrades and updates was quite challenging. The solution's integration process with other AWS services was relatively easy. We primarily use AWS services such as EventBridge for scheduling processes and log management.

Quotes from Members

We asked business professionals to review the solutions they use. Here are some excerpts of what they said:
 

Pros

"Amazon EC2 has plenty of scalability options to decrease or increase the number we need. Based on our bandwidth usage we may go for a higher or downgrade level. We can do it ourselves."
"The most valuable features of Amazon EC2 are ease of use and the services offered."
"I use it for NextCloud and for developer purposes."
"The solution offers good access policies."
"Configuration can be changed at any time and it's very scalable."
"We don't have to worry about scalability issues or maintenance or security. It's all taken care of."
"The product is very mature and organized."
"EC2 is flexible when we need to increase its resources (memory, boosting, and storage) based on our usage. That is the power of EC2."
"The most valuable features are event-based triggers. They're really good for a reactive style when you want things to happen as soon as something else happens."
"It is serverless and scalable. It can scale infinitely. You don't have to worry about the size of the servers that you're pre-allocating. You don't have to build server scale-out models. Auto scale and other similar features are just inherent in Lambda. So, for atomic and fairly non-persistent transactional units of work, Lambda works very well."
"The most valuable feature is that there is no need to implement it in a server because it is a service."
"What I like most about AWS Lambda is that it's very easy to deploy."
"The solution is scalable."
"The utilization of containers is particularly beneficial in overcoming the size limitations imposed on Lambda functions which not only allows us to work around these constraints but also contributes to the improvement and maintenance of our code."
"The automation feature is valuable."
"I like the pay-for-what-you-use feature. This is the main reason why we use AWS Lambda. I don't have to manage servers; I just have to configure Lambda and expose it to an API gateway."
 

Cons

"I would like to see more variety in the operating system images used to create test environments in EC2. There should be more versions and releases. Sometimes, you want to test an update from an old release to a higher version, but you can’t do that with the new images available. You have to use your own."
"The solution’s pricing and downtimes could be improved."
"Amazon EC2 could improve by reducing the price."
"The process of detaching EC2 instances to avoid billing could be less complex."
"Current inability to change the resource service levels."
"The initial deployment was complex."
"The solution is pretty expensive."
"Built-in and/or integration with other services to proactively identify potential failures before they occur."
"I have seen some drawbacks with certain integrations."
"Another challenge I've noticed is that there is a limit to the environment variables such as the 4 KB limit. Although, the advice is to use parameters or other things to store the details when the limit has exceeded the data, this adds additional intensity to the application. If the size limits for environment variables can be revealed, it would be helpful. Even if we have to pay for it, at least we would know that we are not dealing with latency. So, I would like to see the size of the environment variables increased."
"If you are setting it up on hybrid solution, there is a lot of work that needs to go in."
"If you're running a new application with a significant load, you need to be prepared for potential bottlenecks."
"The support team does not know how to implement and build the solution."
"AWS Lambda can improve its file system-based sharing capabilities and restrictions."
"They should work on the solution's stability and pricing."
"I want to see support for longer applications. I need the 15-minute time-out window to improve."
 

Pricing and Cost Advice

"I am using the tier three Amazon service. I am not going to use another solution other than Amazon EC2 because here in Pakistan there are some payment issues for solutions abroad."
"The clients have found the billing of Amazon EC2 good, but the price could be less high. There is a monthly subscription to use the solution."
"The price of Amazon EC2 could improve. The Google Cloud Platform is more cost-effective."
"The price is reasonable, but there is definitely an opportunity to lower it in instances which are of a higher configuration, because they have been typically used for the long term."
"Amazon EC2 has a pay-as-you-use cost model."
"The solution has different pricing models, and its cost differs when you purchase it for one year or three years."
"Reducing the price of the solution could lead to an improvement."
"We are using a pay-as-you-go model."
"The price is expensive and is based on usage. The more users you have the higher the cost."
"The price of AWS Lambda is priced very low."
"AWS Lambda is a very inexpensive solution. They charge for the number of times we run it. If you run AWS Lambda for one time, they charge around 50 cents or 25 cents for the use. I don't know the exact price, but it's less than a dollar."
"It costs maybe less than $10 per month in my use case."
"We only need to pay for the compute time our code consumes."
"The cost is based on runtime."
"AWS Lambda is cheap."
"AWS is slightly more expensive than Azure."
report
Use our free recommendation engine to learn which Compute Service solutions are best for your needs.
851,491 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Computer Software Company
19%
Financial Services Firm
16%
Manufacturing Company
7%
University
6%
Educational Organization
68%
Financial Services Firm
8%
Computer Software Company
5%
Manufacturing Company
3%
 

Company Size

By reviewers
Large Enterprise
Midsize Enterprise
Small Business
 

Questions from the Community

What do you like most about Amazon EC2?
The scalability and elasticity are helpful.
What needs improvement with Amazon EC2?
The main thing that needs improvement is the cost. Other than that, there is nothing that needs improvement.
Which is better, AWS Lambda or Batch?
AWS Lambda is a serverless solution. It doesn’t require any infrastructure, which allows for cost savings. There is no setup process to deal with, as the entire solution is in the cloud. If you use...
What do you like most about AWS Lambda?
The tool scales automatically based on the number of incoming requests.
What is your experience regarding pricing and costs for AWS Lambda?
The pricing of AWS Lambda is reasonable. It's beneficial and cost-effective for users regardless of the number of instances used.
 

Comparisons

 

Also Known As

Amazon Elastic Compute Cloud, EC2
No data available
 

Overview

 

Sample Customers

Netflix, Expedia, TimeInc., Novaris, airbnb, Lamborghini
Netflix
Find out what your peers are saying about AWS Lambda vs. Amazon EC2 and other solutions. Updated: April 2025.
851,491 professionals have used our research since 2012.