Zuck 的机器人将我们的 Vercel 账单提高了 10 倍。
1 分•作者: Marciok•4 天前
我写下这些内容,是因为收到了一个比平时高出 10 倍的 Vercel 账单。<p>最糟糕的是:这次费用增加并非由于用户增多,而是来自 meta-externalagent/1.1 的 +100 万次请求。<p>这些请求的目标是我们曾在 WhatsApp 上分享的一个 Vercel 预览部署,目的是测试其链接预览元数据是否正常工作。<p>我们天真地从未在意过机器人(bot)的访问;在过去四年里,它们在 Vercel 上运行我们的应用时从未引起任何问题,但当 Meta 的爬虫开始反复访问这个预览部署时,情况就改变了。<p>如果您托管在 Vercel 上,请检查您的机器人防护设置,并确保预览部署不会不必要地暴露。否则,一个具有攻击性的爬虫可能会让您收到一张出乎意料的高额账单。不幸的是,Vercel 拒绝帮助我们减免这笔费用。<p>扎克伯格(Zuck)肯定不会放慢脚步。
查看原文
I’m writing this after receiving a Vercel bill that was 10x higher than usual.<p>The worst part: The increase wasn’t caused by more users, but by +1M requests from meta-externalagent/1.1.<p>The requests targeted a Vercel preview deployment that we had shared on WhatsApp to test whether its link-preview metadata was working correctly.<p>We naively never bothered with bot calls; they had never caused any problems in the previous four years of our app on Vercel, but that changed when Meta’s crawler began repeatedly visiting this preview deployment.<p>If you host on Vercel, review your bot-protection settings and make sure preview deployments aren’t unnecessarily exposed. Otherwise, an aggressive crawler could leave you with a surprisingly large bill. And unfortunately, Vercel declined to help to ease this bill.<p>Zuck is definitely not slowing down.