EFS vs. EBS Content Ma

0

Hey everyone,

I'm exploring different website hosting options and am curious about the benefits of hosting on Amazon EBS versus Amazon EFS. Can anyone provide insights on why (or why not) EFS might be a better option regarding that all of our EC2 instances have a central place they need to look for when they want to get the website data?

Thanks in advance for any advice!

profile picture
Julian
asked a month ago142 views
1 Answer
4
Accepted Answer

At a high-level, EBS is best thought of as a hard disk in the cloud. It's directly attached to the host, and can only be attached to a single host at a time (EBS multi-attach notwithstanding https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html )

EFS is elastic and scalable, can be shared between multiple instances, and is attached to each EC2 instance over IP, using NFS.

EBS tends to be faster, and better when your use case calls for high-performnace block storage, e.g. when you want to run programs from it. You pay for what you provision, which is not necessarily the same as what you use.

EFS is useful when you need to share data among multiple EC2 instances, and can grow and shrink on demand. You pay for what you use.

On the face of it, your use case, as you describe it here, sounds like a good candidate for EFS.

profile picture
EXPERT
Steve_M
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile picture
EXPERT
reviewed a month ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions