SaveMyCert
Log in
5 of 5 free questions left today·for unlimited practice
Cloud Technology and Services

AWS Storage Services Explained: S3, EBS, EFS, FSx, and Storage Gateway

16 min readCLF-C02 · Cloud Technology and ServicesUpdated

AWS storage questions are among the most predictable on the CLF-C02 exam, and they follow a simple pattern: a scenario describes data with a certain shape and access pattern, and you pick the service built for it. To answer confidently, you need three mental models. First, the difference between object, block, and file storage, and which AWS service represents each. Second, the Amazon S3 storage classes — how they trade retrieval speed against cost, and how lifecycle policies move data between them automatically. Third, the persistence and sharing rules: EBS volumes survive an instance stop while instance store data does not, and EFS can be shared by thousands of instances while an EBS volume serves one. This lesson covers every skill in Task Statement 3.6 — object storage use cases, S3 storage classes, EBS versus instance store, EFS and FSx, AWS Storage Gateway, lifecycle policies, and AWS Backup — with the exact decision triggers the exam rewards.

What you’ll learn
  • Distinguish object, block, and file storage and match each type to its AWS service and typical use cases
  • Select the correct Amazon S3 storage class for a given access pattern, retrieval-time requirement, and cost goal
  • Explain why EBS volumes persist through instance stops while instance store data is ephemeral, and choose between them
  • Choose between Amazon EFS, FSx for Windows File Server, and FSx for Lustre based on operating system, protocol, and workload
  • Identify when AWS Storage Gateway solves a hybrid on-premises storage scenario
  • Describe how S3 lifecycle policies and AWS Backup automate data tiering and centralized backup across AWS services

Object vs block vs file: the three shapes of storage

Every storage question on CLF-C02 starts with an implicit classification step: what shape is the data? Cloud storage comes in three fundamental types, and AWS offers a flagship service for each. Object storage treats each piece of data as a complete, self-contained object — a file plus its metadata plus a unique key — stored in a flat container and accessed over HTTP through an API. Amazon S3 is the object store. Block storage presents raw volumes of fixed-size blocks that an operating system formats and mounts like a hard drive; it is the right shape for boot volumes, databases, and any application that expects a disk. Amazon EBS is the block store (with instance store as its ephemeral cousin). File storage exposes a shared hierarchical file system — folders and files over a network protocol such as NFS or SMB — that many machines can mount at once. Amazon EFS and Amazon FSx are the file services.

The exam rarely names these categories directly. Instead it describes behavior and expects you to infer the type. "Store millions of images accessed by a web application through an API" is object storage. "A database on an EC2 instance needs low-latency disk" is block storage. "Hundreds of Linux servers need simultaneous access to the same files" is file storage. Learn to translate the scenario into a shape before you look at the answer options.

TypeAWS serviceCharacteristicsUse casesExam trigger
ObjectAmazon S3Objects in buckets, flat namespace, accessed via HTTPS API, virtually unlimited capacityBackups, static websites, data lakes, media, application assets"Unlimited", "durable", "accessed over the internet/API"
BlockAmazon EBS / instance storeRaw volumes attached to one EC2 instance, formatted with a file system, low latencyBoot volumes, databases on EC2, transactional workloads"Disk for an EC2 instance", "low-latency volume"
FileAmazon EFS / Amazon FSxShared network file system (NFS or SMB), mounted by many instances concurrentlyShared content, home directories, Windows shares, HPC scratch"Multiple instances access the same files"

Keep this table in your head as the first filter. Once you know the shape, most wrong answers eliminate themselves, and the remaining choice usually hinges on one detail — access pattern for S3 classes, persistence for EBS versus instance store, or operating system for EFS versus FSx.

Amazon S3: object storage and its use cases

Amazon S3 (Simple Storage Service) stores data as objects inside buckets. An object is the data itself plus metadata and a key (its name within the bucket). There are no real folders — the namespace is flat, though key prefixes let consoles display a folder-like view. You interact with S3 through APIs and HTTPS, not by mounting it as a drive, and capacity is virtually unlimited: you never provision size, you simply upload and pay for what you store. A single object can be up to 5 TB.

