AWS Storage Services Explained: S3, EBS, EFS, FSx, and Storage Gateway
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.
On this page9 sections
- Object vs block vs file: the three shapes of storage
- Amazon S3: object storage and its use cases
- S3 storage classes: matching cost to access pattern
- Lifecycle policies: automating the journey to cheaper tiers
- Amazon EBS: persistent block storage for EC2
- Instance store: fast but ephemeral
- File services: Amazon EFS and Amazon FSx
- AWS Storage Gateway: hybrid access with local caching
- AWS Backup and choosing the right service under exam pressure
- 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, re-creatability, and cost goal
- Explain why EBS volumes persist through instance stops while instance store data is ephemeral, and how snapshots move EBS data between Availability Zones
- Choose between Amazon EFS, FSx for Windows File Server, and FSx for Lustre based on operating system, protocol, provisioning, and Availability Zone resilience
- Identify when AWS Storage Gateway (and which gateway type) solves a hybrid on-premises storage scenario, and how it differs from DataSync and Direct Connect
- Describe what S3 lifecycle policies and AWS Backup automate, and what they do not (replication, versioning, continuous disaster recovery)
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.
| Type | AWS service | Characteristics | Use cases | Exam trigger |
|---|---|---|---|---|
| Object | Amazon S3 | Objects in buckets, flat namespace, accessed via HTTPS API, virtually unlimited capacity | Backups, static websites, data lakes, media, application assets | "Unlimited", "durable", "accessed over the internet/API" |
| Block | Amazon EBS / instance store | Raw volumes attached to one EC2 instance, formatted with a file system, low latency | Boot volumes, databases on EC2, transactional workloads | "Disk for an EC2 instance", "low-latency volume" |
| File | Amazon EFS / Amazon FSx | Shared network file system (NFS or SMB), mounted by many instances concurrently | Shared 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 class | Access pattern | Retrieval | Relative cost | Exam trigger |
|---|---|---|---|---|
| S3 Standard | Frequent access | Immediate (milliseconds) | Highest storage, no retrieval fee | "Frequently accessed", active data, websites |
| S3 Intelligent-Tiering | Unknown or changing | Immediate | Small monitoring fee; tiers adjust automatically | "Unknown/unpredictable access pattern" |
| S3 Standard-IA | Infrequent, but needs fast access | Immediate | Lower storage, retrieval fee applies | "Accessed rarely but needed immediately" |
| S3 One Zone-IA | Infrequent, re-creatable data | Immediate | Cheaper than Standard-IA; single AZ | "Easily reproduced", "lower resilience acceptable" |
| S3 Express One Zone | Very frequent, performance-critical | Immediate, single-digit ms | Performance-optimized, single AZ | "Highest-performance", latency-sensitive |
| S3 Glacier Instant Retrieval | Long-lived data read about once a quarter | Milliseconds | Storage cheaper than Standard-IA; higher retrieval fee | "Rarely accessed but instant access when needed" |
| S3 Glacier Flexible Retrieval | Archive, retrieval can wait | Minutes to hours | Very low storage | "Archive, can wait hours" |
| S3 Glacier Deep Archive | Long-term retention, almost never accessed | Hours (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.
Standard-IA versus Glacier Instant Retrieval is the near-twin that catches people, because both return data in milliseconds. The difference is how rarely the data is read. Standard-IA is built for data accessed less often (roughly monthly) but still regularly; Glacier Instant Retrieval is built for long-lived data accessed about once a quarter. In exchange for that rarer access, Glacier Instant Retrieval has a lower storage price than Standard-IA but a higher per-GB retrieval fee and a longer minimum storage duration. So "millisecond access" alone does not rule out an archive class: if reads are about quarterly and the data is kept for a long time, Glacier Instant Retrieval is the cheaper fit.
Real buckets often hold several data sets, and each one gets its own class. Ask two independent questions per data set. Can it be re-created? If yes (thumbnails, transcoded copies, derived reports), the single-AZ One Zone-IA is acceptable; if the data is irreplaceable, it needs a multi-AZ class. How often is it read, and how fast must it come back? That picks among Standard, Standard-IA, Glacier Instant Retrieval and the slower archive tiers. The cheapest correct design combines the two answers per data set; putting irreplaceable data in One Zone-IA to save money fails the first question, and keeping rarely read data in a frequent-access class fails the second.
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.
Just as important is what a lifecycle rule does not do, because neighbouring S3 features are the usual distractors:
| Need | Feature | Why a lifecycle rule is not it |
|---|---|---|
| Move aging objects to cheaper classes; delete them after a retention period | S3 Lifecycle | This is exactly what it does |
| Keep a copy of objects in another Region (or account) | S3 Replication (Cross-Region Replication) | Lifecycle changes an object's class or deletes it in place; it never copies data elsewhere |
| Recover from accidental overwrites or deletes | S3 Versioning | Versioning keeps prior versions of each object; lifecycle only manages them (it can transition or expire noncurrent versions) |
| Scheduled, policy-based backups with retention | AWS Backup | A transition is not a backup — there is still only one copy of the object |
| Encrypt objects or change their encryption | S3 encryption settings (default encryption, AWS KMS) | Lifecycle rules have no encryption action |
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. The narrow exception is EBS Multi-Attach: a Provisioned IOPS SSD volume (io1 or io2) can attach to several Nitro-based instances, but only instances in the same Availability Zone, only up to the size you provisioned, and only with a cluster-aware file system or application that coordinates writes. So Multi-Attach never gives instances in different Availability Zones a shared, self-growing file store. When a scenario needs many instances reading and writing the same files simultaneously — especially across Availability Zones — EBS is the distractor and a file service like EFS is the answer.
The Availability Zone binding is strict: a volume can be attached only to an instance in its own AZ, and it cannot be moved to another AZ. Elastic Volumes lets you change a volume's size, type and performance in place while it stays attached, but it does not change the volume's AZ. To get the data to another AZ, you go through a snapshot.
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 and how you move its data: a snapshot belongs to the Region, so you can restore it as a new volume in any Availability Zone of that Region, and you can copy it to another Region (or share it with another account) and restore it there. Restoring always creates a new volume pre-loaded with the data; the original volume is untouched. 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.
Two operational differences also separate them. Provisioning: EFS needs nothing sized in advance, whereas an FSx file system is created with capacity you choose — throughput capacity, and for most deployment types a storage capacity as well. Resilience: a Regional EFS file system stores data redundantly across multiple Availability Zones (an EFS One Zone option also exists for cheaper single-AZ storage), while FSx for Lustre runs in a single Availability Zone, which suits scratch and processing data for compute jobs rather than a file store that must survive an AZ outage. FSx for Windows File Server offers both Single-AZ and Multi-AZ deployments.
| Amazon EFS (Regional) | FSx for Windows File Server | FSx for Lustre | |
|---|---|---|---|
| Clients and protocol | Linux, NFS | Windows, SMB, Active Directory | Linux, Lustre client |
| Capacity | Elastic; nothing to provision | Storage and throughput capacity chosen | Throughput (and usually storage) capacity chosen |
| Availability Zones | Data stored across multiple AZs | Single-AZ or Multi-AZ | Single AZ |
| Typical fit | Shared web content, home directories, Linux apps | Windows file shares | HPC, ML training, fast processing of S3 data |
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 iSCSI block volumes to on-premises servers, backed by cloud storage with point-in-time snapshots that can be restored as EBS volumes — the fit for extending or backing up on-premises block storage. Tape Gateway presents an iSCSI virtual tape library (virtual tape drives and a media changer), 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. Both speak iSCSI; the difference is what the backup or server software sees — a disk (Volume Gateway) or a tape library (Tape Gateway). A fourth type, Amazon FSx File Gateway, is no longer available to new customers, so for new deployments the file option is S3 File Gateway.
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 data transfer tool: AWS DataSync moves or synchronizes data online between on-premises storage and AWS storage services, but it presents no local cache or mounted storage to running applications. It is not a network connection either: AWS Direct Connect is a private network link to AWS that carries traffic but stores nothing. 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.
A backup plan can also include copy rules: each recovery point is copied automatically to a backup vault in another Region or another account, with its own retention, so the off-site copy is part of the same policy. Two neighbours are easy to confuse with it:
| Service | What it does | Scope |
|---|---|---|
| AWS Backup | Scheduled recovery points with retention, plus cross-Region/cross-account copies, from one backup plan | Many services: EC2, EBS, RDS, DynamoDB, EFS, FSx, S3 and more |
| Amazon Data Lifecycle Manager | Automates creation, retention and deletion of snapshots | EBS snapshots and EBS-backed AMIs only — no RDS or DynamoDB |
| AWS Elastic Disaster Recovery | Continuously replicates servers to AWS so they can fail over quickly | Disaster recovery of servers, not scheduled backups with retention |
The distinction is point-in-time copies kept for a retention period (a backup — AWS Backup) versus continuous replication for failover (Elastic Disaster Recovery). A backup lets you go back to how data looked last Tuesday; replication keeps a near-current copy ready to take over.
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, retrieval-time tolerance and whether the data can be re-created (One Zone-IA only if it can) 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 (including copies to another Region) 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; AWS Backup is point-in-time recovery points while Elastic Disaster Recovery is continuous replication. A question that seems hard usually collapses to one of these 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 across Availability Zones (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, a retrieval-time tolerance and sometimes whether the data can be re-created, and reward the cheapest class that fits: 'unknown access pattern' points to Intelligent-Tiering, rarely read data that must still come back instantly to Glacier Instant Retrieval, and long-term compliance to Glacier Deep Archive. Lifecycle questions check that rules transition and expire objects, not replicate or back them up. The EBS-versus-instance-store contrast appears as a persistence question, and EBS questions also test that a volume stays in its Availability Zone (snapshots move the data). Hybrid wording — on-premises applications needing cached access to cloud storage, or backup software that writes to tape — signals a Storage Gateway type, while centrally managed, policy-based protection across many services signals AWS Backup.
- 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, about-quarterly reads, cheaper storage than Standard-IA), Flexible Retrieval (minutes–hours), Deep Archive (hours, cheapest, compliance retention).
- Lifecycle policies automatically transition aging objects to cheaper classes and expire them; they do not replicate, version, back up or encrypt data.
- EBS persists through stop/start and lives in one AZ (Multi-Attach is io1/io2, same AZ only); to reach another AZ, restore a snapshot as a new volume. Instance store is ephemeral — lost on stop or termination.
- EFS is elastic shared NFS for Linux with nothing to provision and data across AZs; FSx is sized at creation — FSx for Windows File Server = SMB/Active Directory, FSx for Lustre = HPC in a single AZ.
- Storage Gateway = on-premises access to cloud storage with a local cache (S3 File, Volume = iSCSI disks, Tape = iSCSI virtual tape library); DataSync transfers data and Direct Connect is a network link.
- AWS Backup = centralized policy-based backup with cross-Region/account copies across EC2, EBS, RDS, DynamoDB, EFS and more; Data Lifecycle Manager covers only EBS snapshots/AMIs, and Elastic Disaster Recovery is continuous replication for failover.
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 access. S3 File Gateway exposes NFS/SMB file shares backed by objects in S3, Volume Gateway presents iSCSI block volumes whose point-in-time snapshots are stored in AWS (and can be restored as EBS volumes), and Tape Gateway presents an iSCSI virtual tape library so existing backup software can archive to S3 and Glacier instead of physical tapes. (Amazon FSx File Gateway is no longer available to new customers.) Use it when workloads stay on premises but the data should live in the cloud; use AWS DataSync for moving data, not for ongoing cached access.
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, lifecycle to cold storage and copy rules that duplicate recovery points to another Region or account, then assign resources such as Amazon EC2 instances, EBS volumes, RDS databases, DynamoDB tables and EFS and FSx file systems; AWS Backup then runs and monitors the backups automatically. Use it for consistent, auditable backups across many services or accounts. It differs from Amazon Data Lifecycle Manager, which automates only EBS snapshots and EBS-backed AMIs, and from AWS Elastic Disaster Recovery, which continuously replicates servers for fast failover rather than keeping point-in-time backups.
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. Lifecycle rules do not copy objects to another Region (that is S3 Replication), keep old versions (that is S3 Versioning), create backups or change encryption.
Can an Amazon EBS volume be used in another Availability Zone?
Not directly. An EBS volume lives in one Availability Zone and can be attached only to instances in that AZ; Elastic Volumes can change its size, type and performance but not its AZ. To use the data elsewhere, take a snapshot — snapshots are Regional — and restore it as a new volume in any Availability Zone of the Region, or copy the snapshot to another Region first. EBS Multi-Attach (io1/io2 volumes) lets several instances share one volume, but only within the same Availability Zone.
Source
This lesson covers the "Cloud Technology and Services" domain of the official CLF-C02 exam guide. Vendors revise their guides — check the source for the current version.
- AWS Certified Cloud Practitioner (CLF-C02) exam guide — Amazon Web Services
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.