News for hackers. Stuff that matters.
Re:Switching to AWS Graviton slashed our infrastructure bill... by gryf on Wednesday November 30, 2022 @03:50PM (#33807465)
This. We have three people entirely dedicated to reducing costs.

As for avoiding ARM, we do only x86-64 because corporate security policy demands that we have Windows laptops so that some box ticking overlord can fill out a security policy compliance form. That means we're stuck limping along with docker and WSL2. Every single engineer in the org has an arm64 machine at home already and wants a proper computer at work, which can ironically work in the same policy framework if anyone gave enough of a shit to deal with it.

So that's why we don't use Graviton; corporate security policies. Our customers will just have to eat the price hikes.

Re:Switching to AWS Graviton slashed our infrastructure bill... by jiggawatts on Wednesday November 30, 2022 @06:09PM (#33809338)
You can cross-compile to ARM using Docker on Windows.

See: https://www.docker.com/blog/multi-arch-images/

Re:Switching to AWS Graviton slashed our infrastructure bill... by allset_ on Thursday December 01, 2022 @12:49AM (#33812835)
Builds in production shouldn't be built using developer laptops. I think you're approaching this wrong. You can build and test on x86_64 laptops all day if you want and still easily deploy to arm64 servers.
Re:Switching to AWS Graviton slashed our infrastructure bill... by gryf on Thursday December 01, 2022 @04:03AM (#33813977)
We don't do production builds on laptops.

But it's important that all builds are 100% reproducible on all build targets and that includes non docker ones. That is much more difficult if you have to cross compile stuff. We can barely manage one architecture.