S3's headline property is durability: it is designed for 99.999999999% (11 nines) durability, achieved by redundantly storing objects across multiple devices and, for most storage classes, across multiple Availability Zones. Eleven nines means that statistically, if you stored ten million objects, you could expect to lose one about every ten thousand years. This is why S3 is the default answer whenever a question emphasizes that data must not be lost.

Know the canonical use cases, because the exam tests them almost verbatim as scenarios: backup and archival (S3 is where EBS snapshots and most backup data ultimately live), static website hosting (HTML, CSS, JavaScript, and images served directly from a bucket), data lakes (a central repository of raw data that analytics services query in place), media storage and distribution (video, audio, and images for applications), and application asset storage (user uploads, logs, reports). What S3 is not: a boot disk, a database, or an operating-system drive. If the scenario needs a mounted file system or block-level access for EC2, S3 is a distractor.

Within a bucket, objects can be versioned, encrypted, replicated across Regions, and protected with fine-grained access policies — but for Task 3.6 the essential fact is simpler: S3 is the durable, unlimited, API-accessed object store, and everything else in this lesson either builds on it (snapshots, lifecycle tiers, Storage Gateway) or contrasts with it.

S3 storage classes: matching cost to access pattern

All S3 storage classes share the same 11-nines durability design; what changes is availability, retrieval speed, and price. The pattern is consistent: the less often you access data and the longer you can wait to retrieve it, the less you pay to store it — but infrequent-access and archive classes add per-GB retrieval fees and minimum storage-duration charges. The exam gives you an access pattern and expects you to name the cheapest class that still meets the retrieval requirement.

Storage classAccess patternRetrievalRelative costExam trigger
S3 StandardFrequent accessImmediate (milliseconds)Highest storage, no retrieval fee"Frequently accessed", active data, websites
S3 Intelligent-TieringUnknown or changingImmediateSmall monitoring fee; tiers adjust automatically"Unknown/unpredictable access pattern"
S3 Standard-IAInfrequent, but needs fast accessImmediateLower storage, retrieval fee applies"Accessed rarely but needed immediately"
S3 One Zone-IAInfrequent, re-creatable dataImmediateCheaper than Standard-IA; single AZ"Easily reproduced", "lower resilience acceptable"
S3 Express One ZoneVery frequent, performance-criticalImmediate, single-digit msPerformance-optimized, single AZ"Highest-performance", latency-sensitive
S3 Glacier Instant RetrievalArchive, rarely accessedMillisecondsLow storage, higher retrieval fee"Archive but instant access when needed"
S3 Glacier Flexible RetrievalArchive, retrieval can waitMinutes to hoursVery low storage"Archive, can wait hours"
S3 Glacier Deep ArchiveLong-term retention, almost never accessedHours (typically up to 12)Lowest cost in S3"Compliance", "7–10 year retention", "cheapest"

Three classes deserve extra attention. S3 Intelligent-Tiering is the answer whenever the access pattern is described as unknown, unpredictable, or changing — it monitors each object and moves it between frequent- and infrequent-access tiers automatically, with no retrieval fees, so you never guess wrong. S3 One Zone-IA stores data in a single Availability Zone instead of three or more, which makes it cheaper but means an AZ loss can destroy the data — so it is only correct when the scenario says the data can be easily re-created (secondary copies, thumbnails, re-generable reports). S3 Express One Zone is a one-liner for this exam: the highest-performance S3 class, single-AZ, for latency-critical applications.

For the Glacier tiers, let retrieval time drive the choice: milliseconds means Glacier Instant Retrieval, minutes-to-hours means Glacier Flexible Retrieval, and "cheapest possible, retrieval within a business day is fine" means Glacier Deep Archive. Deep Archive is the go-to answer for regulatory retention measured in years.

Lifecycle policies: automating the journey to cheaper tiers

Choosing a storage class manually works for static data, but most real data ages: it is hot when created, cools within weeks, and eventually becomes archive material. S3 lifecycle policies (lifecycle configurations) automate that journey. A lifecycle rule is attached to a bucket (optionally scoped by prefix or tags) and does two things: transitions objects to a cheaper storage class after a defined age, and expires (deletes) objects after a defined age. Once the rule is in place, S3 applies it continuously with no scripts, no cron jobs, and no manual review.

Here is the classic scenario the exam loves. A company generates application log files that engineers query heavily for the first month, occasionally reference for the next two months, must retain for audit for seven years, and can then delete. One lifecycle rule handles the whole story: keep new logs in S3 Standard; transition to S3 Standard-IA after 30 days; transition to S3 Glacier Flexible Retrieval after 90 days; transition to S3 Glacier Deep Archive after 365 days; expire the objects after 7 years. Storage cost drops at every step, and nobody touches the data again.

The exam probes lifecycle policies from two directions. First, as a cost-optimization answer: when a question asks how to reduce S3 costs for data that becomes less frequently accessed over time, the answer is a lifecycle policy, not manually moving objects and not deleting data the business still needs. Second, as an automation answer: when a question asks how to automatically delete objects older than some retention period, lifecycle expiration is the mechanism. Remember the two verbs — transition between classes, expire by age — and remember that if you genuinely cannot predict the access pattern, Intelligent-Tiering is the alternative that removes the need to design transitions at all.

Amazon EBS: persistent block storage for EC2

Amazon Elastic Block Store (EBS) provides network-attached block volumes for EC2 instances. An EBS volume behaves like a virtual hard drive: you create it with a chosen size and type, attach it to an instance in the same Availability Zone, format it with a file system, and mount it. Because the volume is attached over the network rather than living inside the host server, its lifecycle is independent of the instance — and that independence is the single most tested fact about EBS.

EBS volumes are persistent. Stop the instance, and the data is still there when you start it again. Terminate the instance, and a non-root volume survives by default and can be attached to another instance. This makes EBS the right home for anything that must outlive a reboot: boot volumes, database files on EC2, application data, and any transactional workload that needs consistent low-latency disk I/O. Conceptually, an EBS volume attaches to one instance at a time — it is a disk, not a shared drive. When a scenario needs many instances reading and writing the same files simultaneously, EBS is the distractor and a file service like EFS is the answer.

EBS also gives you snapshots: point-in-time, incremental backups of a volume that are stored in Amazon S3. Snapshots are how you back up a volume, how you copy data across Availability Zones or Regions, and how you create new volumes pre-loaded with existing data. The exam frequently checks two snapshot facts: they are incremental (after the first, only changed blocks are saved), and they land in S3, inheriting its durability. Volume types (general purpose SSD, provisioned IOPS SSD, throughput-optimized and cold HDD) exist, but at the Cloud Practitioner level you only need the idea that SSD types serve transactional workloads and HDD types serve throughput-heavy, sequential ones — the deep performance numbers belong to associate-level exams.

Instance store: fast but ephemeral

Some EC2 instance types include an instance store: block storage on disks that are physically attached to the host computer running your instance. Because there is no network hop, instance store can deliver very high IOPS and throughput — but that physical attachment comes with the property the exam tests relentlessly: instance store is ephemeral. If the instance stops, hibernates, or terminates, or if the underlying hardware fails, the data on the instance store is gone. (Data does survive an ordinary reboot, but never plan around that.) You cannot detach an instance store and move it elsewhere, you cannot snapshot it the way you snapshot EBS, and its size is fixed by the instance type.

So when is it the right answer? When the scenario says temporary: buffers, caches, scratch space, temporary processing files, or data that is replicated across a fleet so any single node's loss is harmless. The trigger phrases are "temporary storage", "scratch data", "cache", "highest possible disk performance", and "data can be lost without impact". If the scenario implies the data must survive a stop/start cycle or must be backed up — databases, user files, anything described as important — instance store is wrong and EBS is right.

