CloudGuild · Blog · Cheat sheets · Lessons · Certifications

EBS vs EFS vs Instance Store: When to Use What (and How the Exam Tests It)

Understand the differences between EBS, EFS, and Instance Store, and learn how AWS tests these concepts in the SAA-C03 exam.

Choosing the right storage option in AWS can significantly impact your architecture. Each storage solution has its strengths and ideal use cases. Let’s break down EBS, EFS, and Instance Store to clarify when to use each.

EBS: Elastic Block Store

EBS provides block-level storage that can be attached to a single EC2 instance. It is persistent storage, meaning the data remains intact even after the instance stops. Think of it as a hard drive for your EC2 instances. It's best suited for:

Types of EBS Volumes

EFS: Elastic File System

EFS is a managed file system that supports the NFS protocol. It allows multiple EC2 instances across different Availability Zones to access the same file system concurrently. This is ideal when:

Instance Store: Temporary Storage

Instance store is physically attached to the host server of an EC2 instance. It is fast and provides high throughput, but it is ephemeral. If the instance stops or terminates, the data is lost. It's useful for:

Comparison Table

Feature EBS EFS Instance Store
Type Block storage File storage Block storage
Persistence Yes Yes No
Shared Access No (with narrow exceptions) Yes No
Performance Varies (gp3, io1/io2) Scales automatically High throughput
Use Case Single-instance apps Shared file systems Temporary data

How the Exam Tests This

Understanding when to use EBS, EFS, or Instance Store is essential for the SAA-C03 exam. Here are some patterns to watch for:

  1. Scenario-based questions: These will present a situation where you must choose the appropriate storage solution based on the requirements provided.
  2. Misleading options: Expect distractors that may sound correct but do not fit the scenario, such as suggesting EBS for shared access when EFS is the right choice.
  3. Data durability traps: Be cautious of questions that imply data persistence with Instance Store, as this is a common mistake many candidates make.

Rule to Remember

Choose EBS for single-instance needs, EFS for shared access across instances, and Instance Store for temporary storage.

For more practice, Take the free SAA-C03 mock exam.

Take a free mock exam →