Hosting Downloads on Amazon S3 with CloudFront

Since early 2019, I host downloads for my app The Archive on Amazon’s servers. The S3 bucket is a cheap-enough storage of the zip files, and the CloudFront cache is a content distribution network across the globe that improve download speeds. Here’s a long tutorial, because I will most likely forget how I did all this in a while, and chances are you don’t know how to do this either.

Continue reading …