有人可以向我解释一下普通 Web 服务中使用了哪些 Amazon Web Services 组件吗?

发布于 2024-07-12 22:27:05 字数 172 浏览 2 评论 0原文

我想要在 AWS 上运行的 Web 服务必须存储和检索用户数据,通过网站将其呈现给用户,并且需要能够每 10 分钟左右解析数千个站点的站点地图。 我需要使用 AWS 的哪些组件,例如 S3、EC2 和 CloudFront。 关于每个组件的用途的简短概要会很好。 :)

我特别不明白简单队列服务的目的。

The web service that I want to run on AWS has to store and retrieve user data, present it to the user via a website, and needs to be able to parse the sitemaps of a few thousand sites every 10 min or so. Which components of AWS, such as S3, EC2, and CloudFront do I need to use. A short synopsis about the purpose of each component would be nice. :)

I particularly do not understand the purpose of the Simple Queue Service.

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

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

发布评论

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

评论(2

守望孤独 2024-07-19 22:27:05

例如,您可以使用 EC2(按需、可扩展、VPS)来托管实际应用程序,并使用 S3(网络存储)来存储数据。 您可能不需要 Cloudfront(地理优化内容镜像)。

我们使用SQS(简单队列服务)对我们想要异步执行的任务进行排队,即无需让用户等待它们完成。 事实证明,即使您的网站流量不大,SQS 也会变得非常昂贵,因此我们很快就会在自己的一台机器上处理排队问题。

You might, for example, use EC2 (on-demand, scalable, VPS) to host the actual application and S3 (networked storage) to store the data. You would probably not need Cloudfront (geographically optimized content mirroring).

We use SQS (Simple Queue Service) to queue tasks we want performed asynchronously, i.e. without making the user wait for them to complete. As it turns out SQS becomes incredibly expensive if your site has even modest traffic, so we'll be handling queueing on one of our own boxes soon.

牵你的手,一向走下去 2024-07-19 22:27:05

您可能想要查看的另一个服务是弹性块存储 (EBS),它为 EC2 实例提供持久存储。 如果您关闭实例,则通过实例获得的默认存储不会保留,因此我建议将所有关键数据存储在 EBS 上,以便在实例出现故障时可以快速恢复。

SimpleDB 也可能对您的服务有用。

请查看 AWS 的维基百科条目,了解有关每项服务的更多信息。

Another service you might want to look at is the Elastic Block Store (EBS), which provides persistent storage for an EC2 instance. The default storage that you get with an instance is not persisted if you shut down the instance, so I'd recommend storing all your critical data on EBS so that you can recover quickly if an instance goes down.

SimpleDB might also be useful for your service.

Have a look at the Wikipedia entry for AWS to learn more about each service.

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