frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The $1k AWS Mistake

https://www.geocod.io/code-and-coordinates/2025-11-18-the-1000-aws-mistake/
49•thecodemonkey•1h ago

Comments

fragmede•1h ago
Just $1,000? Thems rookie numbers, keep it up, you'll get there (my wallet won't, ow).
thecodemonkey•1h ago
Haha, yep we were lucky to catch this early! It could easily have gotten lost with everything else in the monthly AWS bill.
bravetraveler•59m ago
Came here to say the same, take my vote

    - DevOops
harel•1h ago
You probably saved me a future grand++. Thanks
thecodemonkey•55m ago
That was truly my hope with this post! Glad to hear that
nrhrjrjrjtntbt•1h ago
NAT gateway probably cheap as fuck for Bezos & co to run but nice little earner. The parking meter or exit ramp toll of cloud infra. Cheap beers in our bar but $1000 curb usage fee to pull up in your uber.
tecleandor•47m ago
I think it's been calculated that data transfer is the biggest margin product in all AWS catalog by a huge difference. A 2021 calculation done by Cloudflare [0] estimated almost 8000% price markup in EU and US regions.

And I can see how, in very big accounts, small mistakes on your data source when you're doing data crunching, or wrong routing, can put thousands and thousands of dollars on your bill in less than an hour.

--

  0: https://blog.cloudflare.com/aws-egregious-egress/
wiether•11m ago
> can put thousands and thousands of dollars on your bill in less than an hour

By default a NGW is limited to 5Gbps https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway...

A GB transferred through a NGW is billed 0.05 USD

So, at continuous max transfer speed, it would take almost 9 hours to reach $1000

Assuming a setup in multi-AZ with three AZs, it's still 3 hours if you have messed so much that you can manage to max your three NGWs

I get your point but the scale is a bit more nuanced than "thousands and thousands of dollars on your bill in less than an hour"

The default limitations won't allow this.

ukoki•43m ago
I don't think its about profits, its about incentivising using as many AWS products as possible. Consider it an 'anti-lock-in fee'
CjHuber•58m ago
Does Amazon refund you for mistakes, or do you have to land on HN frontpage for that to happen?
Aeolun•55m ago
I presume it depends on your ability to pay for your mistakes. A $20/month client is probably not going to pony up $1000, a $3000/month client will not care as much.
viraptor•54m ago
They do sometimes if you ask. Probably depends on each case though.
thecodemonkey•47m ago
Hahaha. I'll update the post once I hear back from them. One could hope that they might consider an account credit.
Dunedan•40m ago
Depends on various factors and of course the amount of money in question. I've had AWS approve a refund for a rather large sum a few years ago, but that took quite a bit of back and forth with them.

Crucial for the approval was that we had cost alerts already enabled before it happened and were able to show that this didn't help at all, because they triggered way too late. We also had to explain in detail what measures we implemented to ensure that such a situation doesn't happen again.

rwmj•19m ago
Wait, what measures you implemented? How about AWS implements a hard cap, like everyone has been asking for forever?
stef25•15m ago
> Does Amazon refund you for mistakes

Hard no. Had to pay I think 100$ for premium support to find that out.

viraptor•52m ago
The service gateways are such a weird thing in AWS. There seems to be no reason not to use them and it's like they only exist as a trap for the unaware.
wiether•20m ago
Reading all the posts about people who got bitten by some policies on AWS, I think they should create two modes:

- raw

- click-ops

Because, when you build your infra from scratch on AWS, you absolutely don't want the service gateways to exist by default. You want to have full control on everything, and that's how it works now. You don't want AWS to insert routes in your route tables on your behalf. Or worse, having hidden routes that are used by default.

But I fully understand that some people don't want to be bothered but those technicalities and want something that work and is optimized following the Well-Architected Framework pillars.

IIRC they already provide some CloudFormation Stacks that can do some of this for you, but it's still too technical and obscure.

Currently they probably rely on their partner network to help onboard new customers, but for small customers it doesn't make sense.

merpkz•52m ago
> AWS charges $0.09 per GB for data transfer out to the internet from most regions, which adds up fast when you're moving terabytes of data.

How does this actually work? So you upload your data to AWS S3 and then if you wish to get it back, you pay per GB of what you stored there?

hexbin010•48m ago
Yes uploading into AWS is free/cheap. You pay per GB of data downloaded, which is not cheap.

