在 AWS 上的 EC2 集群上提供图像的最佳方式是什么?

发布于 2024-08-24 14:25:58 字数 199 浏览 5 评论 0原文

我们希望能够拥有一个可以跨 Web 服务器集群安全地提供图像的文件夹。使用 Amazon Web Services (AWS) 处理此问题的最佳方法是什么?亚马逊S3?亚马逊弹性块存储(EBS)?亚马逊云前端?

编辑:不再需要答案...谢谢。

We want to be able to have a folder that can securely serve images across a cluster of web servers. What's the best way to handle this with Amazon Web Services (AWS)? Amazon S3? Amazon Elastic Block Store (EBS)? Amazon Cloudfront?

EDIT: Answer no longer needed...thanks.

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

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

发布评论

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

评论(1

女皇必胜 2024-08-31 14:25:58

我不确定您的主要目标是什么,或者您是否已阅读有关您询问的服务的信息。但我会尝试根据我对AWS和您的选择的理解来解释它:

  1. S3是一个存储(带有存储桶和对象,一种具有元访问的文件夹结构)
  2. EBS< /strong> 是一个 VOLUME(它们作为额外驱动器附加到 EC2 实例,您可以作为本地硬盘驱动器进行访问)
  3. CloudFront 是一个 WEB-CACHE(您选择要将它们放入哪个数据中心,然后您指向 S3 存储桶,亚马逊将为您复制内容)

因此我们只需要弄清楚您所说的“安全”是什么意思,因为我认为有两个选项:

  1. 您可以保护 S3 中的存储桶或使用帐户设置访问级别,仅适用于“管理员访问”且公开可读...

  2. 您可以将数据存储在 EBS 卷中并将它们保留在那里,然后它们非常安全并且不公开,但可以在服务器之间共享(我相信)(我计划在下周内亲自检查一下)

  3. < p>您无法保护“cloudfront”数据,因为它由 S3 的存储桶权限控制...

希望您可以使用此功能小的。我没有说明任何有关速度或成本的信息,供您根据您的数据要求进行基准测试/测试。 :o)

I'm not sure what your main goal is or if you have read about the services you ask about. But I will try to explain it as far as I've understood AWS and your choices:

  1. S3 is a STORAGE (with buckets and objects, a sort of folder structure with meta access)
  2. EBS is a VOLUME (these are attached to an EC2 instance as extra drive you can access as a local harddrive)
  3. CloudFront is a WEB-CACHE (you select which datacenter you want them in, and then you point at a S3 bucket and Amazon will replicate the content for you)

So we only need to figure out what you mean by "securely" as there are two options as I see it:

  1. You can protect buckets in the S3 or make access levels with accounts, for "administrator access" only and PUBLIC READABLE...

  2. You can store the data in a EBS volume and keep them there, then they are very secure and NOT public, but shareable (I believe) among the servers (I've planned to check out this myself within the next week)

  3. You cannot protect "cloudfront" data as it's controlled by the Bucket permissions from S3...

Hope you can use this a little. I've not stated anything regarding SPEED nor COST, thats for you to benchmark/test with your data requirements. :o)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文