Tell HN: I DDoSed myself using CloudFront and Lambda Edge and got a $4.5k bill
21–30 of 348 posts
Re: Tell HN: I DDoSed myself using CloudFront and Lambda Edge and got a $4.5k bill
#22AWS may promote the technologies as prototype friendly but at the end of the day its built to be enterprise grade production tool. A company will not even bother with a 4000$ mistake, its just the price of doing business so there is little incentive to address these types of problems. Playing around with AWS for side projects is like using a chainsaw, it can really accelerate your work but if you are going to make a…
Re: Tell HN: I DDoSed myself using CloudFront and Lambda Edge and got a $4.5k bill
#23Re: Tell HN: I DDoSed myself using CloudFront and Lambda Edge and got a $4.5k bill
#24Earlier quoted context omitted.
Honestly? Many people would enable it, forget about it, and footgun themselves on the other side. Perhaps AWS should have "personal/developer" accounts that have this enabled by default and continually warn you about it, whereas "company/enterprise" don't have them.
I’d think if your rate of spending is >$50/hour then that’s nearly-always a bug. The only reason this conversation is taking place is because serverless “infinitely scales”. Autoscaling physical instances has a max limit for similar reasons.
Ultimately whatever solution you put in place, someone is going to complain about it. At least with the system they currently have in place they can reimburse customers. Whereas it is a lot harder to fix their reputation after they've automatically stopped production services.
Re: Tell HN: I DDoSed myself using CloudFront and Lambda Edge and got a $4.5k bill
#25I once committed my private AWS keys to a public github repo. A bot scooped it up nearly instantly and spun up many, many ec2 instances that were (probably) mining bitcoins. I received an automated email from Github telling me that I had committed a private key, but it came in the middle of the night. In the morning, when I learned what had happened, my bill was over $3k. I fixed the issue and emailed AWS asking for…
Re: Tell HN: I DDoSed myself using CloudFront and Lambda Edge and got a $4.5k bill
#26Re: Tell HN: I DDoSed myself using CloudFront and Lambda Edge and got a $4.5k bill
#27I rarely use AWS for smaller projects, and prefer to either use Digital Ocean or bare metal from a local data center (well local when I lived in NY). After a surprise bill like this, I would re-evaluate what serverless is actually giving me.
> We compared the three-year total cost of ownership of a VPS, such as a DigitalOcean Droplet, against two equivalent leased or purchased bare metal servers. We estimated that the leased option costs about half as much compared to equal resources in the cloud, and owning the servers would cost less than a quarter of the pure cloud options.
[1] https://freebsdfoundation.org/our-work/journal/
[1] https://freebsdfoundation.org/wp-content/uploads/2022/06/Jou...
Re: Tell HN: I DDoSed myself using CloudFront and Lambda Edge and got a $4.5k bill
#28It's really difficult for AWS or any other serverless provider for that matter, to achieve a kind of "bulletproof and safe user experience" across different offerings that encompasses everything that has to do with billing/monitoring/alerting and then also cover all kinds of potential customer scenarios (like the function calling itself, as one example). For example, it's totally understandable that the alarms can be…
It's not really difficult. They just need a way to set hard spending limits. Probably on by default. Unless you're a big company, "we stopped your function in the middle of the night" is a whole lot better than "we ran your function all night and you owe us $4k".
AWS already has a recourse for incidents like these: refund the spend. That is far more reliable than trusting an organisation can tolerate an outage.
Re: Tell HN: I DDoSed myself using CloudFront and Lambda Edge and got a $4.5k bill
#29Re: Tell HN: I DDoSed myself using CloudFront and Lambda Edge and got a $4.5k bill
#30I once committed my private AWS keys to a public github repo. A bot scooped it up nearly instantly and spun up many, many ec2 instances that were (probably) mining bitcoins. I received an automated email from Github telling me that I had committed a private key, but it came in the middle of the night. In the morning, when I learned what had happened, my bill was over $3k. I fixed the issue and emailed AWS asking for…
The difference between his situation and yours is that you didn't create the charges. Legally you're not liable for something someone does while impersonating you, even if you walked around with your private key on a t-shirt. They may or may not be nice to him but for you they didn't have a choice.