You can see why, from a sales perspective: AWS' customers generally charge their customers for data they download - so they are extracting a % off that. And moreover, it makes migrating away from AWS quite expensive in a lot of circumstances.

speedgoose•47m ago
Yes. It’s not very subtle.
ilogik•44m ago
the statement is about aws in general, and yes, you pay for bandwith
pavlov•44m ago
Yes…?

Egress bandwidth costs money. Consumer cloud services bake it into a monthly price, and if you’re downloading too much, they throttle you. You can’t download unlimited terabytes from Google Drive. You’ll get a message that reads something like: “Quota exceeded, try again later.” — which also sucks if you happen to need your data from Drive.

AWS is not a consumer service so they make you think about the cost directly.

embedding-shape•41m ago
"Premium bandwidth" which AWS/Amazon markets to less understanding developers is almost a scam. By now, software developers think data centers, ISPs and others part of the peering on the internet pay per GB transferred, because all the clouds charge them like that.
plantain•33m ago
Try a single threaded download from Hetzner Finland versus eu-north-1 to a remote (i.e. Australia) destination and you'll see premium bandwidth is very real. Google Cloud Storage significantly more so than AWS.

Sure you can just ram more connections through the lossy links from budget providers or use obscure protocols, but there's a real difference.

Whether it's fairly priced, I suspect not.

0manrho•38m ago
That is the business model and one of the figurative moats: easy to onboard, hard/expensive (relative to on-boarding ) to divest.

