EFS 是否由 EBS 支持?

发布于 2025-01-14 20:44:06 字数 165 浏览 5 评论 0原文

EFS 是 AWS 为想要将其附加到多个 ec2 实例的企业提供的服务。它还会根据存储自动缩小/放大。但是EFS是如何构建的呢?它是基于EBS构建的吗? EFS是文件级存储,但文件也需要以块级存储在磁盘上(同意像S3这样的对象存储,其存储方式不同)。所以我无法很好地捕捉到差异。那么EFS数据在幕后存储在EBS上吗?

EFS is service provided by AWS for corporate if they want to attach it to multiple ec2 instances. Also it is automatically scale down/up based on the storage. But how is EFS build ? Is it built on EBS? EFS is file level storage, but files also need to be stored on disk in block level(agree object store like S3 its stored differently). So I am not able to capture the difference very well. So EFS data behind the scenes is it stored on EBS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

望喜 2025-01-21 20:44:06

AWS 不透露其服务的实施细节。

但是,如果您希望“捕捉差异”:

  • Amazon EBS 的作用类似于网络附加磁盘 (NAS)。它看起来像一个传统的硬盘,计算机的操作系统负责在磁盘上存储数据、维护目录、处理权限等。
  • Amazon EFS 是一个网络文件系统 (SAN),由一台服务器。计算机使用网络协议发送/接收文件,但操作系统负责数据如何存储在磁盘上(由服务器管理)。

由于 Amazon EBS 允许将卷安装在多台 Amazon EC2 计算机上,事情变得有点复杂。

此外,Amazon EBS 仅存储在一个可用区中,而 Amazon EFS 文件系统跨可用区进行复制

摘要

  • 计算机(例如 Amazon EC2 实例)期望拥有一个包含操作系统和应用程序的本地磁盘。这是 Amazon EBS 的工作。
  • 网络上希望共享数据的计算机需要使用网络文件系统。这是 Amazon EFS 的工作。

AWS does not disclose implementation details of their services.

However, if you wish to "capture the difference":

  • Amazon EBS acts like a Network-attached disk (NAS). It appears as a traditional hard disk and the computer's Operating System is responsible for storing data on the disk, maintaining the directories, handling permissions, etc.
  • Amazon EFS is a network filesystem (SAN) that is managed by a server. The computer uses a network protocol to send/receive files, but does the Operating System is not responsible for how the data is stored on the disk (that is managed by the server).

Things are getting a little more complicated now that Amazon EBS allows volumes to be mounted on multiple Amazon EC2 computers.

Also, Amazon EBS is stored in only one Availability Zone whereas Amazon EFS filesystems are replicated across Availability Zones.

Summary

  • Computers (eg Amazon EC2 instances) expect to have a local disk with an operating system and applications. This is the job of Amazon EBS.
  • Computers on a network that wish to share data want to use a network filesystem. This is the job of Amazon EFS.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文