Does CF plan to add R2 integration into the Cloudflare plugin?

Does CF plan to add R2 integration to the Cloudflare plugin? I have noticed over the years, 3rd party vendors added easy S3 bucket integration into Wordpress plugins, and I was wondering if Cloudflare had plans to do the same with the R2 buckets and Wordpress?

WordPress would just be using R2’s S3 API so any plugin that talks S3 should be able to talk to R2 just fine - have you had issues when using an existing plugin?

No not really other than the plugins are made for Amazon and not CF. Are you saying those two are the same?

> KianNH Regular
June 13

Wordwould just be using R2’s S3 API so any plugin that talks S3 should be able to talk to R2 just fine - have you had issues when using an existing plugin?

Yes and no.

S3 is AWS’s product and has a published API (i.e PutObject - Amazon Simple Storage Service). This means that other object store providers, such as Google Cloud Storage, Backblaze B2 or Cloudflare R2 can have an S3 ‘compatible’ API that they expose.

This means that a tool that works with S3, provided it can be pointed at a different URL, can also work with any of the above providers. It’s an inter-op layer that makes it pretty easy to have a single tool that can talk to a bunch of providers & also makes migration to another provider easy.

https://developers.cloudflare.com/r2/platform/s3-compatibility/api/

Your AWS Access Key ID and AWS Secret Access Key are an API token generated as per https://developers.cloudflare.com/r2/platform/s3-compatibility/tokens/ and then the ‘endpoint URL’ is https://<ACCOUNT_ID>.r2.cloudflarestorage.com - the aforementioned tokens page explains how to find that.

The rest should pretty much be the same as setting up an S3 bucket - with the aside that the region, if it allows you to define it, should be auto (or us-east-1 if not).

I understand, but many don’t, I don’t believe, I think it would be a good idea to offer a plugin that specifically supported Cloudflare and you would enter your info into the plugin and it would store the data. That is what I am looking for. Maybe I am making this overly complicated which is never good.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.