Though important to note in this specific case was a misconfiguration that is easy to make/not understand in the data was not intended to leave AWS services (and thus should be free) but due to using the NAT gateway, data did leave the AWS nest and was charged at a higher data rate per GB than if just pulling everything straight out of S3/EC2 by about an order of magnitude (generally speaking YMMV depending on region, requests, total size, if it's an expedited archival retrieval etc etc)

So this is an atypical case, doesn't usually cost $1000 to pull 20TB out of AWS. Still this is an easy mistake to make.

blitzar•34m ago
Made in California.

We are programmed to receive. You can check out any time you like, but you can never leave

pjc50•8m ago
Nine cents per gigabyte feels like cellphone-plan level ripoff rather than a normal amount for an internet service.

And people wonder why Cloudflare is so popular, when a random DDoS can decide to start inflicting costs like that on you.

dabiged•51m ago
I made the same mistake and blew $60k.

I have never understood why the S3 endpoint isn't deployed by default, except to catch people making this exact mistake.

rikafurude21•43m ago
Thats a year salary but hey think about how much more complicated your work would be if you had to learn to self-host your infra!
andrewstuart•31m ago
You could have been running a 24 core $60/month unlimited bandwidth server on IONOS.
krystalgamer•49m ago
Ah, the good old VPC NAT Gateway.

I was lucky to have experienced all of the same mistakes for free (ex-Amazon employee). My manager just got an email saying the costs had gone through the roof and asked me to look into it.

Feel bad for anyone that actually needs to cough up money for these dark patterns.

mgaunard•44m ago
Personally I don't even understand why NAT gateways are so prevalent. What you want most of the time is just an Internet gateway.
Hikikomori•24m ago
Only works in public subnets, which isn't what you want most of the time.
cube00•48m ago
A Gateway Endpoint is a special type of VPC endpoint that allows you to privately route traffic to S3 without going through your NAT Gateway or Internet Gateway. It's essentially a direct pipe from your VPC to S3.

A paragraph later.

The solution is to create a VPC Gateway Endpoint for S3. This is a special type of VPC endpoint that creates a direct route from your VPC to S3, bypassing the NAT Gateway entirely.

mgaunard•46m ago
If you want to avoid any kind of traffic fees, simply don't allow routing outside of your VPC by default.
belter•37m ago
Talking how the Cloud is complicated, and writing a blog about what is one of the most basic scenarios discussed in every Architecture class from AWS or from 3rd parties...
wiether•6m ago
There's nothing to gain in punching down

They made a mistake and are sharing it for the whole word to see in order to help others avoid making it.

It's brave.

Unlike punching down.

andrewstuart•36m ago
Why are people still using AWS?

And then writing “I regret it” posts that end up on HN.

Why are people not getting the message to not use AWS?

There’s SO MANY other faster cheaper less complex more reliable options but people continue to use AWS. It makes no sense.

chistev•24m ago
Examples?
andrewstuart•17m ago
Of what?
wiether•8m ago
> faster cheaper less complex more reliable options
andrewstuart•1m ago
Allow me to google that for you…..

https://www.ionos.com/servers/cloud-vps

$22/month for 18 months with a 3-year term 12 vCores CPU 24 GB RAM 720 GB NVMe

Unlimited 1Gbps traffic

V__•28m ago
Just curious but if you are already on Hetzner, why not do the processing also there?
Havoc•28m ago
These sort of things show up about once a day between the three big cloud subreddit. Often with larger amounts

And it’s always the same - clouds refuse to provide anything more than alerts (that are delayed) and your only option is prayer and begging for mercy.

Followed by people claiming with absolute certainty that it’s literally technically impossible to provide hard capped accounts to tinkerers despite there being accounts like that in existence already (some azure accounts are hardcapped by amount but ofc that’s not loudly advertised).

sofixa•8m ago
It's not that it's technically impossible. The very simple problem is that there is no way of providing hard spend caps without giving you the opportunity to bring down your whole production environment when the cap is met. No cloud provides wants to give their customers that much rope to hang themselves with. You just know too many customers will do it wrong or will forget to update the cap or will not coordinate internally, and things will stop working and take forever to fix.

It's easier to waive cost overages than deal with any of that.

ryanjshaw•27m ago
As a bootstrapped dev, reading stories like these gives me so much anxiety. I just can’t bring myself to use AWS even despite its advantages.
thecodemonkey•20m ago
We are also 100% customer-funded. AWS makes sense for us for the enterprise version of Geocodio where we are SOC2 audited and HIPAA-compliant.

We are primarily using Hetzner for the self-serve version of Geocodio and have been a very happy customer for decades.

Hikikomori•20m ago
Saved >120k/month by deploying some vpc endpoints and vpc peering (rather than tgw).
4gotunameagain•19m ago
I'm still adamant about the fact that the "cloud" is a racket.

Sure, it decreases the time necessary to get something up running, but the promises of cheaper/easier to manage/more reliable have turned out to be false. Instead of paying x on sysadmin salaries, you pay 5x to mega corps and you lose ownership of all your data and infrastructure.

I think it's bad for the environment, bad for industry practices and bad for wealth accumulation & inequality.

stef25•19m ago
Made a similar mistake like this once. While just playing around to see what's possible I upload some data to the AWS algo that will recommended products to your users based on everyone's previous purchases.

I uploaded a small xls with uid and prodid columns and then kind of forgot about it.

A few months later I get a note from bank saying your account is overdrawn. The account is only used for freelancing work which I wasn't doing at the time, so I never checked that account.

Looks like AWS was charging me over 1K / month while the algo continuously worked on that bit of data that was uploaded one time. They charged until there was no money left.

That was about 5K in weekend earnings gone. Several months worth of salary in my main job. That was a lot of money for me.

Few times I've felt so horrible.

auggierose•16m ago
Are there any cloud providers that allow a hard cap on dollars spent per day/week/month? Should there not be a law that they have to?
torginus•13m ago
> I've been using AWS since around 2007. Back then, EC2 storage was entirely ephemeral and stopping an instance meant losing all your data. The platform has come a long way since then.

Personally I miss ephemeral storage - having the knowledge that if you start the server from a known good state, going back to that state is just a reboot away. Way back when I was in college, a lot of out big-box servers worked like this.

You can replicate this on AWS with snapshots or formatting the EBS volume into 2 partitions and just clearing the ephemeral part on reboot, but I've found it surprisingly hard to get it working with OverlayFS

Cloudflare outage on November 18, 2025 post mortem

https://blog.cloudflare.com/18-november-2025-outage/
1127•eastdakota•12h ago•618 comments

Multimodal Diffusion Language Models for Thinking-Aware Editing and Generation

https://github.com/tyfeld/MMaDA-Parallel
39•lnyan•2h ago•2 comments

Gemini 3

https://blog.google/products/gemini/gemini-3/
1469•preek•20h ago•905 comments

Google Antigravity

https://antigravity.google/
914•Fysi•20h ago•892 comments

I made a down detector for down detector

https://downdetectorsdowndetector.com
163•gusowen•11h ago•46 comments

Even Realities Smart Glasses: G2

https://www.evenrealities.com/smart-glasses
29•gessha•5d ago•25 comments

Pebble, Rebble, and a path forward

https://ericmigi.com/blog/pebble-rebble-and-a-path-forward/
407•phoronixrly•18h ago•206 comments

Show HN: Browser-based interactive 3D Three-Body problem simulator

https://trisolarchaos.com/?pr=O_8(0.6)&n=3&s=5.0&so=0.00&im=rk4&dt=1.00e-4&rt=1.0e-6&at=1.0e-8&bs...
137•jgchaos•20h ago•48 comments

I wrote a Pong game in a 512-byte boot sector

https://akshatjoshi.com/i-wrote-a-pong-game-in-a-512-byte-boot-sector/
54•akshat666•4d ago•6 comments

Ultima VII Revisited

https://github.com/ViridianGames/U7Revisited
103•erickhill•1w ago•17 comments

Blender 5.0

https://www.blender.org/download/releases/5-0/
818•FrostKiwi•14h ago•255 comments

Bret Victor the Future of Programming (2013) [video]

https://www.youtube.com/watch?v=8pTEmbeENF4
7•jackdoe•6d ago•2 comments

Bluetooth Channel Sounding: The Next Leap in Bluetooth Innovation

https://www.embedded.com/bluetooth-channel-sounding-the-next-leap-in-bluetooth-innovation?_gl=1*8...
49•JoachimS•5d ago•19 comments

Gemini 3 Pro Model Card [pdf]

https://storage.googleapis.com/deepmind-media/Model-Cards/Gemini-3-Pro-Model-Card.pdf
232•virgildotcodes•1d ago•319 comments

Mojo-V: Secret Computation for RISC-V

https://github.com/toddmaustin/mojo-v
31•fork-bomber•6d ago•10 comments

The code and open-source tools I used to produce a science fiction anthology

https://compellingsciencefiction.com/posts/the-code-and-open-source-tools-i-used-to-produce-a-sci...
161•mojoe•19h ago•20 comments

Exploring the Limits of Large Language Models as Quant Traders

https://nof1.ai/blog/TechPost1
70•rzk•4h ago•40 comments

Cloudflare Global Network experiencing issues

https://www.cloudflarestatus.com/incidents/8gmgl950y3h7
2373•imdsm•1d ago•1612 comments

A Rigorous Approach to the Algorithmic Composition of Iannis Xenakis(2009) [pdf]

https://monoskop.org/images/3/38/Hoffmann_Peter_Music_Out_of_Nothing_A_Rigorous_Approach_to_Algor...
5•ofalkaed•4d ago•0 comments

Strace-macOS: A clone of the strace command for macOS

https://github.com/Mic92/strace-macos
55•signa11•10h ago•12 comments

OrthoRoute – GPU-accelerated autorouting for KiCad

https://bbenchoff.github.io/pages/OrthoRoute.html
181•wanderingjew•16h ago•21 comments

I am stepping down as the CEO of Mastodon

https://blog.joinmastodon.org/2025/11/my-next-chapter-with-mastodon/
501•Tomte•17h ago•347 comments

Google boss says AI investment boom has 'elements of irrationality'

https://www.bbc.com/news/articles/cwy7vrd8k4eo
260•jillesvangurp•1d ago•503 comments

Solving a million-step LLM task with zero errors

https://arxiv.org/abs/2511.09030
189•Anon84•19h ago•58 comments

Show HN: RowboatX – open-source Claude Code for everyday automations

https://github.com/rowboatlabs/rowboat
90•segmenta•17h ago•24 comments

What I learned about creativity from a man painting on a treadmill (2024)

https://quinnmaclay.com/texts/lets-paint
57•8organicbits•4d ago•17 comments

GitHub: Git operation failures

https://www.githubstatus.com/incidents/5q7nmlxz30sk
369•wilhelmklopp•15h ago•299 comments

Bild AI (YC W25) is hiring – Make housing affordable

https://www.ycombinator.com/companies/bild-ai/jobs/m2ilR5L-founding-engineer-applied-ai
1•rooppal•14h ago

Nearly all UK drivers say headlights are too bright

https://www.bbc.com/news/articles/c1j8ewy1p86o
783•YeGoblynQueenne•21h ago•773 comments

I just want working RCS messaging

https://wt.gd/i-just-want-my-rcs-messaging-to-work
119•joecool1029•10h ago•109 comments