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

    gbhrdt

    03/18/2023, 2:36 PM
    Hi guys, I am getting a 502 very often when trying to upload a video file from the client with a presigned URL (200MB). Are there any known issues here?
  • s

    Southpaw1496

    03/18/2023, 2:50 PM
    R2 is returning a 400 error when I try to connect to it using the S3 compatibility API. Is there any way I can see what part of the request was invalid?
  • k

    kian

    03/18/2023, 2:55 PM
    The response body should tell you
  • n

    nikitasius

    03/18/2023, 8:38 PM
    Hi, i read that R2 support bucket lifecycles (per bucket & folders). If i change lifecycle it doesn't affect old files?
  • p

    Phillippé

    03/18/2023, 8:40 PM
    It seems like my own ip address has been banned from my R2 public bucket, is there any way to whitelist myself? (getting ERR_CONNECTION_REFUSED)
    c
    • 2
    • 2
  • d

    denchi

    03/18/2023, 8:44 PM
    The documentation says
  • d

    denchi

    03/18/2023, 8:44 PM
    When a new lifecycle policy is applied, newly uploaded objects’ x-amz-expiration value immediately reflects the expiration based on the new rules, but existing objects may experience a delay. Most objects will be transitioned within 24 hours but may take longer depending on the number of objects in the bucket. While objects are being migrated, you may see old applied rules from the previous policy.
  • d

    denchi

    03/18/2023, 8:45 PM
    https://developers.cloudflare.com/r2/buckets/object-lifecycles/
  • n

    nikitasius

    03/18/2023, 8:45 PM
    Ahh thanks. I read that last night. Guess missed it 🥲
  • d

    denchi

    03/18/2023, 8:46 PM
    I wonder what would happen if you have multiple lifecycle rules for the same prefix 🤔
  • d

    denchi

    03/18/2023, 8:47 PM
    Or two prefixes where one prefix is itself the prefix of the other one.
  • d

    denchi

    03/18/2023, 8:48 PM
    Would you be prevented from creating rules like that? Or would both rules apply?
  • l

    landscapepainter

    03/18/2023, 9:59 PM
    Hi everyone I have a question. I'm one of the contributers working on an open source project, skypilot https://github.com/skypilot-org/skypilot. While trying to intergrate R2 to the system, I have two questions about public R2 buckets. 1. While it is possible to run
    aws s3 ls
    on s3 public buckets, it seems impossible to do so on public r2 bucket url. My understanding is that R2 only allows access to a specific object in the r2 public bucket given the public r2 bucket url, and not the entire bucket. Is this correct? 2. About public r2 buckets, is there a way to mount the bucket to my local node to allow access to every objects in it like accessing a local directory/file?
  • m

    micromashor

    03/18/2023, 10:08 PM
    as far as the monthly usage for R2, it looks like you get 10 GB-month free each month - is that correct?
  • m

    micromashor

    03/18/2023, 10:10 PM
    in my case, I run a website for a small volunteer organization and we never store more than ~200MB of data, so am I correct in assuming that this should be covered by the included usage?
  • z

    zegevlier

    03/18/2023, 10:10 PM
    1. Yea, the public bucket URL only allows accessing specific objects directly. If you need anything more, you could consider using a worker for that. 2. I don't know of a specific tool for R2 to do that, but I believe
    rclone
    has a subcommand to mount an S3 bucket
  • z

    zegevlier

    03/18/2023, 10:11 PM
    Yup. As long as you never have more than 10gb in your bucket, you have nothing to worry about 😄
  • z

    zegevlier

    03/18/2023, 10:11 PM
    If you have higher peak usages it gets a bit more complicated, but that doesn't seem to apply here
  • m

    micromashor

    03/18/2023, 10:12 PM
    awesome, thanks - I'm looking to transition away from our current hosting provider who's charging ridiculous rates compared to what we actually need
  • m

    micromashor

    03/18/2023, 10:13 PM
    I was kind of in disbelief at first when I saw what all a cloudflare free plan gets you
  • z

    zegevlier

    03/18/2023, 10:13 PM
    Are you going to be using R2 to host a website, or for files?
  • z

    zegevlier

    03/18/2023, 10:13 PM
    If the former, have you had a look at Pages?
  • m

    micromashor

    03/18/2023, 10:14 PM
    we have a website which I'm moving over to Pages, and various membership records, calendar events, etc which need to be stored in a database
  • l

    landscapepainter

    03/18/2023, 10:24 PM
    Thanks!
  • u

    2lay

    03/18/2023, 11:17 PM
    hey i've looked through the r2 pricing list and I don't see prices per gb uploaded and downloaded what are they?
  • u

    Unsmart | Tech debt

    03/18/2023, 11:17 PM
    $0
  • u

    Unsmart | Tech debt

    03/18/2023, 11:19 PM
    storage and operations are the only costs there are no bandwidth costs
  • u

    2lay

    03/19/2023, 12:30 AM
    alright thank you!
  • b

    bhavik

    03/19/2023, 6:36 AM
    Hi, how does R2’s Data Storage vs Asset Hosting differs? And would one need to choose between the two when signing up for R2 services and bucket creation?
  • h

    HardAtWork

    03/19/2023, 6:52 AM
    Where do you see that? R2 is a single product: an S3-Compatible Bucket
1...950951952...1050Latest