how do I sanity check my own S3 bucket configuration

Comments

4 comments

  • Avatar
    Daniel Mendoza

    Hi,

    I am a bit unsure of your request. Do you wish to check if your bucket is public or private? If public, no bucket policy is needed, but if it's private you'll need to add a bucket policy.

    I am looking forward to your update.

    Daniel

    1
    Comment actions Permalink
  • Avatar
    Durga Ganesh

    Hi Daniel, 

    I want to sanity check Cloudinary upload image into my S3 bucket. I used the following method to upload my image into the S3 bucket and I'm getting the following exception. How do I resolve this?

    Sample Code:

    Map uploadResult = cloudinary.uploader().upload("s3://my-bucket/my-path/my-file.jpg", ObjectUtils.emptyMap());

    Exception:

    java.lang.RuntimeException: You can't directly access the requested s3 bucket, please contact support to whitelist at com.cloudinary.strategies.AbstractUploaderStrategy.processResponse(AbstractUploaderStrategy.java:85) ~[cloudinary-core-1.22.1.jar:na]

    0
    Comment actions Permalink
  • Avatar
    Eyal Katz Talmon

    Hi,

    In order to upload assets from your S3 bucket into your Cloudinary cloud, you need to whitelist the S3 bucket.

    You can whitelist the bucket by following the instruction listed here.

    Please let me know if have further questions.

    Eyal

    0
    Comment actions Permalink
  • Avatar
    Durga Ganesh

    Thanks, Eyal.

    0
    Comment actions Permalink

Please sign in to leave a comment.