StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Infrastructure as a Service
  4. Cloud Storage
  5. AWS Lambda vs Amazon EBS

AWS Lambda vs Amazon EBS

OverviewDecisionsComparisonAlternatives

Overview

Amazon EBS
Amazon EBS
Stacks650
Followers542
Votes82
AWS Lambda
AWS Lambda
Stacks26.0K
Followers18.8K
Votes432

AWS Lambda vs Amazon EBS: What are the differences?

AWS Lambda vs Amazon EBS

AWS Lambda and Amazon EBS are two essential services provided by Amazon Web Services (AWS). While both services are commonly used for serverless computing and storage, there are key differences between the two.

  1. Scalability: AWS Lambda enables auto-scaling by automatically adjusting resources based on the incoming workload. It allows the execution of code without provisioning or managing servers. On the other hand, Amazon EBS provides scalable block storage volumes that can be attached to EC2 instances, allowing the storage capacity to be flexibly adjusted.

  2. Billing: AWS Lambda charges users based on the number of requests and the duration of code execution in milliseconds, offering a pay-per-usage model. In contrast, Amazon EBS bills users based on the provisioned storage capacity, so users pay for the allocated storage regardless of usage.

  3. Execution Environment: AWS Lambda provides an execution environment where users can run their code without the need for server management. It supports several programming languages and offers serverless functions. However, Amazon EBS is a block-level storage service that provides persistent storage volumes for use with EC2 instances.

  4. Usage Pattern: AWS Lambda is commonly used for event-driven applications, real-time stream processing, and automatic scaling of APIs. It allows for rapid development and execution of code in response to events. On the other hand, Amazon EBS is generally utilized for persistent storage of data, databases, and file systems requiring higher I/O throughput.

  5. Scaling Limitations: AWS Lambda has certain limitations on execution duration, CPU usage, and memory allocation. It is designed to handle short-lived tasks and has a maximum execution duration of 15 minutes. In contrast, Amazon EBS can handle long-running applications and sustains consistent performance even for extended periods.

  6. Deployment Model: AWS Lambda supports serverless deployment, where users only need to upload their code and configure triggers. It abstracts the underlying infrastructure, allowing developers to focus on writing functions. Amazon EBS, on the other hand, requires manual deployment and configuration as it is primarily used for persistent storage of EC2 instances.

In summary, AWS Lambda is a serverless compute service that enables event-driven execution of code with auto-scaling capabilities, while Amazon EBS is a scalable block storage service used for persistent storage of data in EC2 instances.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Amazon EBS, AWS Lambda

Tim
Tim

CTO at Checkly Inc.

Sep 18, 2019

Needs adviceonHerokuHerokuAWS LambdaAWS Lambda

When adding a new feature to Checkly rearchitecting some older piece, I tend to pick Heroku for rolling it out. But not always, because sometimes I pick AWS Lambda . The short story:

  • Developer Experience trumps everything.
  • AWS Lambda is cheap. Up to a limit though. This impact not only your wallet.
  • If you need geographic spread, AWS is lonely at the top.

The setup

Recently, I was doing a brainstorm at a startup here in Berlin on the future of their infrastructure. They were ready to move on from their initial, almost 100% Ec2 + Chef based setup. Everything was on the table. But we crossed out a lot quite quickly:

  • Pure, uncut, self hosted Kubernetes — way too much complexity
  • Managed Kubernetes in various flavors — still too much complexity
  • Zeit — Maybe, but no Docker support
  • Elastic Beanstalk — Maybe, bit old but does the job
  • Heroku
  • Lambda

It became clear a mix of PaaS and FaaS was the way to go. What a surprise! That is exactly what I use for Checkly! But when do you pick which model?

I chopped that question up into the following categories:

  • Developer Experience / DX 🤓
  • Ops Experience / OX 🐂 (?)
  • Cost 💵
  • Lock in 🔐

Read the full post linked below for all details

357k views357k
Comments

Detailed Comparison

Amazon EBS
Amazon EBS
AWS Lambda
AWS Lambda

Amazon EBS volumes are network-attached, and persist independently from the life of an instance. Amazon EBS provides highly available, highly reliable, predictable storage volumes that can be attached to a running Amazon EC2 instance and exposed as a device within the instance. Amazon EBS is particularly suited for applications that require a database, file system, or access to raw block level storage.

AWS Lambda is a compute service that runs your code in response to events and automatically manages the underlying compute resources for you. You can use AWS Lambda to extend other AWS services with custom logic, or create your own back-end services that operate at AWS scale, performance, and security.

Amazon EBS allows you to create storage volumes from 1 GB to 1 TB that can be mounted as devices by Amazon EC2 instances. Multiple volumes can be mounted to the same instance.;Amazon EBS enables you to provision a specific level of I/O performance if desired, by choosing a Provisioned IOPS volume. This allows you to predictably scale to thousands of IOPS per Amazon EC2 instance.;Storage volumes behave like raw, unformatted block devices, with user supplied device names and a block device interface. You can create a file system on top of Amazon EBS volumes, or use them in any other way you would use a block device (like a hard drive).;Amazon EBS volumes are placed in a specific Availability Zone, and can then be attached to instances also in that same Availability Zone.;Each storage volume is automatically replicated within the same Availability Zone. This prevents data loss due to failure of any single hardware component.;Amazon EBS also provides the ability to create point-in-time snapshots of volumes, which are persisted to Amazon S3. These snapshots can be used as the starting point for new Amazon EBS volumes, and protect data for long-term durability. The same snapshot can be used to instantiate as many volumes as you wish. These snapshots can be copied across AWS regions, making it easier to leverage multiple AWS regions for geographical expansion, data center migration and disaster recovery.;AWS also enables you to create new volumes from AWS hosted public data sets.;Amazon CloudWatch exposes performance metrics for EBS volumes, giving you insight into bandwidth, throughput, latency, and queue depth. The metrics are accessible via the AWS CloudWatch API or the AWS Management Console. For more details, see Amazon CloudWatch.
Extend other AWS services with custom logic;Build custom back-end services;Completely Automated Administration;Built-in Fault Tolerance;Automatic Scaling;Integrated Security Model;Bring Your Own Code;Pay Per Use;Flexible Resource Model
Statistics
Stacks
650
Stacks
26.0K
Followers
542
Followers
18.8K
Votes
82
Votes
432
Pros & Cons
Pros
  • 36
    Point-in-time snapshots
  • 27
    Data reliability
  • 19
    Configurable i/o performance
Pros
  • 129
    No infrastructure
  • 83
    Cheap
  • 70
    Quick
  • 59
    Stateless
  • 47
    No deploy, no server, great sleep
Cons
  • 7
    Cant execute ruby or go
  • 3
    Compute time limited
  • 1
    Can't execute PHP w/o significant effort

What are some alternatives to Amazon EBS, AWS Lambda?

Amazon S3

Amazon S3

Amazon Simple Storage Service provides a fully redundant data storage infrastructure for storing and retrieving any amount of data, at any time, from anywhere on the web

Google Cloud Storage

Google Cloud Storage

Google Cloud Storage allows world-wide storing and retrieval of any amount of data and at any time. It provides a simple programming interface which enables developers to take advantage of Google's own reliable and fast networking infrastructure to perform data operations in a secure and cost effective manner. If expansion needs arise, developers can benefit from the scalability provided by Google's infrastructure.

Azure Functions

Azure Functions

Azure Functions is an event driven, compute-on-demand experience that extends the existing Azure application platform with capabilities to implement code triggered by events occurring in virtually any Azure or 3rd party service as well as on-premises systems.

Google Cloud Run

Google Cloud Run

A managed compute platform that enables you to run stateless containers that are invocable via HTTP requests. It's serverless by abstracting away all infrastructure management.

Azure Storage

Azure Storage

Azure Storage provides the flexibility to store and retrieve large amounts of unstructured data, such as documents and media files with Azure Blobs; structured nosql based data with Azure Tables; reliable messages with Azure Queues, and use SMB based Azure Files for migrating on-premises applications to the cloud.

Minio

Minio

Minio is an object storage server compatible with Amazon S3 and licensed under Apache 2.0 License

OpenEBS

OpenEBS

OpenEBS allows you to treat your persistent workload containers, such as DBs on containers, just like other containers. OpenEBS itself is deployed as just another container on your host.

Serverless

Serverless

Build applications comprised of microservices that run in response to events, auto-scale for you, and only charge you when they run. This lowers the total cost of maintaining your apps, enabling you to build more logic, faster. The Framework uses new event-driven compute services, like AWS Lambda, Google CloudFunctions, and more.

Google Cloud Functions

Google Cloud Functions

Construct applications from bite-sized business logic billed to the nearest 100 milliseconds, only while your code is running

Rackspace Cloud Files

Rackspace Cloud Files

Cloud Files, powered by OpenStack®, provides an easy to use online storage for files and media which can be delivered globally at blazing speeds over Akamai's content delivery network (CDN).

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase