Volume 5 · Chapter 9 — Storage and Databases

EBS and File Storage in Depth

Goutham Mayaluri 5 min read AWSCloudEBSStorageDatabases

9.1 Introduction

Block and file storage have far more exam detail than the fundamentals chapter covered: the EBS volume types and their IOPS/throughput characteristics, snapshots and Data Lifecycle Manager, multi-attach; the EFS performance modes and lifecycle; the FSx family; and the hybrid storage services (Storage Gateway, DataSync, Transfer Family). This chapter provides that depth so you can choose the right storage for any workload.

9.2 EBS Volume Types

EBS volumes come in two categories.SSD-backed(for IOPS-intensive, transactional workloads):gp3(general purpose, baseline 3,000 IOPS with independently-provisioned IOPS/throughput - the modern default, cheaper than gp2),gp2(older, IOPS tied to size),io2 Block Express / io1(highest IOPS and durability for critical databases, supports Multi-Attach and higher throughput).HDD-backed(for throughput-oriented, sequential workloads):st1(throughput-optimized, for big data/log processing) andsc1(cold, cheapest, infrequent access). HDD volumes can’t be boot volumes. Exam pattern: gp3 as the default, io2 for high-performance/critical databases needing high IOPS or Multi-Attach, st1 for throughput/streaming, sc1 for cold/cheap.Elastic Volumeslet you change type, size, and IOPS live without downtime.

9.3 Snapshots, DLM, and Multi-Attach

EBS snapshotsare incremental point-in-time backups stored in S3 (managed by AWS), usable to restore or create new volumes and to copy cross-Region/cross-account (for DR and sharing).**Amazon Data Lifecycle Manager (DLM)**automates snapshot creation and retention on a schedule.**Fast Snapshot Restore (FSR)**eliminates the first-access latency when restoring from a snapshot.Multi-Attach(io1/io2) lets a volume attach to multiple instances in the same AZ for clustered applications (with a cluster-aware filesystem). EBS isAZ-scoped- a volume lives in one AZ and attaches to instances in that AZ; to move it you snapshot and restore in the target AZ. These are the backup, automation, and availability mechanics the exam expects.

flowchart TD
  Q{Storage need?} -->|General default| gp3[EBS gp3]
  Q -->|Highest IOPS / critical DB / multi-attach| io2[EBS io2 Block Express]
  Q -->|Throughput / big data sequential| st1[EBS st1]
  Q -->|Cold, cheapest| sc1[EBS sc1]
  Q -->|Shared file system, many instances| efs[EFS]
  Q -->|Windows SMB / Lustre HPC / NetApp| fsx[FSx family]

9.4 EFS in Depth and the FSx Family

EFSis a managed elastic NFS shared across many instances and AZs (Regional, highly available). It has performance and throughput modes (General Purpose vs Max I/O; Bursting vs Provisioned/Elastic throughput) andstorage classes with lifecycle(Standard and Infrequent Access) to move cold files to cheaper storage automatically; access points provide application-specific entry points. TheFSx familyprovides fully-managed third-party/high-performance file systems:FSx for Windows File Server(SMB, Active Directory-integrated - for Windows workloads),FSx for Lustre(high-performance computing, integrates with S3 - for ML/HPC/analytics),FSx for NetApp ONTAP(multi-protocol, NetApp features), andFSx for OpenZFS. The exam pattern: EFS for Linux NFS shared storage, FSx for Windows for SMB/AD, FSx for Lustre for HPC/ML with S3 integration.

9.5 Hybrid Storage: Storage Gateway, DataSync, Transfer Family

Three services bridge on-premises and AWS storage.AWS Storage Gatewaygives on-premises apps cloud-backed storage:File Gateway(NFS/SMB backed by S3),Volume Gateway(iSCSI block, cached or stored, backed by S3/EBS snapshots), andTape Gateway(virtual tape library backed by Glacier - replacing physical tape backup).AWS DataSyncis a managed service for fast, one-time or scheduled bulk datatransfer/migrationbetween on-premises (or other clouds) and AWS storage (S3, EFS, FSx), with encryption and validation.AWS Transfer Familyprovides managed SFTP/FTPS/FTP endpoints backed by S3/EFS (for partners who upload via those protocols). Exam mapping: Storage Gateway for ongoing hybrid access, DataSync for bulk transfer/migration, Transfer Family for SFTP/FTP into AWS.

9.6 Banking Production Scenario

A bank runs its self-managed database on io2 Block Express EBS for high IOPS and durability, general workloads on gp3, and log-processing on st1, with DLM automating cross-Region snapshot backups and Fast Snapshot Restore for quick DR volume creation. A shared content directory across Linux instances uses EFS with lifecycle moving cold files to Infrequent Access; a Windows reporting app uses FSx for Windows File Server integrated with Active Directory; and a risk-analytics HPC job uses FSx for Lustre linked to S3. On-premises, a Tape Gateway replaces physical backup tapes (backed by Glacier), DataSync performs the bulk migration of legacy file shares to EFS, and Transfer Family gives partners SFTP endpoints landing files in S3. This full storage design across block, file, and hybrid is the professional-level competence the certification targets.

9.7 Chapter Revision Notes

  • EBS SSD: gp3 (default, decoupled IOPS/throughput), io2 Block Express/io1 (highest IOPS, Multi-Attach, critical DBs); HDD: st1 (throughput), sc1 (cold). Elastic Volumes change type/size/IOPS live. EBS is AZ-scoped.
  • Snapshots are incremental to S3, cross-Region/account copyable; DLM automates them; FSR removes restore latency; Multi-Attach (io1/io2) for clustered apps.
  • EFS = managed elastic NFS across AZs (performance/throughput modes, IA lifecycle, access points); FSx = Windows (SMB/AD), Lustre (HPC/ML + S3), NetApp ONTAP, OpenZFS.
  • Storage Gateway (File/Volume/Tape) = ongoing hybrid cloud-backed storage; DataSync = bulk transfer/migration; Transfer Family = managed SFTP/FTPS/FTP to S3/EFS.
  • Choose EBS for single-instance block, EFS for Linux shared NFS, FSx for Windows/HPC file systems.