AWS Lambda vs Amazon EC2 comparison

Cancel
You must select at least 2 products to compare!
Amazon Web Services (AWS) Logo
2,542 views|1,652 comparisons
98% willing to recommend
Amazon Web Services (AWS) Logo
11,937 views|8,175 comparisons
94% willing to recommend
Comparison Buyer's Guide
Executive Summary

We performed a comparison between Amazon EC2 and AWS Lambda based on real PeerSpot user reviews.

Find out in this report how the two Compute Service solutions compare in terms of features, pricing, service and support, easy of deployment, and ROI.
To learn more, read our detailed AWS Lambda vs. Amazon EC2 Report (Updated: May 2024).
772,649 professionals have used our research since 2012.
Featured Review
Quotes From Members
We asked business professionals to review the solutions they use.
Here are some excerpts of what they said:
Pros
"I would recommend this solution to others who want to start using it.""Its ease of use is valuable.""The most valuable feature of Amazon EC2 is its ability to spin a new virtual machine in a few seconds.""We don't have to worry about scalability issues or maintenance or security. It's all taken care of.""The scalability of Amazon EC2 is good. However, the stability can depend on what service I am using.""What I found most valuable in Amazon EC2 is that you only pay for what you use, versus an on-premise deployment that requires you to pay for the cost of the server. When it's on-premise, you'll need to meet more specifications and requirements, and the purchasing process even takes time. As Amazon EC2 is cloud-based, you'll only pay when you use the service.""EC2 has helped us to deploy various Microsoft applications efficiently. It has also facilitated our workstation operations.""The scalability of the solution is fantastic. It's one of our favorite features."

More Amazon EC2 Pros →

"The basic feature that I like is that there is no server installation. It also has good support for various languages, such as Java, .NET, C#, and Python.""This product is easy to use.""The most valuable feature of AWS Lambda, from a conceptual point, is its functions. For example, it's mathematical templates into which you can write, and create your solution. You write small pieces of a solution under given parameters.""What I like best about AWS Lambda is that it's feature-rich, and I appreciate that. I also like that it's stable and supports many languages.""The installation and configuration of the solution is straightforward.""The solution is designed very well. You don't need to keep a server up. You just need some router to route your API request and Lambda provides a very well-designed feature to process the request.""We moved our users into the Amazon Cognito pool, so it helps us to standardize our security practices, approaches, etc. We can customize Lambda for authentication to integrate it with API Gateway and other services.""We are building a Twitter-like application in the boot camp. I have used Lamda for the integration of the post-confirmation page in the application. This will help you get your one-time password via mail. You can log in with the help of a post-confirmation page. We didn’t want to setup an instance specifically for confirmation. We used the Lambda function so that it goes back to sleep after pushing up."

More AWS Lambda Pros →

Cons
"Regarding availability, a noticeable improvement would be the possibility of more load balancing configurations and the deployment of more datacenters, mainly in Latin America.""The solution’s pricing and downtimes could be improved.""There should be enhanced accessibility from any standpoint. The accessibility should be increased, particularly in scenarios where accessing the software on the Azure platform from the cloud can be complex. Simplifying this process would be beneficial. There are too many steps involved.""I think the pricing needs to be adjusted and better security.""The product needs to improve its cost management.""Amazon EC2's pricing could be better.""They should fix the key pair name functionality and provide the ability to assign multiple key pair names to an EC2 instance. It is a key pair feature, and it provides you the ability to actually log into the server. It is basically like a password. In terms of new features, it should have the ability to increase and decrease the instance size based on certain times of the day. We should be able to do this without turning off the EC2 instance. Currently, you have to turn it off and then turn it back on. It should also have HTTPS or SSL integration.""The initial deployment was complex."

More Amazon EC2 Cons →

"The overall performance of this solution could be improved. We would also like to have better integration with other AWS features.""The runtime for the solution can be improved.""AWS Lambda needs to improve its stability.""My opinion is that the integration could be improved in this solution. We have had some difficulties integrating the EC2 module, but we found a solution for that by ourselves.""We face some problems with the event-driven execution model.""Lambda would benefit from a debugging feature as well.""The product could make the process of integration easier.""If it is a specific ETL process or a long-term one, then AWS Lambda is not a good option."

More AWS Lambda Cons →

