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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南