Live data from Hacker News

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

news.ycombinator.com

51–60 of 134 posts

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

#51

AWS/clouds aren't always the best solution for a problem. Often they're the worst (just like any other tool). You don't provide a lot of detail but I imagine at this point you need to get "creative" and move at least some aspect of your operation out of AWS. Some variation of: - Buy some hardware and host it at home/office/etc. - Buy some hardware and put it in a colocation facility. - Buy a lot of hardware and put i…

100% agree. Most public clouds are ripoffs. We have spent 11 years on it and now thrown in the towel.

Go for some colocation facility where costs are predictable.

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

#53
post #48

Blog article about real-life AWS cost optimization strategy : https://medium.com/teads-engineering/real-life-aws-cost-opti... TL;DR: - Monitor your daily costs - Cloudify your workloads - Use reservations, Spot instances, saving plans - Look around for unused infrastructure - Optimize S3 consumption

In our experience this is a Sisyphian task. The number of elements that get charged is just enormous.

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

#55
You might be able to significantly lower your monthly bill in exchange for an upfront payment by purchasing your own servers and then renting co-location space.

I'm CTO of an AI image processing company, so I speak from experience here.

I personally use Hetzner.de and their Colo plans are very affordable, while still giving you multi GBit internet uplinks per server. If you insist on renting, Hetzner also offers rental plans for customer-specified hardware upon request. The only downside is that if you call a Hetzner tensorflow model from an AWS east frontend instance, you'll have 80-100 ms of roundtrip latency for the rpc/http call. But the insane cost savings over using cloud might make that negligible.

Also, have you considered converting your models from GPU to CPU? They might still be almost as fast, and affordable CPU hosting is much easier to find than GPU options.

I'm happy to talk with you about the specifics of our / your deployment via email, if that helps. But let me warn you, that my past experience with AWS and Google Cloud performance and pricing, in addition to suffering through low uptime at the hands of them, has made me somewhat of a cloud opponent for compute or data heavy deployments.

So unless your spend is high enough to negotiate a custom SLA, I would assume that your cloud uptime isn't any better than halfway good bare metal servers.

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

#56
nVidia forces cloud providers to use their expensive professional line-up. But other providers that use consumer GPUs are way cheaper, 4x or more. If your models don't need a lot of memory or double precision, providers such as GPUEater or RenderRapidly can be worth looking at.

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

#57
Related reading: Ask HN: How did you significantly reduce your AWS cost? (2017) [0]

The top comment is great. Two easy wins:

* Putting an S3 endpoint in your VPC gives any traffic to S3 its own internal route, so it's not billed like public traffic. (It's curious that this isn't the default.)

* Auto-shutdown your test servers overnight and on the weekends

See also this thread from 2 days ago, Show HN: I built a service to help companies save on their AWS bills [1]

Those threads aren't specific to GPU instances though.

[0] https://news.ycombinator.com/item?id=15587627

[1] https://news.ycombinator.com/item?id=23776894

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

#58

AWS is super expensive. Switch to another cloud provider. For example : Scaleway, OVH, or Hetzner.

Can confirm this. Personally I wanted to switch to AWS from Scaleway because one of the regions was closer to the customers. No way I could justify the costs. With some load balancers and API access, we were able to scale horizontally without a problem.

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

#60
It is very unlikely that anyone is going to give you a good advice with so little information about your cost structure. There is great people here who can provide invaluable insights about your costs but they need to have more information.

We use a lot of GPU intensive models and 80% of revenue goes into AWS, doesn't mean that your AWS cost is mostly GPU. It should mean that, but who knows. Tell us how is your AWS infrastructure, what instances do you have, how much do they cost to you, etc. Because with your information about the costs the best advice you can get is to not use AWS neither GPU-intensive ML models.

Post reply on HN