upvote
There are some possibilities which could make S3 replication legitimately cheaper: It doesn't need to track security groups or connections, and it might run at a lower QoS.

But I think the right answer to that is "give us an option for discounted low-priority traffic".

reply
The cost of matching ACLs is trivial compared to S3, where metadata writes go through a distributed database with strict consistency and multi-round consensus.

S3 writes synchronous within a region with read-after-write consistency, so they can't treat it as low-prio traffic either without killing write latency.

reply
I've known teams taking advantage of this same trick at scale for years. Maybe something will change now that somebody is pointing it out with a generic tool?

I'd guess the underlying reason is that S3's pricing is very competitive, and people pay attention to it. But things like networking that generally don't amount to much people just accept whatever the price is. So AWS can get away with absurd markup.

reply
This is the second time I've seen S3 powered eldritch abominations merely to avoid transit costs. Literally tunneling packets through S3 to avoid using a managed NAT gateway. https://xeiaso.net/blog/anything-message-queue/
reply
> This likely indicates that cross-AZ traffic is marked up 100x

Or even higher. Their AZ traffic pricing has always been borderline criminal. I think they just treat it as a hidden tax for bigger enterprises (smaller companies usually don't worry about cross-AZ resilience). I put it on the same class as SAS companies treating SSO functionality as some extremely complex thing hidden behind "enterprise class" pricing.

reply
Are you sure you’re not thinking of cross-region? Which is very expensive and definitely not something your average business would worry about.

Whereas I’d expect most businesses to be multi-AZ since it’s very easy and usually cost effective to implement.

reply
Modern hardware can do 64Tbps each way over a single fiber pair using DWDM and what are now considered fairly standard 800G optics, for about $3M in equipment cost (not including installation), but you can amortize a whole lot of fiber pairs over a single conduit. (In fact generally one buys multistrand cable -- I've never installed fiber cables with fewer than 12 strands because the extra strands cost almost nothing.)

At AWS's pricing, assuming 100% utilization, they invoice about $25M per day for that link.

Yes, this fancy gear pays for itself at AWS rates in a few hours.

I do not believe that the rest of the plant accounts for this. AWS does not charge for traffic within an AZ. The sole additional cost to them from cross-AZ is that the traffic needs to route to a switch/router whose links connect to the long-range DWDM fiber.

reply
> Are you sure you’re not thinking of cross-region?

Not really. "Expensive" is relative from project to project, but on my experience any DB or DB like thing requiring cross-az replication is going to introduce non trivial costs, especially on larger scales. For small business with little to no data, yeah, it shouldn't be a problem.

reply
That’s the replica DB cost rather than the cross AZ networking cost.

But I do take your point.

reply