当使用Amazon的Cloudfront或S3 [英] When to use Amazon Cloudfront or S3

查看:160
本文介绍了当使用Amazon的Cloudfront或S3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有使用了有助于更好地向Amazon CloudFront的过度S3或其他方式的情况下?我想了解,通过例子2之间的差异。

Are there use cases that lend themselves better to Amazon cloudfront over s3 or the other way around? I'm trying to understand the difference between the 2 through examples.

推荐答案

亚马逊的CloudFront的是一些什么样的内容交付网络(CDN),从S3采用其数据。 究竟做的是复制S3在不同的位置数据,使...

Amazon CloudFront is some kind of Content Delivery Network (CDN), that takes its data from S3. What actually does is replicate the S3 data in different locations, so that...

当最终用户要求使用该域名的对象,它们会自动路由到您的内容高性能交付最近的边缘位置。 (亚马逊

When end users request an object using this domain name, they are automatically routed to the nearest edge location for high performance delivery of your content. (Amazon)

这是最主要的区别,你把它的优势,当你的用户群是全世界约S $ P $垫。所以......

That's the main difference, and you take advantage of it when your user base is "spread around the world". So...

  • 如果你的用户群是局部的,你不会看到太大的区别与S3或CloudFront的工作(但你要选择合适的位置,你的S3存储:美国,欧盟,亚太地区)。
  • 如果你的用户群为s $ P $垫,CloudFront的应该是更好的选择。

另一个区别是,CloudFront的让你的设置不同的域别名作为您的CloudFront的分布:

Another difference is that CloudFront allows you to set different domain aliases for your CloudFront distribution:

  • 您可以有例如 d1.mystatics.com d2.mystatics.com d3.mystatics.com 的指向相同CloudFront的分布,使并行下载。 (谷歌
  • You can have for example d1.mystatics.com, d2.mystatics.com and d3.mystatics.com pointing to the same CloudFront distribution, allowing parallel downloads. (Google)

这篇关于当使用Amazon的Cloudfront或S3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