Ask HN: How can I quickly trim my AWS bill?
111–120 of 134 posts
Re: Ask HN: How can I quickly trim my AWS bill?
#112Is there anything you can turn off at night? A lot of startups have staging / test systems that do not need to be running all the time.
Are you keeping a lot of "junk" around that you don't actually need? Look at S3 objects, EBS snapshots, etc. A few here and there doesn't cost much, but it does add up.
Are you using the correct EBS volume type? Maybe you're using provisioned IOPS where you don't need it.
S3: make sure your VPC has an S3 endpoint. This isn't the default. Otherwise, you're paying a lot more to transfer data to S3.
Re: Ask HN: How can I quickly trim my AWS bill?
#1131) Call your provider and find out what options they have to cut your cost. This can take the form of discounts, credits, or increased reservations
2) It's not uncommon for ML teams to have excess capacity sitting around for forgotten R&D activities. Make sure that you're team is tearing down hardware, consider giving all scientists their own dedicated workstation for model development activities. You can smoke test the opportunity here by verifying that the GPUs are actually being utilized to ~40-80% average capacity.
3) Really dive into whether you need the parameters/model architecture you have. The best model for your company will need to balance latency/cost with accuracy. If you're using a transformer where a CNN or even a logistic regression with smart feature extractors could do with 1% accuracy loss. Then do your customers really need the transformer?
4) As others have suggested drill-down on the inference and training costs. Train less frequently/not at all/or sample your data. Generally the benefit of using more data in a model is logarithmic at best vs. the linear training time.
5) Buy your own hardware, particularly for GPU inference RTX cards can be purchased in servers for your own colo - but not in clouds. The lead time would be a few months but the payoff could occur within ~2-6 months in a colo.
6) Leaving this here as it used to affect Analytics/Ad-Tech and other "big-data" companies. Programming languages are not created equal in performance, and given equal implementations a statically typed language will crunch data between 10 and 1000x faster and cheaper than a dynamically typed language. If your business is COGS pressed then your team will probably spend more time trying to optimize hardware deployments and squeezing perf out of your dynamic language than you gain in productivity. Drill down on your costs and check how much of it is raw data-processing/transaction scheduling/GPU scheduling and make sure that you're on the right tech path for your customers.
Lastly at an 80% Cost of Goods Sold(COGS) it's quite possible that your business is either low margin or the pricing structure isn't well aligned as this is a new startup - ask yourself if you expect to raise prices for future non-founding customers. If so then it's possible that your current customers are helping reduce your marketing expenditures, and you may be able to leverage the relationship to help "sell" to future customers.
Re: Ask HN: How can I quickly trim my AWS bill?
#114A developer has created an app for this same purpose
Re: Ask HN: How can I quickly trim my AWS bill?
#115https://aws.amazon.com/activate/
It's not a solution to the larger problem of business model and percentage of revenue going toward compute costs to provide your service, but there are a lot of other great recommendations and suggestions here for that. This could provide you some time to actually implement the other recommendations.
Re: Ask HN: How can I quickly trim my AWS bill?
#116I would assume that if you are big enough you may be able to negotiate some pricing.
Re: Ask HN: How can I quickly trim my AWS bill?
#117Re: Ask HN: How can I quickly trim my AWS bill?
#118At my place people test on their desktops and run production stuff in the data center.
Where are you located? These are prices in singapore..http://www.fuwell.com.sg/uploads/misc/Fuwell11072020.pdf
You're looking for a cpu, board, 64gb ram, maybe 2 x 2080ti, small ssd n psu(1000w?). You can leave these on ikea shelves n skip the casings if need be.. 3 x 2080ti makes the board expensive and psu hard to find...
If you want more reliability. Get asus or supermicro. Or even sugon. 4gpu. 2u.
So that's like a few kw per machine and you need to think about how much power you can draw per power socket..so usually the 2u stuff end up in datacenters.
Re: Ask HN: How can I quickly trim my AWS bill?
#119Re: Ask HN: How can I quickly trim my AWS bill?
#120I have replied to some of the comments below. My advice is to get off AWS or any public clouds and avoid them like the plague. They are too expensive for 95% of cases. If you are still not convinced DM me.
But cloud also comes with a lot of convenience - for example, having managed k8s, and highly-available serverless, messaging, blob storage and databases.
Some of that is particularly challenging to get right, especially for databases.
It's difficult to justify cloud VMs for heavy processing tho - they really are just so damned expensive compared to bare metal and VPS providers, and there isn't that much extra convenience for VMs in the same way there is for PaaS stuff.