Configuring your own AWS S3 bucket to work with BEE Plugin

Comments

13 comments

  • Tom
    Tom

    Does this work with a non-AWS S3 provider? Or would that require creating a File System Provider?

    0
  • Guillermo Padilla
    Guillermo Padilla

    Hi Tom, this works only with AWS.
    If you need to use a different storage or set-up a different behavior for directory management, you must consider using a Custom File System Provider as described in:
    https://support.beefree.io/hc/en-us/articles/360004546311-Connecting-BEE-with-your-image-file-storage

    0
  • michael fritz
    michael fritz

    Hi, the functionality to connect to AWS buckets is great. How can i use different buckets for different clients though? I only see an option to connect to a single bucket which would not make sense for different users/customers if they all stored their pictures in the same folder. Thanks

    0
  • Guillermo Padilla
    Guillermo Padilla

    Hi Michael, the connector works with a single bucket. Folders are not shared between users if you correctly identify them.
    Check this article about the UID, which is the param used to recognize users: https://support.beefree.io/hc/en-us/articles/360004546351-How-does-the-UID-parameter-work-

    If you need a different behaviour, you can build an connect an FSP API as described here: https://support.beefree.io/hc/en-us/articles/360004546311-Connecting-BEE-with-your-image-file-storage
    You can modify the FSP to accomplish your needs.

    0
  • Ryan
    Ryan

    Hi, I am having problems with using my own S3 bucket. It tries to load images over https which throws a privacy error - is there any way to force it to load over http?

    0
  • Sergio M.
    Sergio M.

    Hi Ryan, just a quick follow-up: were you able to connect to your S3 bucket?

    0
  • Quoc Ngo Trung
    Quoc Ngo Trung

    Hi,
    I have a trouble when I upload my image to S3. The image was uploaded to S3 successfully but the editor get image link over HTTPS instead HTTP. S3 bucket do not support HTTPS. https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteEndpoints.html

    Here is the link return from editor:
    https://static.anphabe.com.s3.amazonaws.com/images/beefree/test1-clientside/HAW_image_inside.jpg

    Here is the actual link of S3:
    http://static.anphabe.com.s3.amazonaws.com/images/beefree/test1-clientside/HAW_image_inside.jpg

    HOW I GET LINK ON EDITOR OVER HTTP?

    0
  • Ryan
    Ryan

    Hi,

    I had to change my bucket name from the full domain name to a simple name as an example you would need to change yours from "static.anphabe.com" to just "anphabe" - this will then work.

    0
  • Guillermo Padilla
    Guillermo Padilla

    Hi Quoc, we are currently using https with S3 when using our default storage.

    0
  • Quoc Ngo Trung
    Quoc Ngo Trung

    Thanks Ryan & Guille Padilla.
    I had changed my bucket from static.anphabe.com to anphabe-static then it works. Amazon did not create HTTPS when bucket name containing a period, '.', > character.
    https://stackoverflow.com/questions/3048236/amazon-s3-https-ssl-is-it-possible

    0
  • aws+dev
    aws+dev

    I created a Github gist that should hopefully be useful for others as a reference for setting up your S3 bucket.

    https://gist.github.com/netinlet/050cc94c8eb7c69b4ee1c7756899589c

    0
  • Mario Gudelj
    Mario Gudelj

    Hi guys,

    I have an existing file structure which I can't really change because there are other apps using it. Basically, all the paths start with UID e.g. /user1/images /user1/thumbnails, /user2/images and /user2/thumbnails. From what I can see I don't think I can specify in your form where in the path the user ID goes e.g. /{{UID}}/images. Can I simply leave those fields blank and Bee will start with /UID/ or do you support some kind of markup in those fields where we can specify the UID part in the path?

    0
  • Guillermo Padilla
    Guillermo Padilla

    Hi Mario, the custom S3 bucket uses our default API and can't be customized. In your case would be more useful to build a custom FSP API with your own logic: https://docs.beefree.io/connect-your-own-file-storage/

    0

Please sign in to leave a comment.

Trial

Cut down on email & page production time, keep everything organized, and enjoy the fantastic design flexibility of BEE.

START A BEE PRO FREE TRIAL

No credit card required