EC2 Storage Overview
- EC2 storage provides flexible, cost-effective, and easy-to-use storage options with a unique combination of performance and durability
- Elastic Block Store (EBS)
- EC2 Instance Store
- Simple Storage Service (S3)
- Elastic File System (EFS)
- Amazon FSx (FSx for Windows File Server, FSx for Lustre, FSx for NetApp ONTAP, FSx for OpenZFS)
- While EBS and Instance store are Block level, Amazon S3 is an Object level storage, and EFS/FSx are File level storage.

Storage Types
Elastic Block Store – EBS
- Elastic Block Store – EBS provides highly available, reliable, durable, block-level storage volumes that can be attached to an EC2 instance.
- persists independently from the running life of an instance.
- behaves like a raw, unformatted, external block device that can be attached to a single EC2 instance at a time (except Multi-Attach enabled io1/io2 volumes that can attach to up to 16 Nitro-based instances).
- is recommended for data that requires frequent and granular updates e.g. running a database or filesystem.
- is Zonal and can be attached to any instance within the same Availability Zone and can be used like any other physical hard drive.
- is particularly well-suited for use as the primary storage for file systems, databases, or any applications that require fine granular updates and access to raw, unformatted, block-level storage.
- provides six volume types: Provisioned IOPS SSD (io2 Block Express and io1), General Purpose SSD (gp3 and gp2), Throughput Optimized HDD (st1) and Cold HDD (sc1).
- General Purpose SSD (gp3) volumes support up to 64 TiB, 80,000 IOPS, and 2,000 MiB/s throughput (enhanced in September 2025 from 16 TiB, 16,000 IOPS, 1,000 MiB/s).
- Provisioned IOPS SSD (io2 Block Express) volumes support up to 64 TiB, 256,000 IOPS, and 4,000 MB/s throughput with sub-millisecond latency and 99.999% durability.
- supports data protection features including Snapshots, EBS Snapshot Archive, Recycle Bin (accidental deletion protection), and Snapshot Lock (WORM protection).
Instance Store Storage
- Instance store provides temporary or Ephemeral block-level storage.
- is located on the disks that are physically attached to the host computer.
- consists of one or more instance store volumes exposed as block devices.
- The size of an instance store varies by instance type.
- Virtual devices for instance store volumes are ephemeral[0-23], starting the first one as ephemeral0 and so on.
- While an instance store is dedicated to a particular instance, the disk subsystem is shared among instances on a host computer.
- is ideal for temporary storage of information that changes frequently, such as buffers, caches, scratch data, and other temporary content, or for data that is replicated across a fleet of instances, such as a load-balanced pool of web servers.
- delivers very high random I/O performance and is a good option for storage with very low latency requirements, but you don’t need the data to persist when the instance terminates or you can take advantage of fault-tolerant architectures.
- Data is lost when the instance is stopped, terminated, or the underlying host fails. Data persists during an instance reboot.
- Instance store volumes are included as part of the usage cost of the instance.
Amazon EBS vs Instance Store
More detailed @ Comparison of EBS vs Instance Store
Simple Storage Service – S3
More details @ AWS S3
Elastic File System – EFS
- Elastic File System – EFS provides a simple, fully managed, easy-to-set-up, scalable, serverless, and cost-optimized file storage.
- can automatically scale from gigabytes to petabytes of data without needing to provision storage.
- provides managed NFS (network file system) that can be mounted on and accessed by multiple EC2 instances in multiple AZs simultaneously.
- offers highly durable, highly scalable, and highly available storage.
- EFS Regional file systems (recommended) store data redundantly across multiple AZs in the same region.
- EFS One Zone file systems provide lower-cost option storing data in a single AZ.
- grows and shrinks automatically as files are added and removed, so there is no need to manage storage procurement or provisioning.
- supports the Network File System version 4 (NFSv4.1 and NFSv4.0) protocol.
- provides file system access semantics, such as strong data consistency and file locking.
- is compatible with all Linux-based AMIs for EC2, POSIX file system (~Linux) that has a standard file API.
- is a shared POSIX system for Linux systems and does not work for Windows (use FSx for Windows File Server instead).
- offers the ability to encrypt data at rest using KMS and in transit.
- can be accessed from on-premises using an AWS Direct Connect or AWS VPN connection between the on-premises datacenter and VPC.
- can be accessed concurrently from servers in the on-premises data center as well as EC2 instances in the VPC.
- supports up to 2.5 million read IOPS and 500,000 write IOPS per file system (10x increase announced Nov 2024).
- supports Elastic Throughput of up to 60 GiB/s read and 5 GiB/s write throughput per file system.
- supports up to 10,000 access points per file system for application-specific access management (increased Feb 2025).
- supports IPv6 for both EFS APIs and mount targets (added Jun 2025).
Amazon FSx
- Amazon FSx provides fully managed file storage built on four widely-used file systems: Lustre, NetApp ONTAP, OpenZFS, and Windows File Server.
- FSx for Windows File Server – provides fully managed Windows-native shared file storage using SMB protocol. Supports Windows features like Active Directory, DFS, and shadow copies.
- FSx for Lustre – provides high-performance file storage optimized for fast processing of workloads such as ML, HPC, video processing, and financial modeling. Delivers up to terabytes/second of throughput and millions of IOPS.
- FSx for NetApp ONTAP – provides fully managed shared storage with NetApp ONTAP features including snapshots, clones, FlexClone, SnapMirror replication. Supports NFS, SMB, and iSCSI protocols.
- FSx for OpenZFS – provides fully managed shared storage powered by OpenZFS file system. Delivers up to 21 GB/s throughput and over 1 million IOPS for cached data. Supports NFS protocol with data compression, snapshots, and cloning.
- Use FSx for Windows File Server for Windows-based applications that need SMB protocol.
- Use FSx for Lustre for compute-intensive workloads requiring the fastest storage performance.
Block Device Mapping
- A block device is a storage device that moves data in sequences of bytes or bits (blocks) and supports random access and generally use buffered I/O for e.g. hard disks, CD-ROM etc
- Block devices can be physically attached to a computer (like an instance store volume) or can be accessed remotely as if it was attached (like an EBS volume)
- Block device mapping defines the block devices to be attached to an instance, which can either be done while creation of an AMI or when an instance is launched
- Block device must be mounted on the instance, after being attached to the instance, to be able to be accessed
- When a block device is detached from an instance, it is unmounted by the operating system and you can no longer access the storage device.
- Additional Instance store volumes can be attached only when the instance is launched while EBS volumes can be attached to a running instance.
- Viewing the block device mapping for an instance only shows the EBS volumes and not the instance store volumes. Instance metadata can be used to query the complete block device mapping.
AWS Open Data (Registry of Open Data on AWS)
- AWS provides the Registry of Open Data on AWS that makes high-value, cloud-optimized datasets publicly available for analysis on AWS.
- The registry has surpassed 1,000+ datasets and over 100 petabytes of data available for public use.
- Datasets are also discoverable on AWS Data Exchange alongside 3,000+ existing data products.
- There is no charge for accessing the public data sets. You pay only for the compute and storage you use for your own applications.
- Previously referred to as “AWS Public Data Sets,” this is now the AWS Open Data Sponsorship Program.
EC2 Storage Comparison
| Feature | EBS | Instance Store | EFS | S3 |
|---|---|---|---|---|
| Storage Type | Block | Block | File (NFS) | Object |
| Persistence | Persistent | Ephemeral | Persistent | Persistent |
| Scope | Single AZ | Single Instance | Regional (Multi-AZ) | Regional (Multi-AZ) |
| Access | Single instance (or Multi-Attach for io1/io2) | Single instance | Multiple instances concurrently | Multiple instances/services |
| Performance | Up to 256K IOPS (io2 BE) | Very high random I/O | Up to 2.5M read IOPS | Virtually unlimited |
| Use Case | Databases, boot volumes | Buffers, caches, temp data | Shared file systems, CMS | Backups, data lakes, static content |
| OS Support | Linux/Windows | Linux/Windows | Linux only | Any (via API) |
AWS Certification Exam Practice Questions
- Questions are collected from Internet and the answers are marked as per my knowledge and understanding (which might differ with yours).
- AWS services are updated everyday and both the answers and questions might be outdated soon, so research accordingly.
- AWS exam questions are not updated to keep up the pace with AWS updates, so even if the underlying feature has changed the question might not be updated
- Open to further feedback, discussion and correction.
- When you view the block device mapping for your instance, you can see only the EBS volumes, not the instance store volumes.
- Depends on the instance type
- FALSE
- Depends on whether you use API call
- TRUE
- Amazon provides the Registry of Open Data on AWS that makes high-value datasets publicly available. What is the monthly charge for using the public data sets?
- A 1 time charge of 10$ for all the datasets.
- 1$ per dataset per month
- 10$ per month for all the datasets
- There is no charge for using the public data sets
- How many types of block devices does Amazon EC2 support?
- 2 (EBS volumes and Instance Store volumes)
- 4
- 3
- 1
- A company needs shared file storage for Linux-based EC2 instances across multiple Availability Zones. Which AWS storage service should they use?
- Amazon EBS with Multi-Attach
- Amazon S3
- Amazon EFS
- Amazon FSx for Windows File Server
- Which EC2 storage option provides the highest random I/O performance but does NOT persist data when the instance is stopped or terminated?
- Amazon EBS gp3
- Amazon EBS io2 Block Express
- EC2 Instance Store
- Amazon EFS
- A company requires Windows-based shared file storage with SMB protocol support. Which AWS service is the most appropriate?
- Amazon EFS
- Amazon EBS
- Amazon FSx for Windows File Server
- Amazon S3
- Which statement about EBS Multi-Attach is correct?
- Multi-Attach is supported on all EBS volume types
- Multi-Attach allows io1/io2 volumes to be attached to up to 16 Nitro-based instances in the same AZ
- Multi-Attach allows volumes to be attached to instances across multiple AZs
- Multi-Attach is only supported on gp3 volumes
- What is the maximum IOPS supported by Amazon EBS General Purpose SSD (gp3) volumes? [Updated Sept 2025]
- 16,000 IOPS
- 64,000 IOPS
- 80,000 IOPS
- 256,000 IOPS









