How to make video publicly shareable?

0

I have created a new Amazon S3 bucket and selected ACLs Disabled and uploaded an mp4 video file. How do I make the video publicly shareable? I am new to AWS and just want to keep things simple. Thank you

  • I want to stream the video through an evergreen webinar service, ideally using Cloudfront to help with buffering issues.

Peter
asked 6 months ago215 views
1 Answer
1
Accepted Answer

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

AWS
Nuno_Q
answered 6 months ago
  • 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:

    1. Caching of content at the edge and better performance for users when viewing the shared videos
    2. Reduction on costs since data being sent to the Internet from your S3 bucket is priced as Data Transfer Out
    3. 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/

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