Live data from Hacker News

Ask HN: How can I quickly trim my AWS bill?

news.ycombinator.com

101–110 of 134 posts

Re: Ask HN: How can I quickly trim my AWS bill?

#101

I‘m a CTO of a compute intensive AI SaaS company, so I can relate. One advice: speak to your AWS rep immediately. Get credits to redesign your system and keep you running. you can expect up to 7 digits in credits (for real!) and support for a year for free, they really want to help you in avoiding this.

Second this. You'll be surprised at the flexibility they show if you ask (and have a genuine problem).

Re: Ask HN: How can I quickly trim my AWS bill?

#102
Simple answer. But the implementation is trickier.

You have to use Spot instances. Or as Google calls them - preemptible instances. These are upto 80% cheaper.

The caveat is that they can be killed anytime, so your infrastructure must be resumable.

Most likely you will need to do kubernetes. It's the only framework that supports GPU, integrates with spot instance providers and works with Ml platforms (using kubeflow)

Re: Ask HN: How can I quickly trim my AWS bill?

#104
post #97
post #66

Earlier quoted context omitted.

Also, consider physical servers from providers like Hetzner. These can be several times cheaper than EC2.

I was just looking at Hetzner yesterday, looking to host a HA Postgres setup. Their block storage volumes look interesting, but I couldn't find any information on performance guarantees, or even claims. Anyone have an idea about performance (IOPS or MB/s)?

I use them but don't have that info off the top of my head. However, you can easily make an account, get a VPS with a volume and benchmark it in a few minutes for a few cents.

Re: Ask HN: How can I quickly trim my AWS bill?

#105
I have a strong suspicion the OP is trolling, or at least his motives aren't obvious.

Check his profile.

He has people, or knows of people that can can likely help with this. He's a CEO of a an Accelerator and is not a newb by any sense.

OR... he's using gamification to find someone to hire to actually help solve this problem. If that's the case... Bravo sir!

Re: Ask HN: How can I quickly trim my AWS bill?

#106
I help companies find bare metal options for training models. It’s usually 10-20% the cost of cloud.

Email me lanec (at) hey (dot) com if you’d like to speak.

Last year I took a company spending $24k/month training visual AI and cut that down to $3,500/month with bare metal. I also helped them secure over $100k in cloud credits to cover the monthly costs until the transition could happen.

Training in the cloud is generally much more expensive than bare metal.

Re: Ask HN: How can I quickly trim my AWS bill?

#107
I'd suggest reaching out to AWS about this. Explain the situation. AWS has a number of programs for startups that you may be able to apply for, including one that includes 100k worth of credits.

Also, if you can't afford to scale to new customers... stop? I'm sure it probably sucks, but like, does it suck more than having no runway? Seems like you'd be best served slowing things down and spending some time with AWS on cost optimization.

There aren't a lot of details to go off of here so I don't know what more advice to give.

Re: Ask HN: How can I quickly trim my AWS bill?

#108

Earlier quoted context omitted.

I never defended AWS as being the absolute best. I said high bills are almost always due to developers and not the cloud provider. Which you haven’t argued against. As I said I have examples of how Developers often cause large bills. And I explained why we can’t help with the OPs large bill. You’re saying that with ML there is absolutely 0 way to reduce costs on AWS which is absolute rubbish.

> I said high bills are almost always due to developers and not the cloud provider. I feel that's where you keep missing the whole point. Somehow you're stuck on thinking that an expensive service is not a problem if you can waste time micromanaging and constantly monitoring expenditures to shave off a bit of cost from the invoice. Yet, somehow you don't register in your universe the fact that there are services out…

So what you’re saying is because developers can’t control what they build they need to be stuck with services that limit what they can do so they don’t end up with big bills.

And that for cases like MLing it’s impossible to optimise costs.

Got ya.

Re: Ask HN: How can I quickly trim my AWS bill?

#109
post #98

Earlier quoted context omitted.

> AWS/clouds aren't always the best solution for a problem. And when they aren’t always the best. It’s often because you don’t know what you’re doing. It’s too uncommon for people to over provision. Or go with too many services when they don’t need to. Like let’s have a database and cache service and search search. When 95% of the time they only need the database because it can do full text searching adequate enough…

Nothing is stopping you from applying all those optimizations to on-premise hardware, right? That is, I am not sure "public cloud, if you spend lots of effort to optimize it and ask devs to be careful, can be as cheap as a naive on-prem implementation where devs don't need to be careful" is an argument for public cloud.

Well if your on prem then you’re probably bit more limited in what you can do. You can’t just go “let’s solve this with x” cos x doesn’t exist so you need to prevision it yourself and maintain it yourself. It’s probably better cos you actually need to think about what you’re building rather than just throwing services left and right at the problems.

I’m also not suggesting optimising and being careful is an argument for cloud. I’m saying that ruling out cloud is stupid. You can absolute have a Low cost solution perform very well on a cloud provider. The OP seems to think it’s not possible.

Re: Ask HN: How can I quickly trim my AWS bill?

#110

My pitch to help: you can probably replace the GPU-intensive ML model with some incredibly dumb linear model. The difference in accuracy/precision/recall/F1 score might only be a few percentage points, and the linear model training time will be lightning fast. There are enough libraries out there to make it painless in any language. It's unlikely that your users are going to notice the accuracy difference between the…

linear model can be even offloaded to the client (javascript) so no compute will be even needed
Post reply on HN