News for hackers. Stuff that matters.
Re:Accident Forgiveness by paxys on Friday August 23, 2024 @02:08PM (#41331447)
It's unfortunate that the solution to cloud pricing complexity that all providers are adopting is – add even more complexity on top.

The number you see on your bill is increasingly calculated by running some black box algorithm on top of the billing events your resources generate. Was it accidental or not? What is a "weird" deployment vs a normal deployment? By what factor should the spikes on your billing graph be smoothened? None of this can be deterministically calculated from the pricing page. And there's no way for you to do these checks yourself before deployment because you have no idea what this logic even is. So you are entirely at the mercy of the provider for "forgiveness".

Who wants to bet that some provider is going to launch "AI cloud billing" within the next year?

Re:Accident Forgiveness by candiddevmike on Friday August 23, 2024 @02:45PM (#41331808)
You'll pay exactly the amount they think you can afford to pay and not a penny less.
Re:Accident Forgiveness by tptacek on Friday August 23, 2024 @03:08PM (#41332073)
That would be what you would pay in the absence of competition. This is an incredibly competitive space.
Re:Accident Forgiveness by paxys on Friday August 23, 2024 @03:18PM (#41332178)
Competition only matters for new contracts. Once you have picked a provider and made a big enough infrastructure investment, there's no realistic path to switch to someone else.
Re:Accident Forgiveness by javcasas on Friday August 23, 2024 @03:58PM (#41332555)
They laugh at me for constructing as much as I can from the infra as plain kubernetes objects.

Keep laughing, I can switch clouds in less time than you take for figuring out cloud costs.

Re:Accident Forgiveness by commercialnix on Friday August 23, 2024 @07:06PM (#41333864)
Keeping everything, including mission critical databases, "inside" Kubernetes is smart. The smart people keep everything "in" Kubernetes. Everyone else can pay up.
Re:Accident Forgiveness by filleokus on Friday August 23, 2024 @08:08PM (#41334297)
Like everything else it's a tradeoff. If you are running _everything_ inside Kubernetes you can easily move away, but I think you're loosing much of the benefit of being in the $big_cloud to begin with. If you have the staffing to provide your own db's, block storages, caches, IAM, logging/monitoring, container registries etc in a reliable way "as a service", the jump to some much cheaper bare metal hosting is not that far.

For me the sweet spot is to have all compute in Kubernetes and stick to open source or "standard" (e.g S3) services for your auxiliary needs, but outsource it to the cloud provider. Fairly easy to move somewhere else, while still keeping the operational burden down.

But agree that having e.g all your databases in a proprietary solution from the cloud vendor seems sketchy.

Re:Accident Forgiveness by commercialnix on Saturday August 24, 2024 @11:40PM (#41344175)
Yeah, not _everything_, but almost or "pretty much" everything. The main exception to "everything" ultimately being S3, and some monitoring exceptions here and there that are purely cloud-side like monitoring AWS' Service Control Policies and using some cloud-side AWS tooling.

AWS has very nice one-to-one mapping of K8s serviceAccount with IAM roles.

We used some cryptography-centric GitOps patterns to eliminate any human hands beyond a dev environment which also helps IAM be easier (but of no less reasonable granularity and quality).

> the jump to some much cheaper bare metal hosting is not that far.

Heh, at a consulting firm I was at not too long ago, all the K8s nodes were sole-tenant on the cloud providers these K8s nodes were on. Intra-cluster Cilium-based Pod-to-Pod networking across cloud-based datacenter sites has been super smooth, but I have to admit I'm probably tainted/biased by that team's uncommon access to talent.

Re:Accident Forgiveness by felixgallo on Saturday August 24, 2024 @07:51AM (#41337476)
Don't be ridiculous. To the nearest 9 decimal points, nobody keeps their mission critical database inside Kubernetes, and the K8s tax is excessive for essentially all cloud users anyway.
Re:Accident Forgiveness by commercialnix on Saturday August 24, 2024 @11:44PM (#41344190)
The last time I was involved in this kind of thing (long enough but not too long ago), we ran Postgres and other databases strictly in K8s per a mandate by our CTO. Using reserved instances are great for avoiding a lot of cost.

I think for that particular firm, "K8s tax" measured in fiat currency is negligible and anything on the human side their people upon hearing "K8s tax" would respond with some ridicule along the lines of "someone doesn't know how to computer".

To be fair, most of the commenters on HackerNews should use something like Heroku.

Re:Accident Forgiveness by zipmapfoldright on Friday August 23, 2024 @07:03PM (#41333846)
This is absolutely not true. Customers regularly shift spends in the >= 7-digit between cloud providers. Yes, it takes planning, and it takes many engineer-months of work, but it definitely happens.

And also factor in (1) the claim that most cloud growth is ahead of us, eg. moving large customers from on-prem to cloud, and (2) it would be terrible policy to try to charge existing customers more than new customers.

Re:Accident Forgiveness by ensignavenger on Saturday August 24, 2024 @12:07PM (#41339188)
>> it would be terrible policy to try to charge existing customers more than new customers.

Companies do this very, very often. This is part of the reason why they have a "call the sales department for special pricing" option. They can give large contracts a nice discount to get them onboard, then slowly (or in some cases, if they really think they have you hooked, not so slowly) ratchet up the price. This is common in both B2c and B2B businesses.

Re:Accident Forgiveness by jgalt212 on Friday August 23, 2024 @09:38PM (#41334820)
True, margins are very high for existing customers. And customer acquisition costs are very high as well.
Re:Accident Forgiveness by toast0 on Saturday August 24, 2024 @12:46PM (#41339486)
It really depends on what your application is and how much critical functionality relies on hard to replace proprietary services.

If you store a lot of data, transfering it is a big deal too, of course.

But really, computers are computers. It's easy to move software between them. It just takes motivation, effort, and time.

Re:Accident Forgiveness by paxys on Saturday August 24, 2024 @01:36PM (#41339833)
> It just takes motivation, effort, and time

In business terms, you just said "cost, cost and cost".

Re:Accident Forgiveness by immibis on Friday August 23, 2024 @03:37PM (#41332332)
Then how do AWS, Azure and GCP charge 100 times the amount for bandwidth as other hosting providers and the IP transit quote sitting in my email inbox?
Re:Accident Forgiveness by tptacek on Friday August 23, 2024 @03:44PM (#41332401)
Why isn't one of those providers roflstomping the other 3 (add OCI to the mix) with better pricing?
Re:Accident Forgiveness by pclmulqdq on Friday August 23, 2024 @03:50PM (#41332466)
Because they land your data in their systems by offering you a sweetheart deal in year 1-2 and then they jack the price back to the extortionate level once you're stuck. Compute is portable between providers, but data is not.
Re:Accident Forgiveness by talkin on Friday August 23, 2024 @04:57PM (#41333033)
With such a small group, chances are they all figured out that a race to the bottom won’t reach the desired long term outcome.
Re:Accident Forgiveness by rendall on Friday August 23, 2024 @06:28PM (#41333622)
"roflstomping"¿ What does it mean?
Re:Accident Forgiveness by ShroudedNight on Friday August 23, 2024 @06:40PM (#41333701)
A beligerent that so completely outclasses their opponent that they can inflict existentially threatening losses with so little effort that its expenditure is indistinguishable from normal overhead

Alternatively, when Stitches managed to ambush your level appropriate character alone in Duskwood

Re:Accident Forgiveness by stackghost on Friday August 23, 2024 @09:53PM (#41334889)
It's from online gaming. To stomp means to defeat soundly/easily. To ROFL is to roll on the floor laughing.

To roflstomp is to defeat someone so easily and completely that it becomes so comical you'll be ROFL.

Re:Accident Forgiveness by rendall on Saturday August 24, 2024 @02:35PM (#41340343)
Downvotes? How strange.
Re:Accident Forgiveness by jeremyjh on Saturday August 24, 2024 @11:13AM (#41338871)
I've often wondered about this. I'm guessing large customers can all negotiate extremely deep discounts on bandwidth from all three providers. Smaller customers may not be paying that much in bandwidth that it would be decisive. I think also that if say GCP cut its bandwidth charges by 10x they might attract customers they really don't want.
Re:Accident Forgiveness by toast0 on Saturday August 24, 2024 @01:20PM (#41339725)
IMHO, there's a couple parts to this.

Part 1 is bandwidth prices vary tremendously by location, but clouds would like to have customers in expensive regions too, and if US overcharges at 100x, and Brazil overcharges at 25x, the customer will only have to pay 2x for bandwidth in Brazil. Not a lot of cheap hosting in Brazil, from what I've seen, but there are a lot of users in Brazil, attracting cloud customers justifies putting more cloud hardware there which benefits the cloud.

The other part is that bandwidth is easy to measure and broadly correlates with general usage. On a shared system, you can't really meter watt hours, but you can meter bandwidth. Bandwidth charges are how the difficult accounting is reconciled so that the cloud can charge enough to hit their desired margins. If bandwidth was just a cost plus, other things would cost more; if everything had to be cost plus, accounting would be much more difficult for everyone (and it's already pretty non transparent)

Re:Accident Forgiveness by kibwen on Friday August 23, 2024 @05:01PM (#41333066)
If the cost calculation is complex and opaque, that successfully prevents anyone from evaluating what their costs would be on a competing service. And vendor lock-in makes it expensive and nontrivial to simply try it out.
Re:Accident Forgiveness by bdcravens on Friday August 23, 2024 @02:29PM (#41331651)
It's far from perfect, but the large providers do give you tools for categorizing your charges (tagging, etc). There's some fuzziness, especially around data transfer, but for the most part developers can look at an application and know what the cost of each resource is. The biggest risk seems to be out-of-control auto scaling turned on without doing reasonable analysis first.
Re:Accident Forgiveness by thenewnewguy on Friday August 23, 2024 @02:45PM (#41331810)
I'd recommend thinking of this (and other accident forgiveness schemes from competitors) as a gesture of goodwill that rarely happens rather than an official part of the billing policy.

If you actually look at your contract, no cloud provider is going to contractually obligate themselves to forgive your bill, and you shouldn't be planning or predicting your bill based on it.

Re:Accident Forgiveness by monooso on Saturday August 24, 2024 @10:13AM (#41338467)
Isn't the entire point of the article that Fly.io is making this an official policy?
Re:Accident Forgiveness by ToucanLoucan on Friday August 23, 2024 @02:59PM (#41331966)
Anyone else remember we had widely available and completely understandable options to rent everything from baseline web-hosting all the way up to private rack services for actual years before AWS came along and apparently all of that was forgotten, Warhammer 40K style?

I've rented a VPS from a vendor for going on 20 years now (Holy fuck I'm old) and I've never once been surprised at the bill.

Re:Accident Forgiveness by LAC-Tech on Friday August 23, 2024 @04:30PM (#41332824)
Remember? Your own comment tells us this is not a distant memory! It is still available! And a lot of people use it.
Re:Accident Forgiveness by maliker on Friday August 23, 2024 @06:40PM (#41333699)
You know that book "JavaScript: The Good Parts"? There needs to be a similar one "AWS: just the good parts". It would probably talk about EC2 (VPS), S3 (cheap bulk storage), SES (emails), and that's about it. When folks get into the elastic-super-beanstalk-container-swarm-v0.3 products, that's when they really kill themselves on the bills.

That said, yes, just using a VPS vendor is the easy way to stick to the good parts.

Re:Accident Forgiveness by ec109685 on Friday August 23, 2024 @08:00PM (#41334251)
AWS the Good Parts (a bit dated now): https://dvassallo.gumroad.com/l/aws-good-parts
Re:Accident Forgiveness by Aeolun on Friday August 23, 2024 @07:42PM (#41334115)
I’ll argue that while wonky sometimes, ECS is pretty decent. Especially once you use fargate.
Re:Accident Forgiveness by otteromkram on Saturday August 24, 2024 @12:11AM (#41335554)
> "AWS: just the good parts"

I can't imagine a zero-page book selling well...

Re:Accident Forgiveness by StimDeck on Saturday August 24, 2024 @10:05PM (#41343716)
Obviously subjective, but Lambda seems more cost efficient than EC2. And really gives cloud vibes.
Re:Accident Forgiveness by pclmulqdq on Saturday August 24, 2024 @03:05AM (#41336222)
You still can. My company rents space from Cogent communications, and they are very good at customer service, although the offering of "rent a cage and get a pipe" is a lot more DIY than AWS.

They also offer VPSes.

Re:Accident Forgiveness by ragall on Sunday August 25, 2024 @04:20PM (#41351000)
In other words, you have fully reserved compute. That's the way to avoid surprises, but certainly not the way to minimize costs for a large company.
Re:Accident Forgiveness by rob on Friday August 23, 2024 @04:33PM (#41332850)
Speaking of complexity, Fly.io recently introduced region-specific pricing as well:

https://community.fly.io/t/region-specific-machines-pricing/...

https://news.ycombinator.com/item?id=40873001