TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Google Cloud: $72,000 bill overnight

101 点作者 botto超过 4 年前

9 条评论

jsnell超过 4 年前
Dupe (just a restatement of the original blog posts): <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25372336" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=25372336</a>
zenexer超过 4 年前
&gt; The ex-Googler reflected that he missed the possibility of pages that link back to each other, causing &quot;infinite recursion.&quot;<p>Although tangential to the billing issue, this is reckless. If you’re building a crawler of any kind, please, please, <i>please</i> prioritize ensuring this doesn’t happen so I don’t have to wake up at 3 AM.<p>I run the infrastructure for a moderate-sized site with probably about a hundred million pages or so. We can handle the HN hug-of-death just fine. But poorly-made crawlers that recurse like this? They’re increasingly problematic.<p>If your solution to fixing your crawler is “throw more concurrency at it and ignore the recursion,” and suddenly your requests start <i>timing out</i>, that’s a pretty damn strong hint that you’re ruining someone’s day.<p>From my perspective, this will look like an attack. I’ll see thousands of IP addresses repeatedly requesting the same pages, usually with generic user agent headers. Which ones are actual attacks, and which are just poorly-made crawlers? Well, if you’ve got a generic user agent string that doesn’t link to a contact page, and you’re circumventing rate limiting by changing your IP address, and you had the bright idea to let your test code run overnight, I’m going to treat it as an attack. At 3 AM, I’m not inclined to differentiate between negligence and malice.<p>This is happening more and more often, and I partially blame it on the ease of “accidentally” obtaining a ridiculous quantity of cloud resources. People deploy shoddy test code and go to bed. They turn it off in the morning when they see the bill.<p>It’s become so prevalent that our company has come up with an internal term for these crawlers that spin up a new thread&#x2F;container for every page: snowballing crawlers.<p>Save a sysadmin: don’t snowball.<p>Oh, and include a useful user agent header so we can contact you instead of your cloud provider.
评论 #25400242 未加载
评论 #25400494 未加载
评论 #25402120 未加载
评论 #25400072 未加载
评论 #25400044 未加载
评论 #25400206 未加载
motohagiography超过 4 年前
This happened to me with Linkedin advertising, where my budget of a couple hundred dollars got re-charged to my card up to a couple thousand dollars without notifications. They handled all the complaints not in email, but their web based interface, and memory holed their commitment to refunding me the money after multiple back and forths.<p>This isn&#x27;t a mistake, the design is their business model. While we don&#x27;t have a specific formal definition and name for it in the category of dark patterns, I&#x27;d like to name it &quot;scumbag billing,&quot; where we got scumbagged.
评论 #25398538 未加载
评论 #25398648 未加载
评论 #25405420 未加载
jamesrr39超过 4 年前
#1 reason why I have never, and never plan to (while it remains this way), use GCP&#x2F;AWS etc while it would be on my personal bank card.<p>Instead I use DigitalOcean where you have droplet limits that you can set, and the ability the pre-pay if you pay by PayPal, and never enter my bank card.<p>If anyone from DO (or another provider) is reading this, any chance of pre-payment from bank cards? After reading enough of these articles, this could really swing a cloud provider choice for a small company. (Pre-paid gift vouchers would be cool as well, give someone $10 to spend for Christmas).
评论 #25399278 未加载
评论 #25399196 未加载
评论 #25399610 未加载
ionwake超过 4 年前
My problem with AWS billing was I asked sales&#x2F;support to call me so I could check with them what the cost would be to test one of their higher end GPU servers. They said I would just pay for the minutes used that it wouldnt add up to anything.<p>I tested the server for about 5 minutes and was charged a couple hundred dollars for &quot;spinning up &quot; the instance. Something the AWS sales guy assured me on the phone would not happen.<p>I still dont know why I didnt appeal I guess I know better than to try.
评论 #25398955 未加载
dap超过 4 年前
I have seen similar stories with AWS. It’s somewhat shocking to me that there’s no way to ask to get cut off above some dollar limit. Is every customer risking unbounded liability?
评论 #25399598 未加载
评论 #25398471 未加载
评论 #25400164 未加载
评论 #25400143 未加载
评论 #25400212 未加载
评论 #25398948 未加载
评论 #25398582 未加载
raphaelj超过 4 年前
Someone should make a list of all the providers that support some kind of billing budget. It took me way more time than expected to find a CDN that has a budget limit for my personal project (I&#x27;m using Bunny CDN)
评论 #25398652 未加载
评论 #25398708 未加载
评论 #25398659 未加载
评论 #25399021 未加载
Viliam1234超过 4 年前
A month or two ago some product was advertised (ahem, upvoted) on Hacker News that offered a free tier. It sounded interesting and I wanted to try, but the website didn&#x27;t allow to create an account for the free tier specifically. Instead it was like: create a general account, and if your usage remains below X it is free, and as soon as it goes above X you agree to pay. With no way to cap usage, i.e. no way to cap spending.<p>In other words, the only way to access the &quot;free trial&quot; is to give a blanket promise to pay unlimited amount of money if something goes wrong.<p>There is no way I would agree to that, so I just closed the browser tab and forgot about the whole thing. That is, until this debate reminded me of it.<p>For an online service, implementing the cap should be quite simple, so if it is not available, I am going to assume this is intentional.
blindm超过 4 年前
&gt; Google let go of our bill as a one-time gesture<p>How many times do they have to do that? Because if it is a high number, they would be operating at a loss.
评论 #25398536 未加载
评论 #25398477 未加载
评论 #25400597 未加载
评论 #25400192 未加载