问题描述
我已经阅读了有关它们的文档,但我不完全了解它们的区别.
I have read documents about them, but I don't know their difference exactly.
你能告诉我有什么区别吗?
could you let me know what's the difference?
推荐答案
TL;DR:CloudFront 用于内容交付.S3 Transfer Acceleration 用于向 S3 存储桶(主要是上传)进行更快的传输和更高的吞吐量.
TL;DR: CloudFront is for content delivery. S3 Transfer Acceleration is for faster transfers and higher throughput to S3 buckets (mainly uploads).
Amazon S3 Transfer Acceleration 是一项 S3 功能,可使用 AWS 边缘站点(与 AWS CloudFront 服务中的边缘站点相同)加速上传到 S3 存储桶.
Amazon S3 Transfer Acceleration is an S3 feature that accelerates uploads to S3 buckets using AWS Edge locations - the same Edge locations as in AWS CloudFront service.
但是,(a) 创建一个 CloudFront 分配,其源指向您的 S3 存储桶和 (b) 为您的存储桶启用 S3 传输加速 - 是两种不同的东西,用于两个不同的目的.
However, (a) creating a CloudFront distribution with an origin pointing to your S3 bucket and (b) enabling S3 Transfer acceleration for your bucket - are two different things serving two different purposes.
当您使用指向您的 S3 存储桶的源创建 CloudFront 分配时,您可以在边缘站点上启用缓存.对相同对象的后续请求将从 Edge 缓存提供,这对最终用户来说速度更快,并且还减少了源的负载.CloudFront 主要用作内容交付服务.
When you create a CloudFront distribution with an origin pointing to your S3 bucket, you enable caching on Edge locations. Consequent requests to the same objects will be served from the Edge cache which is faster for the end user and also reduces the load on your origin. CloudFront is primarily used as a content delivery service.
当您为 S3 存储桶启用 S3 传输加速并使用 <bucket>.s3-accelerate.amazonaws.com
而不是默认的 S3 端点时,传输将通过相同的边缘位置执行,但网络路径针对远距离大对象上传进行了优化.额外的资源和优化用于实现更高的吞吐量.边缘位置没有缓存.
When you enable S3 Transfer Acceleration for your S3 bucket and use <bucket>.s3-accelerate.amazonaws.com
instead of the default S3 endpoint, the transfers are performed via the same Edge locations, but the network path is optimized for long-distance large-object uploads. Extra resources and optimizations are used to achieve higher throughput. No caching on Edge locations.
更多信息:
- https://aws.amazon.com/blogs/aws/aws-storage-update-amazon-s3-transfer-acceleration-larger-snowballs-in-more-regions/
- http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration-examples.html
- https://aws.amazon.com/about-aws/whats-new/2016/04/transfer-files-into-amazon-s3-up-to-300-percent-faster/
这篇关于amazon cloudfront 和amazon s3 传输加速有什么区别吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!