EFS is a shared network drive that MANY EC2 instances can use at the same time.

Think of it like a Google Drive for your EC2 instances — multiple servers can connect to it and all see the same files at the same time.

Can be regional (works across multiple AZs) or single zone — whatever you select when creating it.


Why EFS? The Problem it Solves

Normally, each EC2 instance has its own EBS storage (like its own personal hard drive). If you have 3 web servers, each has its own separate storage. They cannot share files with each other.

This becomes a problem when:

EFS solves this by giving all servers one shared storage that they all read from and write to.


EBS vs EFS — Key Difference

Feature EBS EFS
Connections 1 EC2 at a time MANY EC2s at once
Zones Locked to 1 zone Works across zones
Price Cheaper 3x more expensive

EBS = Personal USB stick

Only you can use it
One person at a time

EFS = Shared network folder

Everyone in the office can access it
Multiple people at once
All see the same files

Key Features