this post was submitted on 10 Jan 2025
596 points (96.1% liked)

Programmer Humor

19935 readers
1302 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
 
top 24 comments
sorted by: hot top controversial new old
[–] ignotum@lemmy.world 14 points 8 hours ago* (last edited 8 hours ago)

bill of 40 billion dollars shows up
"Oh shit, I'm going to have to work twice as hard for a couple of hours to make that back"
Tweets twice as often

[–] foster@lemmy.fosterhangdaan.com 14 points 11 hours ago

In other news: Jeff Bezos is now the richest person in the world.

[–] tatterdemalion@programming.dev 115 points 1 day ago

This would be more believable if Elon paid his cloud bills.

[–] Lemmysweet@programming.dev 3 points 12 hours ago

I don't believe your opinion

[–] lordnikon@lemmy.world 63 points 1 day ago (2 children)

u7in-32tb.224xlarge's get you every time

[–] AnUnusualRelic@lemmy.world 117 points 1 day ago

That's the name of one of his children, isn't it?

[–] xmunk@sh.itjust.works 46 points 1 day ago (1 children)

But my code runs 3% faster on that instance than a t3.small - it'd be inefficient to use anything else.

[–] IndieSpren@lemmy.blahaj.zone 20 points 23 hours ago

An entire 3%!!!? My bad, carry on then.

[–] McLoud@lemm.ee 45 points 1 day ago* (last edited 1 day ago) (3 children)

I saw this on all, and I don't get the joke. Any programmers care to explain in lay terms?

[–] cm0002@lemmy.world 105 points 1 day ago* (last edited 1 day ago) (2 children)

EC2 are cloud based virtual machines, very easy to spin one up exactly as you need it to run whatever.

But they're billed hourly and they get very expensive very very fast especially when you leave it on (the hourly billing is for a machine that's on and running) and have shit tons of resources on it. You can have multiple terabyte RAM machines at the click of a button

[–] McLoud@lemm.ee 24 points 1 day ago (1 children)

Thanka for the detailed explanation!

[–] ysjet@lemmy.world 54 points 22 hours ago (2 children)

The other thing they forgot to mention is that getting Amazon to actually tell you what anything will cost, or a breakdown of what your bill is, is like pulling teeth.

[–] Knock_Knock_Lemmy_In@lemmy.world 2 points 12 hours ago

I presume Google and Microsoft are similarly bad.

[–] cm0002@lemmy.world 12 points 21 hours ago (1 children)

Oh good to know, I'm more of a GCP guy myself and it's billing tool isn't too shabby IMO lolol

[–] ysjet@lemmy.world 15 points 20 hours ago* (last edited 20 hours ago) (2 children)

Amazon's billing tool is the most useless thing I've ever seen lol. it's like "$XYZ of your bill was server compute!" like, there's 40 ec2s, elastic beanstalk instances, fargate, kubernetes, like what the fuck is 'server compute' and what's the breakdown of the actual individual parts?

It's not even unhelpful, it's literally worse than useless lmao

[–] steventhedev@lemmy.world 7 points 18 hours ago (1 children)

You can get a full itemized bill. The only thing that isn't fully broken out are elastic ips. We found that out because we were tagging everything for billing and those weren't showing up correctly.

Mind you, it's likely a bit more itemized than you want. Like you'll see a separate line item for each price tier you paid for something, and things like ebs disks are all split out. It can be a bit...much.

[–] ysjet@lemmy.world 5 points 15 hours ago (1 children)

I mean, that's kind of my point though. You either get worse than useless, over detailed to the point of useless, or you have to spend weeks pulling hacky crap with tags to try to jury-rig your own useful billing system out of their clusterfuck.

[–] steventhedev@lemmy.world 0 points 12 hours ago

I think you're over exaggerating the effort needed for tagging resources. Between terraform/pulumi/cdk and the tag tool, it's relatively easy to make sure everything is tagged. Doubly so if you have a finance department who's literal job is to go through and do that (or ask you for help with it)

[–] blackn1ght@feddit.uk 0 points 12 hours ago

You need to use tags on your resources if you want to get a better breakdown of what your more specific resources are costing you.

You can filter by tags in cost explorer.

[–] smeg@feddit.uk 36 points 1 day ago (1 children)

You can rent cloud machines from Amazon, they can get pretty expensive if you forget about them

[–] McLoud@lemm.ee 8 points 1 day ago

Ahhh, thanks

[–] elgordino@fedia.io 1 points 1 day ago

Amazon charges per hour for renting a server. Some are very expensive. It’s a common mistake to forget to turn off a server after you’ve finished using it and end up paying more than you planned.