ChatGPT helped me figure out how to serve Active Storage images stored in an S3 bucket through a Cloudfront distribution. I then asked it to write a short piece on this to help others. Here's the link to the piece: