by oaf357 on 7/26/20, 12:40 PM with 312 comments
by stefan_ on 7/26/20, 2:25 PM
Presumably the author would do much better with a VM or something from OVH, they'll just shut you off or limit you before it becomes a problem (not that they would care about 30 TiB).
by dahdum on 7/26/20, 2:14 PM
> Cloudflare was the least helpful service I could have imagined given the circumstances. A long term user and on and off customer thinks they were attacked for two days and you don’t lift a finger?
> File this under, “Things I should’ve known but didn’t.” Did you know that “The maximum file size Cloudflare’s CDN caches is 512MB for Free, Pro, and Business customers and 5GB for Enterprise customers.” That’s right, Cloudflare saw requests for a 13.7 GB file and sent them straight to origin every time BY DESIGN.
I don't really see how Cloudflare has much blame here. He's an "on and off customer" which I'm guessing means currently "off". They only cache a limited number of file extensions (qcow2 isn't one of them), and it's all documented.
AWS always seems pretty generous in resolving these cases at least.
by ta1234567890 on 7/26/20, 2:18 PM
You rent a car, you don't know what the total is going to be. You go to the hospital, you don't know how much you're going to have to pay. You book a hotel and don't know the total until you check out. You go to a restaurant and even if you order just one thing and saw the exact price on the menu, that's not going to be the total. You go to the grocery store, see all the prices on the items, add them up, and then when you go pay, surprise!
by clarkevans on 7/26/20, 2:36 PM
...
> I don’t feel like archive.org should be my site’s dumping ground since it can turn a profit if it gets popular. archive.org is a stop-gap for two files for the time being.
I'm trying to understand... he has decided to burden a charity with his distribution expenses?
by HugThem on 7/26/20, 2:21 PM
He published a 14GB file and one day there were 2700 downloads resulting in ~30 Terrabyte of traffic.
He had the file behind CloudFlare, but since CloudFlare does not cache files larger then 512MB, all the traffic went to his S3 bucket and Amazon billed him $2700 for that.
by RKearney on 7/26/20, 2:04 PM
https://www.cloudflare.com/terms/
2.8 Limitation on Serving Non-HTML Content
[...] Use of the Service for serving video (unless purchased separately as a Paid Service) or a disproportionate percentage of pictures, audio files, or other non-HTML content, is prohibited.
So 500MB limit or not, the author is already violating CloudFlare's terms of service.
by saddlerustle on 7/26/20, 2:31 PM
Bandwidth on Oracle Cloud is $0.0085/GB with the first 10TB free each month, so this would have cost only $170. Alternatively bandwidth on Backblaze B2 costs $0.01/GB, but is free out to Cloudflare, so this traffic would have been completely free.
by schmichael on 7/26/20, 5:25 PM
However it means sometimes things like this happen where a product’s incentives (serve any content at any cost) are wildly misaligned with a huge percentage of users needs (I’d rather my site, or preferably just the costly resource, be down than pay $2k).
There’s endless tuning non-enterprises can do to get our ideal behavior: but that’s the difference between pre-cloud and post-cloud computing. It used to take monumental effort to build high scale high availability systems. Your $5/mo Dreamhost site would just die under load instead of charging you thousands. Now enterprise use cases are supported by default and it takes careful tuning to opt out.
by wonderlg on 7/26/20, 4:36 PM
I use a bunch of “freemium” services like S3 and Google Maps API and I’ve never paid a penny. I use them because they don’t cost a penny for my very limited usage, but I’m not looking forward to the day I mistakenly and disastrously exceed their free tier.
by jrott on 7/26/20, 2:06 PM
by social_quotient on 7/26/20, 2:06 PM
What’s odd is the touch points are cold. Ticket system support, phone call back etc. it feels like it’s going to be robotic canned replies but they figured out a way to make the people on the other side smart enough to understand the issue, empowered enough to do something about it, empathetic enough to want to resolve things “fairly”.
by devwastaken on 7/26/20, 2:11 PM
by hasenpfote on 7/26/20, 4:58 PM
IF your Services doesn't has a proper limit, you do make yourself suddenly liable to a much higher risk than before and you have to be aware of this.
It is the same shit when you rent a car: Do NEVER rent a Car without proper insurance.
I'm working with GCP professionally and i have used AWS in the prev company. I do ask my manager if i can use it to try a few things out and its fine but i will not put my credit card behind an account with unlimited cost risk (its limited probably but you know what i mean).
And its not even simple; Everything costs you money. Storing data, receiving data, pushing data, making api requests etc.
And what i find always quite surprising: How often people, even on hn, present simple file based apis where you can upload images and edit them or upload files and download them again or offering free services and that with AWS as a backend.
I just might be to long in this industry to see all those pitfalls of exploits and risks everywhere but i have the feeling that obvious respect against cloud service billing is neglected by most.
by hoppla on 7/26/20, 7:14 PM
by rytrix on 7/26/20, 2:41 PM
by prepend on 7/26/20, 2:05 PM
Logistically I know this is hard for water or power, but it should be feasible for cloud computing. But I think this is an area where it’s not in AWS’ interest to set up that kind of billing control.
by gchamonlive on 7/26/20, 2:35 PM
Everything can have side effects in the cloud. You can set up a cheap EC2 type T feet, and without managing your cpu usage, be charged a fair amount in unlimited burst credits (which is the default for terraform for instance).
You can quickly setup a WordPress instance with cloudfront and a invalidation Plug-in and be charged 6000 USD unadvertedly (https://wordpress.org/support/topic/amazon-cloudfront-invali...)
You can set up lambda triggers and quickly do a proof of concept for an app, but forget to correctly dimension your mem usage and be charged more than you need.
Cloud requires careful policy and topology consideration. There are many simple blocks that forms a complex mesh with opaque observability of potential vulnerabilities in both access and billing. Cloud is nice but it requires time and care. And with the shared responsibility model, you are responsible for that.
by ryanmarsh on 7/26/20, 2:52 PM
Do any other (combat) veterans smell something wrong with an Air Force Tech Controller (3C2X1) making statements like ”like back in the old days, when something would go bang or boom, and I’d run towards it” in a civilian venue? You know exactly what I mean, and we see it all the time.
If you aren’t a veteran, especially with a job even remotely related to “running towards things that go boom” please just give us some space on this one. Thanks.
by namidark on 7/26/20, 6:26 PM
by knorker on 7/26/20, 6:31 PM
1. The big cloud providers charge enormously for outgoing bandwidth. Most of us know this, but unfortunately it bites people a lot. 2. If you host big files on these clouds with no limits or warnings, it's just a matter of time before this happens to you.
This is why I don't run hobby things on these clouds. Any hobby project may have backends and services running on them, but NEVER anything user-accessible such a webserver, S3/GCS bucket, or similar. It's just too much of a "click here to bankrupt me".
For a business it's a different matter. You are making money, and you're spending money to do so. You still need to have a DDoS plan for your outgoing traffic, but it's much easier to solve these problems if you have revenue. Revenue buys time and people.
by sunilkumarc on 7/26/20, 3:10 PM
On a different note, Recently I was looking to learn AWS concepts through online courses. After so much of research I finally found this e-book on Gumroad which is written by Daniel Vassallo who has worked in AWS team for 10+ years. I found this e-book very helpful as a beginner.
This book covers most of the topics that you need to learn to get started:
If someone is interested, here's the link: https://gumroad.com/a/238777459/MsVlG
I highly recommend buying this e-book if you think AWS documentation is overwhelming.
by Ciantic on 7/26/20, 6:12 PM
Of course it is not ideal for companies who need their services be available for all cost, but for home users it's a nice guarantee.
by rubenhak on 7/29/20, 1:05 AM
- AWS CloudWatch: expensive service, virtually unusable, hard to turn it off.
- AWS overall: finding and cleaning up resources is messy. The order of creating & cleanup is not same. Closing an account is a painful process. GCP Project structure is way easier.
- AWS EKS: You create a cluster, then a node group. Deleting a cluster fails if there is a node group. You go ahead to delete a node group, it complains because of "dependencies". While you're randomly looking for a "dependency" the $ clock is still ticking. You should delete the network interface before you could delete the node group, and only then the cluster. This does not sense because if the network interface was created implicitly by the node group, i should not be responsible for deleting the network interface. There should be a symmetry in create/delete operations.
- GCP GKE: You create a cluster, then delete it. Cluster gets deleted - kudos, usability much better then with AWS EKS. But it turns out lots of LoadBalancers and Firewall rules are left over and still appear on the cloud bill. Those are implicitly created and should be cleaned up implicitly by GKE.
by ricardo81 on 7/26/20, 2:21 PM
by BrandoElFollito on 7/26/20, 9:02 PM
I want them to - I do not care if my site is offline vs. having to pay a huge bill. That should be a choice.
So I moved away from AWS. It is crazy that companies agree to such a racket (not the pricing - but the fact that you cannot set a limit).
I considered to use a virtual card with a limit on it - they could not grab more than the limit and just sue me across the pound or remove my account. But I refuse to play these games with a company who does not give a shit about billing.
by logicallee on 7/26/20, 7:43 PM
A good alternative to this ever-present risk is to use a dedicated virtual private server that is unmetered. This would make mistakes like this (and yes, it is a mistake - it is his fault he didn't read the cloudfare details and publicly served a large VM image) impossible.
Here is my referral code for the one I use[1]:
https://crm.vpscheap.net/aff.php?aff=15
This also (especially) applies to startups that might suddenly take off at any moment (but don't expect to.) AWS is a ticking time bomb of unexpected charges. You never know what the Internet will bring you. Go for an unmetered VPS and have 1 single well-defined charge that doesn't change. That's what I do on my side projects.
[1] I previously asked Dan, the moderator here, if I can share in this way and he said it's okay. I don't have other affiliation with that company and have found it good. The last time I posted this I got 80 visitors and no complaints (and got upvotes), so I figure it is a good resource for people.
by SergeAx on 7/26/20, 10:42 PM
I've checked the traffic, it was 2.3k users for entire June, like 75 user per day at average. It is effectively nothing, why author thinks it's okay to pay 1 cent per user per month to hosting provider? $5/mo VPS can handle two orders of magnitude more.
by Artur96 on 7/26/20, 4:45 PM
by tgsovlerkhgsel on 7/26/20, 9:35 PM
External traffic is effectively unlimited, and a number of possible reasons (popularity, misconfigured script pulling something in a loop, someone intentionally generating traffic to hurt me) have the possibility to throw me into arbitrary amounts of debt, with the only recourse being hope that the cloud provider will be merciful.
Even if I have alerts set up: someone pulling 10 Gbit/s can generate over 100 TB per day, at $80-100 per TB. If I don't check my e-mails for weekend, I can be $30k in the hole before I notice.
by Edd314159 on 7/26/20, 4:12 PM
by nix23 on 7/27/20, 9:55 AM
by ColdHeat on 7/26/20, 4:18 PM
https://www.digitalocean.com/docs/spaces/#bandwidth
Digital Ocean may not be the best cloud platform but it's fairly cost effective.
by tjoff on 7/26/20, 7:29 PM
And the alternative is paying someone to lock you into their ecosystem.
Are we really that lazy?
by vmception on 7/26/20, 8:01 PM
And guess what, I didn't write a blog post about it. I just went to support, said remove the charges, they identified the services that created the issue so I could kill them, and they removed the charge.
Look at that, no fan fare. I had no emotion about it whatsoever. Maturity.
by pavelevst on 7/26/20, 9:55 PM
by reedwolf on 7/26/20, 2:44 PM
https://www.reddit.com/r/aws/comments/g1ve18/i_am_charged_60...
by Borlands on 7/26/20, 8:45 PM
by zxcvbn4038 on 7/26/20, 3:39 PM
by dvfjsdhgfv on 7/26/20, 9:34 PM
This is another bad aspect of these stories.
by afterwalk on 7/26/20, 3:59 PM
by Sphax on 7/26/20, 2:46 PM
Why would you need AWS or Cloudflare to serve that ?
by chmod775 on 7/26/20, 11:58 PM
Nice pricing AWS.
by voltagex_ on 7/27/20, 1:00 AM
by SeriousM on 7/26/20, 7:04 PM
by aaronchall on 7/27/20, 1:17 AM
by 9nGQluzmnq3M on 7/26/20, 2:07 PM
by jabo on 7/26/20, 4:32 PM
Glad I’m not the only one confused by this.
by johnklos on 7/26/20, 6:49 PM