跳至内容

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!

已提问 2 年前564 查看次数

1 回答
4
已接受的回答

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.

专家

已回答 2 年前

专家

已审核 2 年前

专家

已审核 2 年前

专家

已审核 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。