Launching S3 Wormhole

(daemonology.net)

68 points | by lewww 21 hours ago

6 comments

  • datadrivenangel 15 hours ago
    Very clever to take advantage of the S3 to EC2 being free within regions.
  • mef 16 hours ago
    nefarious! I love it
  • nvartolomei 13 minutes ago
    Love this. Warpstream and friends did put this in production.
  • amluto 1 hour 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 28 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".

    • oofbey 20 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 15 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.

  • bob1029 13 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 17 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 21 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 16 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"...