715
using AWS (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] tonytins@pawb.social 83 points 2 days ago

"Did you accidentally leave an unused function running? Too bad."

[-] bamboo@lemmy.blahaj.zone 49 points 2 days ago

I enabled Cloudtrail to log all DynamoDB read/write data events when trying to troubleshoot an issue. Even though I only left this enabled for a few days, the Cloudtrail line item was $5k more than it should have been. My back of the napkin math with assumptions came out to be 100 times less than that, so I had a really awkward support email asking them to reverse the charges, which they did fortunately.

[-] RonSijm@programming.dev 3 points 9 hours ago* (last edited 5 hours ago)

A lot of the times this comes down to a user error.

For example, very similar to your case, I knew someone that enabled Cloudtrail, and configured some things to have Cloudtrail logs dumped on S3. Guess what? Dumping things on S3 also creates a Cloudtrail that gets logged to S3 that Cloudtrail logs. Etc

Doing things like that and creating a loop can get you massive bills

[-] bamboo@lemmy.blahaj.zone 1 points 8 hours ago

Yeah, in my case, I wasn't familiar with the settings for Cloudtrail Data Events, and didn't realize you could select which events to log, based on the actor or resource, as opposed to all events in DynamoDB. That would have saved me a lot processing power to filter the logs to look for the actions I was looking for.

[-] tonytins@pawb.social 1 points 1 day ago

What I referenced earlier actually happened to me with Azure once. Unfortunately, I discovered at that last minute, but they thankfully just closed that account and never charged me.

this post was submitted on 12 Jun 2025
715 points (99.2% liked)

Programmer Humor

24174 readers
1467 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS