- Newest
- Most votes
- Most comments
If you want to share the video file publicly, you should create a CloudFront distribution and connect your S3 bucket as the Origin for your distribution. Look at the following documentation: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html
If you want to offer Video On Demand thru CloudFront, look at the following workshop that details how to encode and distribute video files using S3 and CloudFront CDN: https://catalog.us-east-1.prod.workshops.aws/workshops/cb172534-d59d-41d1-a9b3-371039593c63
If you just want to share the video with just a few parties you can create signed URLs and share the URL's with the indented parties. Instructions to create signed URL are here: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html
Thank you Nuno. I do find the links hard to follow. There must be a simpler way just to make a file shareable in an S3 bucket. I can do it if I enable ACLs but the recommendation is not to and I don't understand how to make files shareable without using ACLs!
Hi Peter, Adding CloudFront in front of your S3 bucket is the easiest way and provides you at least 3 benefits:
- Caching of content at the edge and better performance for users when viewing the shared videos
- Reduction on costs since data being sent to the Internet from your S3 bucket is priced as Data Transfer Out
- Reduce the costs with the number of GETs because objects are cached in CloudFront
Look at the following step by step instructions in this article https://medium.com/mycloudseries/how-to-configure-secure-file-access-on-s3-via-cloudfront-ae9ff0096005 under "Using CloudFront OAC for S3 Objects"
It also has a video at the bottom showing how to do it.
For S3 pricing and data transfer out costs see: https://aws.amazon.com/s3/pricing/
Relevant content
- asked a year ago
- asked 2 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
I want to stream the video through an evergreen webinar service, ideally using Cloudfront to help with buffering issues.