BeginnerStorage

Storage Services

Learn S3 object storage, EBS block storage, and EFS file storage, and how each maps to Azure storage options.

What Is It? (ELI5)

S3 is a giant cloud cupboard for files, EBS is a hard disk attached to a VM, and EFS is a shared network drive for multiple servers.

Why Do We Need It?

How It Works (Technical)

AWSTypeBest ForAzure Equivalent
S3ObjectImages, backups, logs, static websitesBlob Storage
EBSBlockOS disks and low-latency app dataManaged Disks
EFSFileShared POSIX file system across EC2Azure Files

Visual Representation

App uploads images -> S3 bucket
EC2 boot disk -> EBS volume
Multiple EC2 instances -> EFS mount target

Hands-on

# Create and use S3 bucket
aws s3 mb s3://my-skilly-demo-bucket
aws s3 cp app.log s3://my-skilly-demo-bucket/logs/app.log

# Create EBS volume (example)
aws ec2 create-volume --availability-zone us-east-1a --size 20 --volume-type gp3

Debugging Scenario

Problem

File upload to S3 fails with AccessDenied.

Interview Questions

Beginner: S3 vs EBS?
S3 is object storage over API; EBS is block storage attached to EC2.
Intermediate: When choose EFS?
When many EC2 instances need shared file access simultaneously.
Scenario: Your web app needs globally distributed static content.
Use S3 with CloudFront CDN to reduce latency worldwide.

Real-world Usage

Media platforms store uploads in S3, metadata in database, and use lifecycle rules to move older objects to cheaper classes.

Summary