Keyboard Shortcuts N Next post
P Previous post
S Save / unsave
R Read aloud
T Toggle theme
/ Focus search
Esc Close panels
🔥
Ready to read...
AWS Cloud Computing Cloud Computing: From Zero to Production Module 4 — Storage & Databases Storage

EFS — Elastic File System for Shared Storage

Reviewed & accurate
AI Summary

What You Will Learn

Intermediate

  • What EFS is and when to use it
  • How it differs from EBS and S3
  • How to mount EFS on EC2

EFS (Elastic File System) is shared NFS storage that multiple EC2 instances can access simultaneously. Automatically scales from GB to PB. Pay per GB used.

AspectEBSEFSS3
AccessOne EC2Multiple EC2API/HTTP
TypeBlockFile (NFS)Object
ScalingFixed sizeAuto-scalingAuto
LatencyLowestLowHigher

Practical Exercise

Create an EFS file system
Launch 2 EC2 instances in the same VPC
Mount EFS on both: mount -t nfs4 fs-xxx.efs.region.amazonaws.com:/ /mnt
Write a file on instance 1, read it on instance 2

Key Takeaways

  • EFS = shared NFS storage, multiple EC2 instances.
  • Auto-scales, pay per GB used.
  • EBS = one EC2 only. EFS = multiple EC2. S3 = API access.
  • Best for: shared configs, web content, CMS uploads.
Previously: Lesson 25 covered EBS.
Today: You learned: Shared file storage across EC2 instances.
Next: Lesson 27 covers RDS.
Test Your Knowledge
How did you find this?

Comments

Join the discussion! Sign in with your Google or Blogger account, or comment as Anonymous - no account needed. For quick questions, also reach me on Telegram @cytestch.

Comments