News for hackers. Stuff that matters.
Re:How an empty S3 bucket can make your AWS bill explode by INTPenis on Tuesday April 30, 2024 @01:43AM (#40207592)
That's exactly it. I just spent the morning cleaning up my buckets.

I had two old buckets left over from when I was using Elasticbeanstalk 5 years ago, and they had predictable names with my account ID in them. And as we heard in February, account IDs are easily leaked and not considered private.

Besides that AWS themselves recommend you to use your domain name as bucket name when using S3 static site hosting. Thankfully I've been using Cloudfront infront of randomized bucket names for a few years already.

So now I'm forced to increase the random string I use in all my bucket names from 8 to 16 characters. Every bucket is now a password for a malicious actor who wants to attack your finances.

Obviously all accounts should have budget alerts, but there is no budget ceiling feature.

Technically AWS does offer you all the tools to create a budget ceiling feature using budget alerts and lambdas that will shutdown the affected service. I just wish someone would do it because I don't have the time.

Re:How an empty S3 bucket can make your AWS bill explode by aveao on Tuesday April 30, 2024 @03:58PM (#40215585)
You cannot shut down an S3 bucket with a lambda tho, the mentioned issue above is only solvable by deleting the bucket.
Re:How an empty S3 bucket can make your AWS bill explode by busymom0 on Monday May 06, 2024 @05:48PM (#40279881)
Reminder that if you are using pre-signed urls, then that url also exposes the bucket name. So, using hard to guess bucket names isn't a solution for many people.