High-Performing Storage: S3 vs EBS vs EFS, Volume Types, and Hybrid Options
High-performing storage on AWS means matching how an application addresses its data (as objects, blocks or files) to the service and configuration that meets its IOPS, throughput, latency and growth needs at the lowest cost. Task 3.1 covers that whole decision: object, block, file and hybrid storage by access pattern; EBS volume types and their current limits; when instance store's raw speed is worth its impermanence; EFS throughput modes, storage classes and One Zone; the FSx family and its deployment types; S3 upload, download and request-rate optimization, including S3 Express One Zone; and bridging on-premises data with Storage Gateway or DataSync. The questions rarely ask what a storage service is. They describe an application, its I/O behaviour and a constraint such as no downtime, survive an AZ failure or lowest cost, and offer options that all technically store bytes. By the end of this lesson you will be able to read the access pattern out of a scenario, map it to the right service and configuration, and eliminate near-miss options on cost, latency, availability or scaling grounds.
What you’ll learn
- Classify any workload's storage need as object, block, file, or hybrid from its access pattern
- Select the right EBS volume type (gp3, io2 Block Express, st1, or sc1) from current IOPS, throughput, latency, and cost limits
- Change EBS volumes in place with Elastic Volumes and use Multi-Attach, RAID 0 and Snapshots Archive where each fits
- Decide when instance store, EFS, or an FSx variant beats EBS, and pick EFS throughput mode, storage class and Regional or One Zone storage
- Choose FSx deployment types (Windows Single-AZ vs Multi-AZ, Lustre scratch vs persistent) and know which FSx variants speak SMB
- Fix S3 bottlenecks by cause: multipart and byte-range for size, Transfer Acceleration for distance, prefixes and CloudFront for request rate, S3 Express One Zone for same-AZ latency
- Choose between Storage Gateway types and DataSync for hybrid access, tape replacement, and data movement
- Apply the selection logic under qualifiers such as MOST cost-effective, MOST performant and least operational overhead
The 10 parts · about 21 min of reading
- Storage types are access patternsStart hereClassify the access pattern first: mount or POSIX means file, attach or boot means EBS, and API access at web scale means S3.2 min
- EBS volume typesSSD types sell IOPS for random I/O, HDD types sell throughput for sequential scans, and IOPS and latency are separate tests.2 min
- Changing EBS volumesElastic Volumes changes type, size and IOPS with no downtime, while Multi-Attach needs io1/io2 in one AZ and a cluster-aware file system.2 min
- Instance storeLocal NVMe gives EC2 its fastest I/O but is lost on stop or hardware failure, so use it only for temporary or replicated data.2 min
- EFS: shared POSIX file storage that scales itselfEFS shares NFS files across AZs with elastic capacity, and a throttled Bursting file system moves to Elastic or Provisioned throughput.3 min
- FSx: when the workload names its file systemThe scenario's noun picks the variant: Windows or Active Directory means Windows File Server, HPC means Lustre, NetApp means ONTAP.2 min
- S3 performanceName the bottleneck first: multipart and byte-range for size, Transfer Acceleration for distance, prefixes or CloudFront for request rate.2 min
- Hybrid storageStorage Gateway gives on-premises apps ongoing cached access to data in AWS, while DataSync moves data in once or on a schedule.2 min
- The storage-selection tableExtract the trigger phrase, map it to a service, and let MOST performant or MOST cost-effective qualifiers break ties between rows.2 min
- Worked scenariosIOPS and latency are independent gates, and naming the access pattern before the service turns a shared hybrid build directory into EFS.2 min
Mind map
How the exam tests this
SAA-C03 tests Task 3.1 with scenario questions that describe an application's I/O behaviour (random or sequential, shared or single-instance, temporary or durable, near or far, steady or spiky) and a constraint such as no downtime, survive an AZ failure, keep existing backup jobs, or lowest cost. Common shapes: the EBS ladder with a stated IOPS figure and latency tolerance (gp3 versus io2 Block Express), changing a volume in place with Elastic Volumes, the S3-vs-EFS-vs-EBS choice for shared access, EFS throughput mode by load shape and storage class for cost, FSx by protocol and deployment type, the S3 optimization matched to its bottleneck (multipart, Transfer Acceleration, prefixes and CloudFront for 503 errors), and the Storage Gateway type or DataSync for hybrid needs. Wrong options are usually near-misses: a service that meets one stated requirement but misses another, such as the right performance with the wrong durability or the right capacity at the wrong cost. Reading the qualifier (MOST cost-effective versus MOST performant, least operational overhead) decides between options that all work.
Key takeaways
- Classify by access pattern first: mounted raw disk = EBS (block), shared directories across instances = EFS/FSx (file), API-accessed web-scale data = S3 (object).
- EBS ladder: gp3 by default (up to 80,000 IOPS and 2,000 MiB/s, single-digit-millisecond latency); io2 Block Express when IOPS exceed that or latency must be sub-millisecond; st1 for cheap sequential throughput; sc1 for cold data that must stay mounted. HDDs never boot.
- gp3 decouples performance from capacity, and Elastic Volumes changes type, IOPS and throughput in place with no downtime. RAID 0 adds IOPS, never a lower latency class.
- Multi-Attach is io1/io2 only, same AZ, cluster-aware file system: a shared block device, not a substitute for EFS.
- Instance store is the fastest storage EC2 can touch and vanishes on stop or failure; io2 Block Express is the durable, network-attached alternative when the data is not replicated elsewhere.
- EFS: Elastic throughput is the default for spiky or unknown load, Provisioned for steady known load; storage classes (Standard, IA, Archive) are the cost lever, and Archive needs Elastic throughput. One Zone is cheaper but lives and fails with one AZ.
- Windows/SMB/AD means FSx for Windows File Server (Multi-AZ to survive an AZ failure); FSx for OpenZFS is NFS only; HPC over S3 data means FSx for Lustre, scratch for short bursts.
- S3 by bottleneck: multipart and byte-range for size, Transfer Acceleration for distance (no caching), prefixes (re-key existing hot objects) and CloudFront for 503 Slow Down, S3 Express One Zone for same-AZ latency.
- Hybrid: Storage Gateway for ongoing access with a local cache (Tape Gateway archives to Glacier Deep Archive without changing backup jobs); DataSync for one-time or scheduled movement.
- Read the qualifier: under MOST cost-effective, pick the cheapest option that still meets every stated requirement; under MOST performant, meet the performance requirement first and treat cost as secondary.
Part 1: Storage types are access patterns
Classify the access pattern first: mount or POSIX means file, attach or boot means EBS, and API access at web scale means S3.
Frequently asked questions
What is the difference between S3, EBS, and EFS?
They differ by access pattern. Amazon EBS is block storage: a virtual disk attached to a single EC2 instance in one Availability Zone — the choice for boot volumes and databases that expect a local disk. Amazon EFS is file storage: a managed NFS file system that many Linux instances mount concurrently across multiple AZs, with POSIX permissions and locking, and capacity that grows automatically. Amazon S3 is object storage: data stored as objects behind an HTTP API with virtually unlimited capacity and aggregate throughput, ideal for static assets, backups, and data lakes. Match the service to how the application addresses data — disk, shared directory, or API.
When should I use gp3 vs io2 EBS volumes?
Use gp3 unless a requirement exceeds it. gp3 includes 3,000 IOPS and 125 MiB/s at any size and can be provisioned up to 80,000 IOPS and 2,000 MiB/s, independently of volume size, with single-digit-millisecond latency, so it suits boot volumes, application servers and most databases, including busy ones. Choose io2 Block Express when the workload needs more IOPS than gp3 can provision (io2 Block Express reaches 256,000) or latency that stays consistently below one millisecond, typically for mission-critical transactional databases. If both the IOPS figure and the latency tolerance fit within gp3, io2 costs more for no benefit; striping gp3 volumes adds IOPS but never lowers latency.
Can multiple EC2 instances share one EBS volume?
Only in a narrow case. EBS Multi-Attach lets a Provisioned IOPS SSD volume (io1 or io2) attach to up to 16 Nitro-based instances at once; gp3, gp2 and HDD volumes do not support it. All instances must be in the volume's Availability Zone, and the application must use a cluster-aware file system that coordinates writes, because a standard file system like ext4 or XFS would corrupt data. It exists for clustered applications that need a shared block device. When instances, especially across AZs, need to share files, use a file service: Amazon EFS for Linux/NFS or Amazon FSx for Windows File Server for SMB.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.