내용으로 건너뛰기

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년 전570회 조회

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