Lock in the head-to-head, because a version of this question is close to guaranteed. EBS: network-attached, persistent through stop/start, independent lifecycle, snapshot-capable, detachable and re-attachable, sized on demand. Instance store: host-attached, ephemeral (lost on stop or termination), no snapshots, fixed size, maximum raw speed. One memorable framing: EBS is a USB drive you plug into the server over the network; instance store is the disk welded inside the server — when the server goes away, so does the disk.

File services: Amazon EFS and Amazon FSx

When many compute instances need to read and write the same files at the same time, block storage stops fitting and you need a shared file system. Amazon EFS (Elastic File System) is AWS's serverless shared file system for Linux workloads. Instances mount it over NFS, and it can be mounted by thousands of EC2 instances concurrently — including instances in multiple Availability Zones within a Region. EFS is elastic: you never provision capacity; the file system grows and shrinks automatically as files are added and removed, and you pay only for what you store. Typical use cases are shared web content, content management systems, home directories, and any Linux application designed around a common file tree. EFS even has its own Standard and Infrequent Access storage classes with lifecycle management, echoing the S3 pattern at a one-line level.

Contrast EFS with EBS and the exam question writes itself. EBS is a volume for one instance in one Availability Zone; EFS is a file system shared by many instances across multiple Availability Zones, with automatic scaling. "Multiple EC2 instances need simultaneous access to shared data" — EFS. "An instance needs a fast dedicated disk" — EBS. Also note EFS is Linux/NFS territory; it is not the answer for Windows file shares.

That is where Amazon FSx comes in: a family of fully managed file systems built on popular file-system technologies. Know two members well. FSx for Windows File Server provides native Windows file shares over SMB with Active Directory integration and Windows ACLs — it is the answer whenever the scenario says Windows, SMB, or Active Directory. FSx for Lustre is a high-performance file system for HPC (high-performance computing), machine learning training, and other compute-intensive workloads that need massive throughput, and it can link to S3 data. Two more exist and one line each is enough: FSx for NetApp ONTAP (ONTAP features for enterprises migrating NetApp environments) and FSx for OpenZFS (managed ZFS file systems). The decision rule: Linux shared files at general scale → EFS; Windows/SMB/Active Directory → FSx for Windows File Server; HPC or ML training performance → FSx for Lustre.

AWS Storage Gateway: hybrid access with local caching

AWS Storage Gateway answers a specific situation: a company keeps running workloads on premises but wants its storage to live in AWS. Storage Gateway is a hybrid storage service — deployed as a virtual machine (or hardware appliance) in the local data center — that presents standard storage interfaces to on-premises applications while actually storing the data in AWS. Crucially, it caches frequently accessed data locally, so applications get low-latency access to their hot data while the full data set sits durably in the cloud. Whenever a question combines "on-premises applications", "cloud storage", and "low-latency access" or "local cache", Storage Gateway is the answer.

Know the three gateway types at one line each. File Gateway (Amazon S3 File Gateway) presents file shares over NFS or SMB and stores the files as objects in S3 — the fit when on-premises applications need file access to data that should live in S3. Volume Gateway presents block volumes (iSCSI) to on-premises servers, backed by cloud storage with point-in-time snapshots to S3 — the fit for extending or backing up on-premises block storage. Tape Gateway presents a virtual tape library, letting existing backup software write "tapes" that are actually stored in S3 and archived to Glacier tiers — the fit for retiring physical tape infrastructure without changing backup workflows.

Position Storage Gateway correctly against its neighbors. It is for ongoing hybrid operation — the on-premises side keeps working day after day with the cloud as its storage back end. It is not a one-time bulk migration tool (offline data transfer with physical devices such as the AWS Snow family belongs to Domain 1's migration strategies). And it is not a shared cloud file system for EC2 — that is EFS or FSx. The word that should fire the Storage Gateway neuron is hybrid, especially alongside cached or on-premises access to S3.

AWS Backup and choosing the right service under exam pressure

AWS Backup solves a management problem, not a storage-shape problem. Individually, AWS services each have their own protection mechanisms — EBS snapshots, RDS automated backups, and so on — but managing them separately across dozens of accounts and services is error-prone. AWS Backup is a fully managed, centralized, policy-based backup service: you define a backup plan (schedule, retention, lifecycle to cold storage) once, assign resources to it, and AWS Backup automates and monitors backups across supported services — including Amazon EBS, Amazon RDS, Amazon DynamoDB, Amazon EFS, Amazon FSx, EC2 instances, and Storage Gateway volumes, among others. Its exam triggers are unmistakable: "centralized backup", "single place to manage backups across multiple AWS services", "policy-based backup", or "backup compliance and retention requirements". If the scenario is about backing up one EBS volume, a snapshot suffices; the moment it says centrally manage backups across services or accounts, the answer is AWS Backup.

Now assemble the whole task statement into the decision flow you will actually use in the exam room. Step 1 — shape: API-accessed objects at unlimited scale → S3; a disk for one EC2 instance → EBS (or instance store if explicitly temporary); shared files for many instances → EFS (Linux) or FSx (Windows/HPC). Step 2 — pattern: within S3, let access frequency and retrieval-time tolerance pick the class, and reach for lifecycle policies when the pattern changes with age, or Intelligent-Tiering when it is unknown. Step 3 — location: if the applications are on premises but the data belongs in AWS with local caching, that is Storage Gateway. Step 4 — protection: centralized, policy-based backup across services is AWS Backup.

Finally, keep the classic contrasts crisp, because distractors are built from them: S3 versus EBS is objects-via-API versus a block device mounted to EC2; EBS versus EFS is one instance versus thousands sharing; EBS versus instance store is persistent versus ephemeral; Standard-IA versus One Zone-IA is multi-AZ resilience versus cheaper single-AZ for re-creatable data; Glacier tiers differ by retrieval time, from milliseconds to hours. A question that seems hard usually collapses to one of these five contrasts.

Tip. CLF-C02 tests this task almost entirely through matching scenarios to services. Expect questions that describe data by shape and behavior — objects accessed via API (S3), a disk for one instance (EBS), shared files for many Linux instances (EFS), Windows/SMB/Active Directory shares (FSx for Windows File Server) — and ask you to pick the service. S3 storage-class questions give an access pattern and retrieval-time tolerance and reward the cheapest class that fits, with 'unknown access pattern' pointing to Intelligent-Tiering and long-term compliance pointing to Glacier Deep Archive. The EBS-versus-instance-store contrast appears as a persistence question ('temporary scratch data' vs 'must survive a stop'), and hybrid wording — on-premises applications needing cached access to cloud storage — signals Storage Gateway, while 'centrally manage backups across services' signals AWS Backup.

Key takeaways
  • Match the storage shape first: S3 = objects via API, EBS = block disk for one EC2 instance, EFS/FSx = shared file systems.
  • S3 is designed for 11 nines (99.999999999%) durability, virtually unlimited capacity, and shines for backups, static websites, data lakes, and media.
  • Pick S3 classes by access pattern: Standard (frequent), Standard-IA (infrequent + instant), One Zone-IA (re-creatable), Intelligent-Tiering (unknown pattern).
  • Pick Glacier tiers by retrieval time: Instant Retrieval (milliseconds), Flexible Retrieval (minutes–hours), Deep Archive (hours, cheapest, compliance retention).
  • Lifecycle policies automatically transition aging objects to cheaper classes and expire them — the default answer for S3 cost optimization over time.
  • EBS persists through stop/start and snapshots to S3; instance store is ephemeral and lost on stop or termination — 'temporary/scratch data' means instance store.
  • EFS is elastic shared NFS for thousands of Linux instances; FSx for Windows File Server = SMB/Active Directory; FSx for Lustre = HPC.
  • Storage Gateway = on-premises access to cloud storage with local caching (hybrid); AWS Backup = centralized policy-based backup across EBS, RDS, DynamoDB, EFS, and more.

Frequently asked questions

What is the difference between S3, EBS, and EFS?

They implement the three storage types. Amazon S3 is object storage: data lives as objects in buckets, accessed through an API over HTTPS, with virtually unlimited capacity — ideal for backups, websites, and data lakes. Amazon EBS is block storage: a network-attached volume that acts as a disk for a single EC2 instance in one Availability Zone, persisting independently of the instance. Amazon EFS is file storage: an elastic NFS file system that thousands of Linux instances can mount simultaneously across Availability Zones. Pick by need: API-accessed objects → S3, a dedicated instance disk → EBS, shared files → EFS.

What are the S3 storage classes and when should I use each?

S3 Standard is for frequently accessed data. S3 Standard-IA suits infrequently accessed data that still needs millisecond retrieval; it charges less for storage but adds a retrieval fee. S3 One Zone-IA is cheaper still but stores data in a single Availability Zone, so use it only for re-creatable data. S3 Intelligent-Tiering automatically moves objects between tiers when access patterns are unknown or changing. For archives, S3 Glacier Instant Retrieval offers millisecond access, Glacier Flexible Retrieval takes minutes to hours, and Glacier Deep Archive is the cheapest with retrieval in hours — best for long-term compliance retention.

What is the difference between EBS and instance store?

Amazon EBS volumes are network-attached and persistent: data survives instance stops and starts, volumes can be detached and re-attached, and snapshots back them up to S3. Instance store is storage on disks physically attached to the host computer: it delivers very high performance, but the data is ephemeral — it is lost when the instance stops, hibernates, or terminates. Use EBS for anything that must persist, such as boot volumes and databases. Use instance store only for temporary data like caches, buffers, and scratch space where loss is acceptable.

When should I use Amazon EFS vs Amazon FSx?

Choose Amazon EFS for Linux workloads that need a shared, elastic NFS file system — it scales automatically and can be mounted by thousands of EC2 instances at once. Choose Amazon FSx when you need a specific file-system technology: FSx for Windows File Server provides native SMB shares with Active Directory integration for Windows applications, while FSx for Lustre delivers the high throughput needed for HPC and machine learning workloads. FSx for NetApp ONTAP and FSx for OpenZFS serve teams standardized on those technologies. In short: general Linux sharing → EFS; Windows or specialized performance → FSx.

What does AWS Storage Gateway do?

AWS Storage Gateway is a hybrid storage service that gives on-premises applications access to storage in AWS while caching frequently used data locally for low-latency reads and writes. It comes in three types: File Gateway exposes NFS/SMB file shares backed by objects in S3, Volume Gateway presents iSCSI block volumes with snapshots stored in S3, and Tape Gateway emulates a virtual tape library so existing backup software can archive to S3 and Glacier instead of physical tapes. Use it when workloads stay on premises but the data should live durably in the cloud.

What is AWS Backup used for?

AWS Backup is a fully managed service that centralizes and automates data protection across AWS services from one place. You create policy-based backup plans that define schedules, retention periods, and lifecycle rules, then assign resources such as Amazon EBS volumes, RDS databases, DynamoDB tables, EFS and FSx file systems, and EC2 instances. AWS Backup then runs and monitors the backups automatically. Use it when an organization needs consistent, auditable backup policies across many services or accounts instead of managing each service's native snapshots and backups separately.

How do S3 lifecycle policies reduce storage costs?

A lifecycle policy is a set of rules on an S3 bucket that automatically transitions objects to cheaper storage classes as they age and optionally expires (deletes) them after a retention period. For example, logs can stay in S3 Standard for 30 days, move to Standard-IA at 30 days, to Glacier Flexible Retrieval at 90 days, to Glacier Deep Archive at one year, and be deleted after seven years. Because transitions happen automatically, you pay archive prices for cold data without any manual work — making lifecycle policies the standard answer for optimizing S3 costs over time.

Test yourself on this topic
Practice questions with full explanations.
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.