Pricing and Cost Advice
  • "Pricing appears to be cheap, however, it is extremely difficult in calculating what something will cost."
  • "It has helped to reduce costs with infrastructure."
  • "EC2 pricing is somewhat transparent, in that AWS provides pricing for all instance types. However, the number of pricing options can be confusing."
  • "For our usage, the cost is approximately $20,000 to $23,000 per month."
  • "There is a license required to use this solution and we pay on a monthly basis."
  • "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 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."
  • More Amazon EC2 Pricing and Cost Advice →

  • "AWS is slightly more expensive than Azure."
  • "Its pricing is on the higher side."
  • "The price of the solution is reasonable and it is a pay-per-use model. It is very good for cost optimization."
  • "The cost is based on runtime."
  • "The fees are volume-based."
  • "AWS Lambda is inexpensive."
  • "Lambda is a good and cheap solution and I would recommend it to those without a huge payload."
  • "For licensing, we pay a yearly subscription."
  • More AWS Lambda Pricing and Cost Advice →

    report
    Use our free recommendation engine to learn which Compute Service solutions are best for your needs.
    772,649 professionals have used our research since 2012.
    Questions from the Community
    Top Answer:The scalability and elasticity are helpful.
    Top Answer:We pay a monthly subscription fee. The price can be improved.
    Top Answer:Accessibility must be improved. It is important to know how fast we can get to the solution. It would be nice if the interface would pop up without much loading. The product must be faster and more… more »
    Top Answer: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… more »
    Top Answer:The tool scales automatically based on the number of incoming requests.
    Top Answer:We only need to pay for the compute time our code consumes. The solution does not cost much.
    Ranking
    3rd
    out of 16 in Compute Service
    Views
    2,542
    Comparisons
    1,652
    Reviews
    42
    Average Words per Review
    341
    Rating
    8.6
    1st
    out of 16 in Compute Service
    Views
    11,937
    Comparisons
    8,175
    Reviews
    39
    Average Words per Review
    391
    Rating
    8.6
    Comparisons
    AWS Fargate logo
    Compared 63% of the time.
    Apache Spark logo
    Compared 14% of the time.
    AWS Batch logo
    Compared 8% of the time.
    Apache NiFi logo
    Compared 7% of the time.
    AWS Batch logo
    Compared 27% of the time.
    Apache NiFi logo
    Compared 16% of the time.
    Apache Spark logo
    Compared 13% of the time.
    Also Known As
    Amazon Elastic Compute Cloud, EC2
    Learn More
    Overview

    Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers.

    Amazon EC2’s simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use. Amazon EC2 provides developers the tools to build failure resilient applications and isolate them from common failure scenarios.

    AWS Lambda is a compute service that lets you run code without provisioning or managing servers. AWS Lambda executes your code only when needed and scales automatically, from a few requests per day to thousands per second. You pay only for the compute time you consume - there is no charge when your code is not running. With AWS Lambda, you can run code for virtually any type of application or backend service - all with zero administration. AWS Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. All you need to do is supply your code in one of the languages that AWS Lambda supports (currently Node.js, Java, C# and Python).

    You can use AWS Lambda to run your code in response to events, such as changes to data in an Amazon S3 bucket or an Amazon DynamoDB table; to run your code in response to HTTP requests using Amazon API Gateway; or invoke your code using API calls made using AWS SDKs. With these capabilities, you can use Lambda to easily build data processing triggers for AWS services like Amazon S3 and Amazon DynamoDB process streaming data stored in Amazon Kinesis, or create your own back end that operates at AWS scale, performance, and security.

    Sample Customers
    Netflix, Expedia, TimeInc., Novaris, airbnb, Lamborghini
    Netflix
    Top Industries
    REVIEWERS
    Computer Software Company28%
    Financial Services Firm14%
    Comms Service Provider10%
    Government7%
    VISITORS READING REVIEWS
    Financial Services Firm21%
    Computer Software Company17%
    University7%
    Educational Organization6%
    REVIEWERS
    Financial Services Firm24%
    Computer Software Company21%
    Non Profit5%
    Educational Organization5%
    VISITORS READING REVIEWS
    Educational Organization48%
    Financial Services Firm12%
    Computer Software Company8%
    Manufacturing Company4%
    Company Size
    REVIEWERS
    Small Business43%
    Midsize Enterprise20%
    Large Enterprise37%
    VISITORS READING REVIEWS
    Small Business20%
    Midsize Enterprise12%
    Large Enterprise68%
    REVIEWERS
    Small Business38%
    Midsize Enterprise15%
    Large Enterprise47%
    VISITORS READING REVIEWS
    Small Business10%
    Midsize Enterprise52%
    Large Enterprise38%
    Buyer's Guide
    AWS Lambda vs. Amazon EC2
    May 2024
    Find out what your peers are saying about AWS Lambda vs. Amazon EC2 and other solutions. Updated: May 2024.
    772,649 professionals have used our research since 2012.

    Amazon EC2 is ranked 3rd in Compute Service with 60 reviews while AWS Lambda is ranked 1st in Compute Service with 70 reviews. Amazon EC2 is rated 8.6, while AWS Lambda is rated 8.6. The top reviewer of Amazon EC2 writes "Easy to scale and valuable features include the security group and key management". On the other hand, the top reviewer of AWS Lambda writes "An easily scalable solution with a variety of use cases and valuable event-based triggers". Amazon EC2 is most compared with AWS Fargate, Apache Spark, AWS Batch and Apache NiFi, whereas AWS Lambda is most compared with AWS Batch, Amazon EC2 Auto Scaling, Apache NiFi and Apache Spark. See our AWS Lambda vs. Amazon EC2 report.

    See our list of best Compute Service vendors.

    We monitor all Compute Service reviews to prevent fraudulent reviews and keep review quality high. We do not post reviews by company employees or direct competitors. We validate each review for authenticity via cross-reference with LinkedIn, and personal follow-up with the reviewer when necessary.