Support for Cloudflare R2?

Cloudflare R2 is a new storage service that offers similar capabilities to Amazon S3, at a (currently) lower price.

Are there any plans to support this via odrive?

Hi @timothy.asquith,
We haven’t tested it yet, but our S3 integration is also built to allow access to S3 compatible APIs, so you should be able to use it already in odrive.

Cloudflare’s documentation is here:

If you give it a shot let us know if you run into any issues!

1 Like

Finally gave this a crack, and it works as expected.

Generated an AWS-compliant set of keys as per Generate an S3 auth token · Cloudflare R2 docs. It took a wee bit for my local odrive client to show the folder (10 minutes?) but came good.

1 Like

Hi Timonthy,

Would you be able to tell me how you did this?

For instance, what should I enter for host name and bucket name?

This may seem obvious but I entered https://<ACCOUNT_ID>.r2.cloudflarestorage.com for host and the name of the bucket that I created however I cannot get it to work.

Any guidance would be greatly appreciated.

Regards,

Matt

Hi @matt5,
My apologies for missing this post.

I just tested this on R2 and you will want to use <ACCOUNT_ID>.r2.cloudflarestorage.com without the https:// prefix. Give that a shot and let me know if you are still running into issues.