https://discord.cloudflare.com logo
Join Discord
Powered by
# r2
  • v

    Vitali

    04/13/2022, 6:34 PM
    It's exactly like S3. There's no actual folder structure but the UI will use
    /
    as a delimiter to expose a folder-like view
  • s

    stupefied | AS204829

    04/13/2022, 6:35 PM
    Ok so you won’t be able to create folders?
  • e

    Erwin

    04/13/2022, 6:36 PM
    That is the trouble with making an S3 compatible API.. 😦
  • v

    Vitali

    04/13/2022, 6:36 PM
    The UI for that may be missing
  • e

    Erwin

    04/13/2022, 6:36 PM
    You inherit their choices
  • s

    stupefied | AS204829

    04/13/2022, 6:36 PM
    Oh no
  • a

    albert

    04/13/2022, 6:36 PM
    S3 does not have folders. But if your object key is
    images/2022/vacation.png
    , then the UI should generate a folder structure like:
    Copy code
    - images
      - 2022
        - vacation.png
  • v

    Vitali

    04/13/2022, 6:37 PM
    The lack of folder structure is actually a feature. There's other reasons why we followed S3 here
  • v

    Vitali

    04/13/2022, 6:37 PM
    This isn't because we needed to support the S3 API
  • v

    Vitali

    04/13/2022, 6:38 PM
    I think in the UI we're missing an explicit "Create folder" UI button like S3 has but under the hood I can't recall what they do (I think they actually create a key with that name)
  • s

    stupefied | AS204829

    04/13/2022, 6:38 PM
    👍
  • s

    stupefied | AS204829

    04/13/2022, 6:39 PM
    Might just create a bucket for each “folder”
  • i

    Isaac McFadyen | YYZ01

    04/13/2022, 6:40 PM
    No, buckets are a different kind of thing 🙂
  • v

    Vitali

    04/13/2022, 6:40 PM
    Note that currently we limit you to 1000 buckets per account. This is a raisable limit but I'm not sure if we'll lift it for non-enterprise accounts (we need to see how the system scales before we make that kind of call).
  • s

    stupefied | AS204829

    04/13/2022, 6:41 PM
    I doubt I’d use 1k buckets, but we’ll see!
  • s

    stupefied | AS204829

    04/13/2022, 6:41 PM
    As in? I’m a bit confused now
  • v

    Vitali

    04/13/2022, 6:41 PM
    I mean in theory we could let you treat buckets as folders (without UI support) but the main blockers would be 1000 buckets per account and more flexible naming rules for buckets (which wouldn't be accessible from S3)
  • s

    stupefied | AS204829

    04/13/2022, 6:43 PM
    Side question: Are names for buckets tied to the account?
  • v

    Vitali

    04/13/2022, 6:43 PM
    buckets are an organizational tool but typically you think about it in terms of: * Objects that have similar geographical requirements (perf & jurisdictional location) * Objects that have similar ACL/sharing policies * Objects that have similar lifecycle policies
  • v

    Vitali

    04/13/2022, 6:43 PM
    Yes. You don't have to worry about global conflicts.
  • j

    Jacob | Pages

    04/13/2022, 6:44 PM
    Last I saw, B2 limits you to 100 buckets so 1000 is a lot
  • i

    Isaac McFadyen | YYZ01

    04/13/2022, 6:58 PM
    Also nice that they're unique to account, unlike S3 which has to be globally unique.
  • s

    stupefied | AS204829

    04/13/2022, 8:07 PM
    Ah, I see. Probably just going to use it for personal storage/backup that I access frequently
  • a

    andrew

    04/13/2022, 8:46 PM
    Any chance that i could get set up with the r2 beta discord access that was mentioned above?
  • k

    kavinplays

    04/13/2022, 8:48 PM
    there is supposed to be another round later this week/next week
  • c

    Chaika

    04/13/2022, 8:53 PM
    Are they still trying to fix some things with it, or do you see the R2 tab in your dashboard and can set it up and such now?
  • c

    Chaika

    04/13/2022, 8:54 PM
    I dm'd him before cutoff and don't see it
  • k

    kavinplays

    04/13/2022, 8:54 PM
    it isn't up yet for us
  • i

    Isaac McFadyen | YYZ01

    04/13/2022, 8:54 PM
    They're still working on it.
  • c

    Chaika

    04/13/2022, 8:54 PM
    Ok thanks! wanted to make sure it wasn't just me lol
1...293031...1050Latest