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?

1 Answer
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions