proxy to save and cache media files in s3 on request?

0

Is it possible to use some sort of media proxy cache to store videos in an s3 bucket?

So that when you request https://bucket.s3.eu-west-2.amazonaws.com/?https://domain.com/media/file.mp4

It copies the file to the s3 bucket on the first request and then returns the file on every future request?

已提问 2 年前317 查看次数
1 回答
1

You should use a CDN like Amazon CloudFront (https://aws.amazon.com/cloudfront/) to do exactly that. Amazon CloudFront caches the content at the edge closer to the end users so the request does not have to go to the Origin Server. You can still use S3 for your media repository and have the content requested thru Amazon CloudFront. Take a look at the following AWS Video On Demand Solution here: https://aws.amazon.com/solutions/implementations/video-on-demand-on-aws/

AWS
Nuno_Q
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则