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.

The NixOS Foundation’s Call to Action: S3 Costs Require Community Support

304 pointsby ghuntleyalmost 2 years ago

43 comments

johnklosalmost 2 years ago
Half a petabyte in storage and 3 TB transfer a day? Shit. That&#x27;s nothing, unless you&#x27;re &quot;saving money by using the cloud&quot;.<p>While I feel for them, they put themselves in this position. Even when someone gives you something apparently for free, you have to consider what might happen when it disappears, and it seems that nobody thought about it, or if they did, they didn&#x27;t care.<p>People often learn how expensive &quot;the cloud&quot; is the hard way.
评论 #36174194 未加载
评论 #36173801 未加载
评论 #36174742 未加载
评论 #36178412 未加载
评论 #36173655 未加载
评论 #36176127 未加载
评论 #36174710 未加载
评论 #36175971 未加载
评论 #36173991 未加载
jtoldsalmost 2 years ago
Cloudflyer (<a href="https:&#x2F;&#x2F;www.cloudflyer.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.cloudflyer.io&#x2F;</a>) offers free migrations from S3 to Storj. Storj is $4&#x2F;TB&#x2F;mo, $7&#x2F;TB egress. It&#x27;s decentralized storage, so the base functionality has CDN-like performance (no Cloudfront needed), and you don&#x27;t need to pay extra for multiregion redundancy.<p>I jumped on the Nix Foundation Matrix to try and help them directly, but for anyone reading this thread, Storj might be able to cut a zero off your storage costs. Check us out!<p>Full disclosure - I work for Storj. <a href="https:&#x2F;&#x2F;www.storj.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.storj.io&#x2F;</a>
评论 #36174181 未加载
评论 #36173990 未加载
评论 #36173628 未加载
评论 #36238682 未加载
评论 #36174349 未加载
评论 #36175187 未加载
评论 #36173769 未加载
评论 #36174440 未加载
user6723almost 2 years ago
One of my colocated servers has 60TB of space to spare and has a 10gbe unmetered uplink on the provider&#x27;s IP-transit blend.<p>It is easy to configure traffic shaping on the box so that any unused upload bandwidth can be used without any impact to existing applications.<p>I would be happy to seed NixOS torrents. There is an extension to torrents where files can be added to a torrent after a torrent is released that might make sense to look at.
评论 #36174001 未加载
评论 #36180676 未加载
10000truthsalmost 2 years ago
Google and some napkin math tell me that this kind of workload should not be on the cloud.<p>A 4U or 8U rack server with 1 PB of storage and plenty of cores: ~$40K<p>Colo facilities in the Bay Area: $400-500&#x2F;mo<p>Compared against the status quo of $9K&#x2F;mo, the ROI ends up being 5 months per box, for twice the storage capacity they need. Set up multiple of those boxes around the world to the extent that you care about redundancy&#x2F;distribution, and they still end up far ahead in a few years time.
评论 #36175580 未加载
评论 #36175451 未加载
heavyset_goalmost 2 years ago
S3&#x27;s costs are insane for this use case, can&#x27;t imagine using it to for a Linux distribution&#x27;s repositories.<p>edit: Oh man, there&#x27;s potentially a $32k migration fee to pay for S3 egress, as well.
评论 #36173432 未加载
评论 #36173709 未加载
评论 #36173454 未加载
评论 #36177193 未加载
评论 #36176435 未加载
评论 #36178695 未加载
评论 #36173342 未加载
aidenn0almost 2 years ago
The only thing I wonder is how much space it would use if the nar files were stored without .xz and in a store that does smart deduplication. Because of the way Nix works, there&#x27;s going to be a lot of e.g. ELF files that are nearly identical except for the rpath.
评论 #36176370 未加载
andrewstuartalmost 2 years ago
2 days ago someone said they had thousands of dollars of AWS credits to use.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36149966" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36149966</a>
评论 #36173617 未加载
botanicalalmost 2 years ago
I&#x27;ve never heard of LogicBlox but they were sponsoring $9000 a month? That&#x27;s crazy, normally even big sponsors will give a once-off $5000. Well, well done to them
评论 #36173430 未加载
rglullisalmost 2 years ago
That seems like the perfect use case for IPFS. I can even bet that if the people at the NixOS foundation played their cards right, they could get the Filecoin bag holders to <i>pay</i> for the development of this new feature.
评论 #36173961 未加载
justahuman74almost 2 years ago
The nix store seems on the face of it like a perfect use case for something like IPFS
评论 #36174195 未加载
评论 #36174084 未加载
评论 #36173418 未加载
评论 #36173437 未加载
评论 #36174118 未加载
评论 #36173346 未加载
janosdebugsalmost 2 years ago
Can someone please enlighten my uninformed self why NixOS needs to store this mindboggling amount of data and why it would be damaging to the research community specifically if it were to be lost? 9000$ a month is a LOT.
评论 #36174530 未加载
评论 #36174177 未加载
poxrudalmost 2 years ago
“That would incur a fixed cost of around $32k for the migration.”<p>They should consider Backblaze b2 if they want s3 api compatibility. Backblaze currently offers to cover the migration costs assuming some spend commitment.
predictabl3almost 2 years ago
Personally, I&#x27;ll shovel money to the TVL folks for tvix-store before I give a single penny that might end up in Amazon&#x27;s pocket for S3 hosting...
评论 #36176819 未加载
LanternLight83almost 2 years ago
I get that it&#x27;s out of scope right now, but it&#x27;d be so cool to have a decentralized solution for regional caching
评论 #36174353 未加载
评论 #36173261 未加载
评论 #36174782 未加载
JonChesterfieldalmost 2 years ago
This seems to be about a cache of compiled stuff where it&#x27;ll cost $32k to move the data out of S3. So... rebuild the cache somewhere else and drop the original data?
评论 #36177404 未加载
charcircuitalmost 2 years ago
I wonder if it would be cheaper to just rebuild some of these objects from the derivation. Isn&#x27;t that the point of reproducable builds?
nixer6872almost 2 years ago
There has been a controversy around the server cache.nixos.org. The signing ed25519 cache key is from the year 2015 and there is no plan to rotate the key. It is apparent that a key cannot hold for all these years.<p>I have been made aware of the matter when somebody on the matrix claimed that there is no plan to rotate the cache key. He&#x2F;She said reasons behind that are explained by Eelco D. in <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=yXPQdZh8o7c">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=yXPQdZh8o7c</a>. Unfortunately, I couldn&#x27;t confirm this. That person afterwards claimed that the video is cut and that part was removed intentionally.<p>If that&#x27;s the case, it might be the reason why ppl stop paying for the cache server costs. Furthermore, if the foundation attempted to hide the facts by cutting the video and re-uploading, for me, this is a matter of dishonesty and somebody should take the responsibility for it. I believe this person is Ron E., the current director of the Nixos Foundation. But in any case, this claim should be backed by finding the original stream of the Nix 20th Community Panel recording.<p>For the rest of us, until some cryptogeek fixes nix to support certs and key lifecycles, the solution is to build a local cache with hydra and flakes. There are many ppl keen on the subject, you can look for one on the matrix.
tutfbhufalmost 2 years ago
I can recommend Hetzner Storage boxes <a href="https:&#x2F;&#x2F;www.hetzner.com&#x2F;storage&#x2F;storage-box?country=us" rel="nofollow">https:&#x2F;&#x2F;www.hetzner.com&#x2F;storage&#x2F;storage-box?country=us</a> its quite cheap (€40.60 for 20 TB).<p>Just order 25x BX41 Boxes with 500 TB for 1015€. They do not support S3 protocol, but have plenty of other protocol options (FTP, SFTP, HTTPS, rsync, mount as network drive, ...).
评论 #36175349 未加载
exabrialalmost 2 years ago
You know, we used to solve these problems through organizations like the Apache Software Foundation and Eclipse Foundation....
gigatexalalmost 2 years ago
Any cloud provider or CDN that agreed to just sponsor such an important project would gain so much community love that I think they should just do it. Cloudflare should just do an agreement special with Nix and store everything for free. The cost would be not negligible but the reputation benefit and goodwill will be immense.
评论 #36177016 未加载
hamandcheesealmost 2 years ago
&gt; Migrating the buckets to Cloudflare R2 52, and using the generous OSS sponsorship offer they recently announced 89. That would incur a fixed cost of around $32k for the migration.<p>I assume this is do to egress from S3. I wonder how that cost compares to re-generating the historic caches. Presumably that is possible with nix.
评论 #36174186 未加载
评论 #36174548 未加载
ronefalmost 2 years ago
We will be holding the community call on Wednesday June 7th at 5pm (GMT+2) Planned Agenda * Brief budget and timeline review * Review&#x2F;discuss all potential options * Brainstorm&#x2F;Q&amp;A<p>Info to join is in the original discourse post. Thank you again for jumping all in on this with us!
testemailfordg2almost 2 years ago
Maybe explore Wasabi, costs $5 per TB&#x2F;month with no egress costs <a href="https:&#x2F;&#x2F;wasabi.com&#x2F;cloud-storage-pricing&#x2F;#three-info" rel="nofollow">https:&#x2F;&#x2F;wasabi.com&#x2F;cloud-storage-pricing&#x2F;#three-info</a><p>Can get cheaper as well if you go for reservered capacity model.
评论 #36174358 未加载
fnordpigletalmost 2 years ago
I’m surprised aws doesn’t get in front of this and offer the s3 storage as a donation. It would be tax deductible at retail price, and generate good will. In fact I always thought they should open up storage for popular distributions of Linux and stuff like brew etc.
评论 #36173710 未加载
评论 #36173970 未加载
colordropsalmost 2 years ago
I wonder if some plugin could be created to use torrents and&#x2F;or ipfs for caching.
评论 #36173524 未加载
Havocalmost 2 years ago
I don&#x27;t get why these things aren&#x27;t designed around bittorrent, at least as first line of defence.<p>Also means the most popular packages have the most seeders<p>I bet it is easier to get people to seed a bit than to get them to pull out a credit card
1letterunixnamealmost 2 years ago
When you reach scale and need a CDN, DIY on bare metal on colo and roundrobin using AnyCast.<p>And then find out why you&#x27;re consuming so much bandwidth and try to use less.
getcrunkalmost 2 years ago
Shoutout to bunny cdn. It’s dirt cheap in comparison. $5&#x2F;tb egress. Storage is similarly priced to s3 tho.
londons_explorealmost 2 years ago
&gt; That would incur a fixed cost of around $32k for the migration<p>The EU needs to get onto banning&#x2F;reducing lock in like this by making migration expensive. All the cloud providers clearly have pricing models to try to lock customers from moving elsewhere.
评论 #36175136 未加载
justahuman74almost 2 years ago
Are any large companies using NixOS? I presume they&#x27;d be candidates for sponsorship
评论 #36173390 未加载
评论 #36173436 未加载
评论 #36173332 未加载
lsca94almost 2 years ago
I would suggest them a service like wasabi.com. There they wouldn‘t pay the egress traffic only the used storage. But yeah probably the best solutions would be cloudflare if they manage to get the OSS sponsorship.
toomuchtodoalmost 2 years ago
Can folks who have AWS credits to burn use them to cover egress costs?
评论 #36173649 未加载
crazypythonalmost 2 years ago
S3 is a highly reliable storage media. You should use a CDN that transparently caches S3 artifacts to save on reads, such as AWS CloudFront or Cloudflare R2 are good choices.
znpyalmost 2 years ago
425 TB? Really?<p>I wonder how much of that could be thrown away.
评论 #36174559 未加载
unixheroalmost 2 years ago
Just get sponsored by an educational institution or a unicorn with plenty of bandwidth and deep pockets.
jensenboxalmost 2 years ago
Why is Backblaze with their B2 solution not on their list?<p>From what I recall they&#x27;ll cover your initial egress costs.
woopwoop24almost 2 years ago
tl:dr operating yourself around 6-10k€&#x2F;year fixed price for hosting the 500TB. If cloudflare offers to store that and operate it for free this is a no brainer for cloudfare R2, if the 32k migration is really a one time only cost.<p>i personally would invest in a solution which decreases or at least flattens the cost, when the storage needs increase, instead of the current linear curve. Biggest problem in &quot;cloud&quot; and biggest win in hosting yourself.<p>if you want to do it yourself i would probably think about something like this:<p>500TB with 20tb hdd&#x27;s are around 28 disks needed. This will cost between 15-20.000€ per server(4U with sata&#x2F;sas controller and 36-40 disk chassis)<p>with no raid and high availability you will need 2 locations and 2 servers in a colocated setup. i would say colo will cost you 500-1000€ a month<p>Then you would use the cloudflare cdn with their OSS offering and be done with it.<p>initial cost 40k operational cost + colo = around 6-12k&#x2F;year i would assume, if you have people nearby to do maintenance.
评论 #36176049 未加载
garysomerhalderalmost 2 years ago
What about looking at Wasabi? It’s $5.99 USD + (any applicable taxes) per TB per month for S3 compatible storage on the pay as you go plan <a href="https:&#x2F;&#x2F;wasabi.com" rel="nofollow">https:&#x2F;&#x2F;wasabi.com</a>
chillbillalmost 2 years ago
I’m disappointed to learn they use S3 to be honest.
unixheroalmost 2 years ago
July 1st is not plenty of time as a heads up.
risalmost 2 years ago
Reminder that S3 supports bittorrent natively.
评论 #36177480 未加载
评论 #36176163 未加载
andrewstuartalmost 2 years ago
Cloudflare R2 does not charge egress.
评论 #36173556 未加载
BonoboIOalmost 2 years ago
Deleted
评论 #36173618 未加载
评论 #36173544 未加载