By setting it up like this:
Because Discourse does not have permission to access the S3 bucket and optimize the images for display on the site. Discourse also cannot guarentee that the link will always work - the person who owns the bucket could delete the file.