AWS Lambda vs Amazon EC2 comparison

Cancel
You must select at least 2 products to compare!
Amazon Web Services (AWS) Logo
2,594 views|1,667 comparisons
98% willing to recommend
Amazon Web Services (AWS) Logo
12,234 views|8,541 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: March 2024).
768,740 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
"The most valuable feature is autoscaling.""The most valuable feature of this solution is the ability to have standard operating systems along with the Windows, Linux operating systems, and their maintenance-free structure, which we prefer.""The most valuable feature is EC2 is scalable, so when you want to move to market, you don't need to wait until your provision is fast, you can just go and provision it and then easily install your application.""The initial setup is straightforward.""The most valuable features are the scalability options, low maintenance, and options to upgrade. AWS support is also pretty good. The generation upgrade is pretty simple and standardized.""EC2 provides a lot of flexibility. If you don't want to have a separate on-premise database, you can put it on the cloud with EC2. You can adjust the instance type according to your needs. You select a size and get a certain amount of specific memory, CPUs, etc. You set the redirect limit, and from there, you install the software, database servers, application servers, and whatever you want.""I use it for NextCloud and for developer purposes.""This is a user-friendly solution."

More Amazon EC2 Pros →

"The solution runs on the latest cloud technology so it is easy to deploy cloud-native projects.""The tool scales automatically based on the number of incoming requests.""AWS Lambda's most valuable feature is serverless architecture.""The cool thing about AWS Lambda is that AWS does all the management. For compression, it is all about making the data small and then making it regular size again. We have an encode function and a decode function. AWS Lambda schedules each of those for us. It has a load balancer and all the fancy stuff, depending on the demand. The most valuable part of AWS Lambda is that I only need to write the software. I need to write two functions, and my cloud developer turns them into two AWS Lambda instances. That's it.""The ease and speed of developing the services using any available language is the most valuable feature.""The stability is good.""The initial setup of AWS Lambda is very straightforward and quick.""It's also suitable for companies of any size. For example, we're a large enterprise, and we've used Lambda without any problems in the last 10 months."

More AWS Lambda Pros →

Cons
"If the solution was cheaper, if the price was less, it would be better.""Amazon EC2 could improve by having integration with other cloud systems, such as Azure, and Google Cloud which would be good. Additionally, having integration with on-premise systems would be appreciated.""EC2 is a little expensive.""I would like to see as much automation for data validation as possible in the future.""Its price can be reduced.""The GUI used to deploy EC2 must be improved.""The ease of migrating applications could be improved.""am concerned about the tool's data security."

More Amazon EC2 Cons →

"What could be improved in AWS Lambda is a tricky question because I base the area for improvement on a specific matrix, for example, latency, so I'm still determining if I can be the judge on that. However, room for improvement could be when you're using AWS Lambda as a backend, it can be challenging to use it for monitoring. Monitoring is critical in development, and I don't have much expertise in the area, but you can use other services such as Xray. I found that monitoring on AWS Lambda is a challenge. The tool needs better monitoring. Another area for improvement in AWS Lambda is the cold start, where it takes some time to invoke a function the first time, but after that, invoking it becomes swift. Still, there's room for improvement in that AWS Lambda process. In the next release of AWS Lambda, I'd like AWS to improve monitoring so that I can monitor codes better.""I have seen some drawbacks with certain integrations.""Lambda could be improved in the sense that some of the things done with Lambda function take some time. So the performance could be better and faster.""The solution should continue to streamline integrations with AWS services.""Its price should be improved. Its pricing is on the higher side. I am not sure if it currently supports the Go language. If it doesn't support the Go language, they can introduce it.""The deployment process is a bit complex, so it could be simplified to make it easier for beginners to deploy.""We need to better understand Lambda for different scenarios. We need some joint effort between Amazon and the users to have the users identify how they can really leverage Lambda. It's not about Lambda itself; it's about the practice, the guidance. There needs to be very good documentation. From the user perspective, what exists now is not always enough.""There's room for improvement in the testing setup."

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.
    768,740 professionals have used our research since 2012.
    Questions from the Community
    Top Answer:Amazon EC2 is really reliable and provides great flexibility.
    Top Answer:The solution has different pricing models, and its cost differs when you purchase it for one year or three years.
    Top Answer:The solution’s pricing and downtimes could be improved. I would like to have a better pricing model for Amazon EC2 instances because it comes with different pricing models. The solution's cost differs… 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
    4th
    out of 16 in Compute Service
    Views
    2,594
    Comparisons
    1,667
    Reviews
    46
    Average Words per Review
    347
    Rating
    8.6
    1st
    out of 16 in Compute Service
    Views
    12,234
    Comparisons
    8,541
    Reviews
    39
    Average Words per Review
    391
    Rating
    8.6
    Comparisons
    AWS Fargate logo
    Compared 62% of the time.
    Apache Spark logo
    Compared 12% of the time.
    Apache NiFi logo
    Compared 7% of the time.
    AWS Batch logo
    Compared 5% of the time.
    Google App Engine logo
    Compared 2% of the time.
    AWS Batch logo
    Compared 32% of the time.
    Apache NiFi logo
    Compared 14% of the time.
    Apache Spark logo
    Compared 11% 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 Company31%
    Financial Services Firm15%
    Comms Service Provider12%
    Government8%
    VISITORS READING REVIEWS
    Financial Services Firm20%
    Computer Software Company17%
    Manufacturing Company6%
    Educational Organization6%
    REVIEWERS
    Financial Services Firm24%
    Computer Software Company21%
    Non Profit5%
    Educational Organization5%
    VISITORS READING REVIEWS
    Educational Organization46%
    Financial Services Firm12%
    Computer Software Company8%
    Manufacturing Company4%
    Company Size
    REVIEWERS
    Small Business46%
    Midsize Enterprise16%
    Large Enterprise39%
    VISITORS READING REVIEWS
    Small Business20%
    Midsize Enterprise12%
    Large Enterprise68%
    REVIEWERS
    Small Business38%
    Midsize Enterprise16%
    Large Enterprise45%
    VISITORS READING REVIEWS
    Small Business10%
    Midsize Enterprise50%
    Large Enterprise39%
    Buyer's Guide
    AWS Lambda vs. Amazon EC2
    March 2024
    Find out what your peers are saying about AWS Lambda vs. Amazon EC2 and other solutions. Updated: March 2024.
    768,740 professionals have used our research since 2012.

    Amazon EC2 is ranked 4th in Compute Service with 56 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, Apache NiFi, AWS Batch and Google App Engine, whereas AWS Lambda is most compared with AWS Batch, Amazon EC2 Auto Scaling, Apache NiFi, Apache Spark and Azure Stream Analytics. 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.