Live data from Hacker News

How an empty S3 bucket can make your AWS bill explode

medium.com

1–10 of 118 posts

Re: How an empty S3 bucket can make your AWS bill explode

#4
post #2

I don't use S3, but it's kind of insane that unauthorized requests contribute to your bill... couldn't a bored/malicious actor with a botnet just spam common bucket names?

This is exactly where my mind went. I assume most people, myself included, didn't realize this. This is absolutely going to turn into the economic equivalent of a ddos.

Re: How an empty S3 bucket can make your AWS bill explode

#7

A quick answer is to put the bucket behind cloudfront so that the denial is cached, but that's not totally free either. If they actually charge for unauth'd requests that's absurd

> Other than deleting the bucket, there’s nothing you can do to prevent it. You can’t protect your bucket with services like CloudFront or WAF when it’s being accessed directly through the S3 API.

Re: How an empty S3 bucket can make your AWS bill explode

#8

A quick answer is to put the bucket behind cloudfront so that the denial is cached, but that's not totally free either. If they actually charge for unauth'd requests that's absurd

You can't protect your bucket with CloudFront if it's being access using S3 api.

Re: How an empty S3 bucket can make your AWS bill explode

#9

A quick answer is to put the bucket behind cloudfront so that the denial is cached, but that's not totally free either. If they actually charge for unauth'd requests that's absurd

That doesn't work, the standard endpoint always remains available.
Post reply on HN