News for hackers. Stuff that matters.
Re:Be careful what you test or deploy to Vercel by brundolf on Thursday April 06, 2023 @07:05PM (#35475742)
I've never been able to understand why most usage-based hosting platforms don't give you the option to say "if my bill goes above X, shut down the service instead of continuing to charge me". It seems so easy and obvious, and I'll never ever use a platform for personal projects that doesn't have it
Re:Be careful what you test or deploy to Vercel by Rauchg on Thursday April 06, 2023 @07:23PM (#35475902)
We'll definitely be looking into usage limits after the fix rolls out.
Re:Be careful what you test or deploy to Vercel by brundolf on Thursday April 06, 2023 @09:01PM (#35476738)
Glad to hear!
Re:Be careful what you test or deploy to Vercel by Nathanba on Thursday April 06, 2023 @07:18PM (#35475851)
it seems they make enough money without us as customers, to me it's weird as well.
Re:Be careful what you test or deploy to Vercel by personjerry on Thursday April 06, 2023 @07:23PM (#35475901)
Doesn't AWS offer limits? Smaller companies don't?
Re:Be careful what you test or deploy to Vercel by brundolf on Thursday April 06, 2023 @07:42PM (#35476101)
I thought I remembered someone saying AWS doesn't, and I've heard stories from people on here about other platforms
Re:Be careful what you test or deploy to Vercel by korean-pixel_13 on Thursday April 06, 2023 @09:13PM (#35476828)
I think Vultr offered a similar feature that was helpful for me. It's definitely good to see more companies looking at adopting this feature.
Re:Be careful what you test or deploy to Vercel by danielvaughn on Thursday April 06, 2023 @08:41PM (#35476598)
From what I remember, they don't offer limits, and neither does GCP. They offer billing alerts and that's it. Both cloud platforms operate on what they call a "shared responsibility" model, aka you bill it you buy it.
Re:Be careful what you test or deploy to Vercel by rickette on Friday April 07, 2023 @06:43AM (#35480196)
And these alerts aren't realtime. Meaning damage is already done when you receive an alert 24h after the fact.
Re:Be careful what you test or deploy to Vercel by detaro on Thursday April 06, 2023 @09:03PM (#35476762)
the big clouds usually have something you can wrap around alerting on their usage tracking APIs, but that's often very "eventually consistent" and might be delayed by days. Which is understandable in some cases, is still useful for some cases, but e.g. doesn't reliably protect you from "oh crap a broken config launched way to many VMs and now I've spent 10k in a day"
Re:Be careful what you test or deploy to Vercel by swyx on Thursday April 06, 2023 @08:03PM (#35476281)
there are platforms out there that offer it, but i dont remember their name because its not a feature that leads, its a nice to have.
Re:Be careful what you test or deploy to Vercel by thundergolfer on Thursday April 06, 2023 @08:45PM (#35476629)
It might be really hard to add in retroactively. Otherwise there’s no excuse, it’s such an annoying vulnerability for a customer, even if you can email support and get a refund. Where I work, modal.com, we have enforced budget limits for accounts.
Re:Be careful what you test or deploy to Vercel by brundolf on Thursday April 06, 2023 @08:55PM (#35476703)
> It might be really hard to add in retroactively

I don't see how?

  if (cap != null && service.currentBill > cap) {
    service.deactivate()
  }
Re:Be careful what you test or deploy to Vercel by lozenge on Friday April 07, 2023 @03:41AM (#35479172)
So do you want all your S3 buckets deleted when you reach the cap? How about that pet EC2 with ephemeral storage?
Re:Be careful what you test or deploy to Vercel by brundolf on Friday April 07, 2023 @12:04PM (#35483140)
Sure, it gets more complicated with storage. But I think we're mostly talking about stateless services here

And for storage or storage-having services you could easily have a "shut it down but preserve the data for a comparatively-small recurring fixed storage charge"

Re:Be careful what you test or deploy to Vercel by smt88 on Thursday April 06, 2023 @08:49PM (#35476666)
> I've never been able to understand why so many usage-based hosting platforms don't give you the option to say "if my bill goes above X, shut down the service instead of continuing to charge me".

Large, valuable customers wouldn't use this option. It would only help the hobbyist types who aren't doing anything mission-critical and aren't the platform's most profitable (not big spenders, not particularly loyal because they aren't big enough to tailor their infra to that platform, etc.)

Re:Be careful what you test or deploy to Vercel by brundolf on Thursday April 06, 2023 @08:59PM (#35476727)
I'm not sure that's true. It's probably a lower risk for them, but still, a runaway service can rack up unlimited bills. At some point it matters to everybody. Even if they set it to $CURRENT_CASH_RESERVES, that has non-zero value

And when we talk about the in-between - startups - I'm pretty sure I read at least one anecdote on here about being put out of business by surprise hosting bills

Re:Be careful what you test or deploy to Vercel by encoderer on Thursday April 06, 2023 @11:56PM (#35477877)
With self-serve developer tooling like vercel they are hoping that devs bring the tools to work that they have been prototyping themselves. That’s why there’s a free tier.
Re:Be careful what you test or deploy to Vercel by wruza on Friday April 07, 2023 @08:19AM (#35480812)
Large, valuable customers wouldn't use this option

Unless they prefer to rely on being large and valuable as a leverage, they just have much bigger limits. And even in such autoscale-type company there may be a separate department that would want to limit their budget because they have one. Imagine spending $100k extra accidentally in your office while the whole budget is around $10M and now you can’t simply reach support on terms of “that billion was clearly a mistake”, because $10.1M seems normal.

Re:Be careful what you test or deploy to Vercel by Buttons840 on Thursday April 06, 2023 @11:14PM (#35477604)
I was looking at Jarvislabs for renting some GPUs recently. They use a prepay model. Pay up front and things shut down when the credit is used up.

https://jarvislabs.ai/docs/accounts-user/add-credits/

Re:Be careful what you test or deploy to Vercel by emptysea on Thursday April 06, 2023 @11:31PM (#35477715)
Usually these billing systems are somewhat async so they’re would probably still be overages

Better than nothing though

Re:Be careful what you test or deploy to Vercel by TechBro8615 on Friday April 07, 2023 @07:08AM (#35480369)
This is why I use virtual credit cards with preconfigured spending limits for each vendor.

If this happened to me, and Vercel refused to refund it, I would simply cancel the service and dare them to collect the debt.

Re:Be careful what you test or deploy to Vercel by neurostimulant on Friday April 07, 2023 @10:45AM (#35482079)
Too bad more and more services start rejecting them. For example, GCP started rejecting virtual prepaid cards from my banks a while ago.
Re:Be careful what you test or deploy to Vercel by brianjking on Saturday April 08, 2023 @10:09AM (#35493284)
Because the customers that may use this feature don't make the company any money. The users that do wouldn't want or need this feature.