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
已提問 2 個月前檢視次數 151 次
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.

profile picture
專家
Steve_M
已回答 2 個月前
profile picture
專家
已審閱 1 個月前
profile picture
專家
已審閱 2 個月前
profile picture
專家
已審閱 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南