Open S3 buckets
2020-07-26 21:44:51.246483+02 by Dan Lyke 2 comments
A cautionary tale: Chris Short: The AWS bill heard around the world
2020-07-26 21:44:51.246483+02 by Dan Lyke 2 comments
A cautionary tale: Chris Short: The AWS bill heard around the world
comments in descending chronological order (reverse):
#Comment Re: Open S3 buckets made: 2020-07-27 21:26:07.097731+02 by: Dan Lyke
Yeah, I think so. Because if Amazon can't serve the file economically, is Cloudflare gonna be able to?
#Comment Re: Open S3 buckets made: 2020-07-27 00:39:07.274504+02 by: brainopener
"That’s right, Cloudflare saw requests for a 13.7 GB file and sent them straight to origin every time BY DESIGN. Ouch!"
So what's the right thing here? I assume that the content is cached as it is streamed so it's not looking before it leaps. If the caching is going to fail, return a 5xx? Maybe cache a 5xx after it figures out that file is too big?