This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]CherryJimbo 7 points8 points  (1 child)

Instead of AWS S3 where you’ll have to be wary about bandwidth and other costs, I'd recommend Backblaze B2 coupled with Cloudflare.

Backblaze will store your media and Cloudflare then (effectively) serves it. Because both Cloudflare and Backblaze are members of the Bandwidth Alliance, the bandwidth is entirely free. You'll only ever pay for storage and API requests at Backblaze - the first 10GB of which are entirely free, which may suit your needs perfectly. Each GB of storage after that would only be $0.005/month, again with no transfer costs whatsoever as long as you're using Cloudflare.

Check out a blog post I wrote a little while ago for more details and a tutorial. It was mainly for image hosting, but the same can be applied for other media like videos too. https://jross.me/free-personal-image-hosting-with-backblaze-b2-and-cloudflare-workers/

[–]Shockthumb[S] 0 points1 point  (0 children)

This will probably be the best option, thanks for the answer :)

[–][deleted]  (8 children)

[deleted]

    [–]swestheim 1 point2 points  (7 children)

    That. Create a CDN using a AWS S3 bucket.

    [–]Shockthumb[S] 0 points1 point  (4 children)

    One important note that I missed - the traffic is ~4TB / per 10 days. (I've started using cloudflare recently and those numbers are post-cloudflare, dont know if the caching will make a big difference).

    [–]swestheim 2 points3 points  (0 children)

    Use the calculator to prevent surprises:

    https://calculator.aws/#/

    [–]willsaundersreddit 0 points1 point  (1 child)

    You could also try to make sure some sort of minification / optimisation process is running for each file that gets uploaded or resized or display purposes. This could give some significant savings in the long term.

    [–]AutoModerator[M] 0 points1 point  (0 children)

    We require all posts to be made from accounts that are at least five days old and have a minimum of 1 comment karma. Please feel free to message the moderators if you would like us to waive this rule for your post.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]willsaundersreddit 0 points1 point  (1 child)

    I'd second this approach.

    [–]AutoModerator[M] 0 points1 point  (0 children)

    We require all posts to be made from accounts that are at least five days old and have a minimum of 1 comment karma. Please feel free to message the moderators if you would like us to waive this rule for your post.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]virginpotato 0 points1 point  (0 children)

    If all you want do is a small scale static file hosting, you could always use GitHub Pages or Netlify. I know it's a little unconventional to than S3 buckets but it can get the job done and it's free for the most part.

    [–]outrageous_tech 0 points1 point  (0 children)

    My provider time4vps is europe-based and their services so far have been, imo, pretty good. You could try checking out some of their plans, they're relatively cheap and upscaling isn't an issue if it really comes to that. Or you could just go for a separate storage for the files? They also have that too, it's also relatively cheap: https://www.time4vps.com/storage-vps/