> Q. Did anyone at Amazon know you were doing this?
> A. Absolutely not. If they knew, they would have had to try to stop me. Amazonians aren't just people I work with; they're my friends, and I don't want anyone to get in trouble for me being irredeemably weird.
This is a badge of honor, wear it proudly. Weird people build cool things. Great work.
datadrivenangel 16 hours ago [-]
Very clever to take advantage of the S3 to EC2 being free within regions.
mef 17 hours ago [-]
nefarious! I love it
amluto 2 hours ago [-]
I think this mostly illustrates how absurd AWS pricing is. This in-and-out-of-S3 traffic surely costs AWS at least an order of magnitude more more than ordinary cross-AZ traffic: it gets checksummed; it goes through the fancy S3 metadata layer three times (and the write and subsequent delete are atomic!); it needs to be stored durably and deleted durably; and it still needs to cross AZs!
This likely indicates that cross-AZ traffic is marked up 100x and likely quite a bit more. And the NAT gateway somehow adds another 4.5x on top.
cperciva 47 minutes ago [-]
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".
lima 12 minutes ago [-]
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.
oofbey 39 minutes ago [-]
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.
ignoreusernames 34 minutes ago [-]
> 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.
hnlmorg 17 minutes ago [-]
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.
bob1029 31 minutes ago [-]
I think the marginal cost per gigabyte thru S3 might actually be cheaper for Amazon than a low latency network link between two arbitrary points in space.
I have a feeling there would not be any kind of TOS consequences for this.
booi 18 hours ago [-]
I'm struggling to understand how this against ToS. All it really does is shed some light on the absurdity of the inter-AZ transit cost.
munch-o-man 40 minutes ago [-]
I feel like it would almost be cheaper if you need replication to use something like the https://github.com/afreidah/s3-orchestrator orchestration tool I built and configure both buckets as separate backends and do broadcast writes so that it writes to both simultaneously and you just get hit with the ingress of each and no egress/transfer fees...and add compression to shrink the ingress/egress size.
But I'm not super up-to-date on how s3 pricing works across AZs and stuff.
cperciva 17 hours ago [-]
I'm struggling to understand how this against ToS.
I don't think it is. Amazon might have some objections to the name, but they don't have a trademark on "S3"...
11 hours ago [-]
cobwebcheck 3 minutes ago [-]
[dead]
aeyes 14 minutes ago [-]
Why would it be? Whole enterprises were built on trying to reduce AWS cost by using the tools that AWS provides in clever ways.
nvartolomei 32 minutes ago [-]
Love this. Warpstream and friends did put this in production.
Rendered at 19:09:35 GMT+0000 (UTC) with Wasmer Edge.
https://www.warpstream.com/blog/kafka-is-dead-long-live-kafk...
https://www.warpstream.com/blog/warpstream-s3-express-one-zo...
> A. Absolutely not. If they knew, they would have had to try to stop me. Amazonians aren't just people I work with; they're my friends, and I don't want anyone to get in trouble for me being irredeemably weird.
This is a badge of honor, wear it proudly. Weird people build cool things. Great work.
This likely indicates that cross-AZ traffic is marked up 100x and likely quite a bit more. And the NAT gateway somehow adds another 4.5x on top.
But I think the right answer to that is "give us an option for discounted low-priority traffic".
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.
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.
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.
Whereas I’d expect most businesses to be multi-AZ since it’s very easy and usually cost effective to implement.
I have a feeling there would not be any kind of TOS consequences for this.
But I'm not super up-to-date on how s3 pricing works across AZs and stuff.
I don't think it is. Amazon might have some objections to the name, but they don't have a trademark on "S3"...