\

Ask HN: S3(AWS) vs R2(CF)–Which is better?

4 points - today at 2:25 AM

  • JoshBlythe

    today at 8:54 AM

    S3 if you're already in the AWS ecosystem. R2 if egress costs are killing you.

    I run multi-region on AWS and S3 is deeply integrated with everything - IAM, CloudFront, ECS, Lambda. Switching to R2 would save on egress but I'd lose the tight integration with the rest of my stack. That tradeoff isn't worth it unless bandwidth is a significant line item.

    R2's zero egress pricing is genuinely compelling for anything serving large files publicly - media, assets, user uploads. If your use case is "store stuff and serve it to users," R2 wins on cost. If your use case is "store stuff and process it with other AWS services," S3 wins on friction.

    • nbbaier

      today at 4:44 AM

      I've found CF infinitely easier to set up

        • wasimsk

          today at 5:25 AM

          I agreeβ€” CF's setup is infinitely easier.

          R2 also has very generous egress: completely free outbound data transfer with no bandwidth charges (unlike S3). That's the main reason I'm comparing the two for my use case.