R2 Bucket management

I am in the process of making a small platform, and I need to store images and audio files. My only experience so far with file storages has been GCore, and things are a bit different so I am a bit confused. In GCore I used to have a few buckets (which had limits on objects per bucket), since my project is small (at least currently), I simply made two buckets, one for images and one for audio. In cloudflare it seems that configuration of access and such is done at "bucket level" rather than at "storage level", so this leaves me confused. For my use case, should I be using one bucket for everything? Two buckets like I used to? Or is it best to make a system that distributes across x buckets and automatically handles the configurations?
2 Replies
harshil1712
harshil17123w ago
Hey Paige, can you share how are you accessing the buckets? You can generate a single token for both the same buckets. This way you can use a single token to access both the buckets
Paige
PaigeOP3w ago
I haven't gotten to implementation yet, I am exploring documentation right now, my question was more about configuration (e.g. what origins a bucket is accessible from), rather than access to the buckets themselves

Did you find this page helpful?