Information from: @leeoxiang
I am used to recognizing that Cloudflare R2 is cheaper than AWS S3. This is also the main promotion point of R2, but the real situation may not be the case:
1. R2 ‘s free package is very generous. If you use a small amount of items, R2 is really a good deal. Use R2;
2. R2 ‘s traffic is free. If you have a lot of traffic and store less things, R2 is more cost-effective in this case. Use R2;
3. If you have a large amount of storage, S3 will be very cheap to store cold data. In this case, S3 is likely to be cheaper than R2. Use S3;
Object storage, sometimes referred to as Blob storage, can store arbitrary large unstructured files. We commonly use AWS’s S3, Alibaba Cloud’s OSS, Tencent Cloud’s COS, and Huawei Cloud’s OBS. They are all object storage. They can all provide us with services with consistent latency, high persistence, and unlimited capacity, eliminating pain points such as sharing and backup of our local file systems.
The most classic one is AWS’s S3 (Simple Storage Service). When it was first launched, it was a revolutionary service, but it also brought new pain points. The fees for uploading and storing were okay, but when downloading was retrieved, they would be charged a traffic fee. As time goes by, more and more files are stored, and the traffic fee becomes higher and higher.
Cloudflare brought us R2 Storage, which is based on the bandwidth alliance to provide lower-cost storage services for storage objects. In the background, R2 automatically intelligently manages data tiering to improve performance during peak loads and reduce costs for infrequently requested objects.
R2 is revolutionary:
Above, we learned about Cloudflare R2 Storage charging items. What did we find? Only storage fees and operation fees are charged, no traffic fees are charged! Yes, there is no traffic charge. This is the revolutionary nature of Cloudflare R2 Storage. Relying on the bandwidth alliance, it achieves zero export charges!
In other words, for large files, R2 can significantly extend the cache life cycle and greatly reduce export costs. Combined with the Cache API and Workers, content can be dynamically cached for low-latency access around the world.
If you want to learn more, you can click on the link below the video.
Thank you for watching this video. If you like it, please subscribe and like it. thank
Original post:https://x.com/leeoxiang/status/1786993225749905460
Cloud Flare R2 website:https://www.cloudflare.com/developer-platform/r2/
Video: