TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Switching to AWS Graviton slashed our infrastructure bill

127 pointsby Chris86over 2 years ago

14 comments

c7DJTLrnover 2 years ago
Cloud cost optimisation is underrated. In the companies I've worked in nobody has really given a shit (at least not under normal economic circumstances). In the industry there's a strong avoidance of ARM compute instances for no good reason. If I were building from scratch today I would definitely go with Graviton.
评论 #33808440 未加载
评论 #33807215 未加载
评论 #33807806 未加载
评论 #33807828 未加载
评论 #33807202 未加载
评论 #33807913 未加载
评论 #33807465 未加载
评论 #33807698 未加载
评论 #33807159 未加载
评论 #33807974 未加载
评论 #33812036 未加载
评论 #33807206 未加载
评论 #33807577 未加载
评论 #33807675 未加载
beaviskhanover 2 years ago
The biggest downside I&#x27;ve found with Graviton is that it&#x27;s gotten popular enough that availability of capacity is a problem in some regions&#x2F;AZs - particularly if you&#x27;re using larger EC2 instance types.<p>Also, Fargate Spot on Graviton is still not available, so if you want to run Spot in non-production environments, you&#x27;re facing with running different architectures in prod vs. non-prod, which I don&#x27;t like at all. Do the math on whether it&#x27;s cheaper for your use case to go x86 spot&#x2F;non-spot vs. Graviton non-spot.
andrewstuartover 2 years ago
I found graviton to be a mixed bag. It was certainly extremely fast when using the very high end instances and I tested it successfully using a Rust based message queue system I was writing and it got some ridiculously fast number like 8 million messages a second, from memory, using the fastest possible graviton instance (this was about 18 months ago).<p>I did try to switch some of my database servers to it a couple of years ago and after random hangs, I gave up and went back to intel. I tried again further down the track and same thing - random hangs. I assume this sort of thing comes with a new architecture but I&#x27;d be hesitant to move any production infrastructure to it without extensive long term testing.<p>In the case of graviton based GPU instances I found that the GPU enabled software I wanted to use didn&#x27;t work.<p>If you are comparing performance, I&#x27;d suggest buying a fast AMD machine and run it locally and compare performance - local servers tend to be much faster and cheaper than cloud. And if your application uses GPUs then if you possibly can then its very much in your interests to run local servers.
评论 #33808134 未加载
评论 #33807441 未加载
评论 #33807643 未加载
评论 #33807447 未加载
评论 #33807326 未加载
评论 #33807519 未加载
评论 #33807119 未加载
ecliptikover 2 years ago
I&#x27;m interested in hearing more about their switching to Graviton with Clickhouse.<p>We&#x27;ve been testing Clickhouse on Graviton and the performance isn&#x27;t there due to a variety of reasons, most notably it seems because Clickhouse for arm64 is cross-complied and JIT isn&#x27;t enabled like it is for amd64[1].<p>1. <a href="https:&#x2F;&#x2F;fosstodon.org&#x2F;@manish&#x2F;109397948927679076" rel="nofollow">https:&#x2F;&#x2F;fosstodon.org&#x2F;@manish&#x2F;109397948927679076</a>
评论 #33808416 未加载
phamiltonover 2 years ago
For AWS managed resources definitely use Graviton. But for spot instances in EC2 we&#x27;ve found better pricing and greater availability by staying on x86. (We run 100% of our web services and background workers on spot instances).
kodyoover 2 years ago
Same experience here. I cut over a whole bunch of instances to Graviton a while back and it &quot;just worked&quot; for a lot of our workloads. Test it first, obv.<p>Another easy cost-savings switch is telling Terraform to create EC2 root volumes using gp3 rather than gp2 (gp3 is ~10% cheaper and theoretically more performant). The AWS API and Terraform both still default to gp2 (last I checked), and I wonder how many places are paying a premium for it.
gloglaover 2 years ago
I have two comments.<p>AWS Graviton is interesting because it is pretty different machine to their AMD and Intel offerings. A &quot;16 vCPU&quot; machine from AWS is 8 cores&#x2F;16 threads, not 16 cores - except for Graviton, which actually has 16 cores, although much weaker ones. So for problems where you the cores can actually work in parallel, Graviton can keep up with AMD and Intel, while being somewhat cheaper. In single-threaded workload you get about half the performance.<p>Second thing I curious about is this very AWS heavy approach. ECS, CodeDeploy, ElastiCache. If I was their architect, I would probably go EKS, GitHub&#x2F;Lab, Redis on EKS, just for the peace of mind.
评论 #33808671 未加载
fuzzyengineerover 2 years ago
We have a very similar story at my org. We run around 100 RDS aurora clusters and switched to graviton. I&#x27;m surprised to see 35% gains here, we saw more like 10-15%. But since amazon natively supports mysql on aurora we didn&#x27;t have to worry about compatibility. Our main highlight was the way we wrote our infra as code where we made switching instances types or service we use fairly simple task, so we have switched instance types a couple of times in past and could easily make dev use t3s. Getting on cloud is a trap and not the usual we deploy on the servers and we live situation. Give weight to write some good code to manage your infra and able to adopt optimizations as they occur. It will ramp up in expense soon otherwise.
Agingcoderover 2 years ago
I&#x27;m not sure I understand the point of this article : in theory they don&#x27;t depend on x86 only code, so they&#x27;ve switched to arm and it worked, as expected, and things are cheaper.<p>I&#x27;m happy that they&#x27;ve shrunk their bill, but I somehow expected some kind of &#x27;unfortunately, things went wrong because of bizarre memory model issues causing difficult concurrency bugs&#x27;.<p>What am I missing?
评论 #33808593 未加载
评论 #33808529 未加载
johnklosover 2 years ago
Not saying what you&#x27;re switching from makes the title a bit click-baity.<p>The current title implies that AWS (Graviton or not) is somehow cheaper than other things, when AWS is quite often one of the priciest options out there.<p>&quot;Switching from AWS to AWS Graviton slashed our infrastructure bill&quot;, on the other hand, is an article worth examining.
matt-pover 2 years ago
Imagine how much they&#x27;d save by not using AWS in the first place
评论 #33807241 未加载
评论 #33808161 未加载
kaustubhvpover 2 years ago
The link throws a 503 rn. I wonder what would be the reason
评论 #33807211 未加载
Terrettaover 2 years ago
The marriage of an all arm64 dev env and a Graviton op env is a match made in heaven.<p>Everyone please do this so we collectively fix all the things to work with this. :-)
评论 #33809210 未加载
评论 #33807235 未加载
fxtentacleover 2 years ago
FYI <a href="https:&#x2F;&#x2F;squeaky.ai&#x2F;legal&#x2F;gdpr" rel="nofollow">https:&#x2F;&#x2F;squeaky.ai&#x2F;legal&#x2F;gdpr</a> I believe using Amazon AWS already disqualifies you from being fully GDPR-compliant. Same issue as Shopify has with using US CDNs: <a href="https:&#x2F;&#x2F;lsww.de&#x2F;shopify-illegal&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lsww.de&#x2F;shopify-illegal&#x2F;</a><p>Since your core sales feature is &quot;privacy friendly&quot; which will surely be appreciated in the EU, it might make sense to offer local hosting or self-hosting.
评论 #33808118 未加载