S3 (cloud storage) integration

Created on 29 April 2025, about 1 month ago

Love the UI/UX of this. Would it be possible to integrate this with different buckets in an S3 container, using either the S3FS or Flysystem - S3 module?

The use case would be allowing users to easily upload media tagged for a certain "folder" that would then relate to and direct the S3 module to save the uploaded media file to a corresponding bucket.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States w01f

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @w01f
  • πŸ‡΅πŸ‡ΉPortugal jmauricio

    Thanks.
    I think that it would be possible, yes, but maybe in a separate sub-module of this.
    I will look into it as soon as i have a finished stable version of this module.

  • πŸ‡ΊπŸ‡ΈUnited States w01f

    Thinking through this a bit more I think there would be two main parts.

    1. Media Folders could detect the folder nesting in the S3 bucket and then add the correct nested taxonomy to the media entity.

    2. If a user changed the taxonomy term (folder location) for a media entity, Drupal would inform S3 to move the file accordingly.

    3. Would some kind of "change pending" or "completed" notification be needed - possibly as a "processing" circling arrows, followed by a green check mark icon, or similar feedback to the Drupal user to let them know the change was completed successfully?

  • πŸ‡΅πŸ‡ΉPortugal jmauricio

    @w01f

    Digging into this, i have found some problems that make this not possible for this module.
    - There is no way to create a folder in a s3 bucket, folders are not objects unless there is a file in that location.
    - You can have multiple file systems on the same website, public, private, s3, etc, this makes your request impossible to do with the same UI.
    - The purpose of this module is to use taxonomy terms as folders, so that it will never need to change the physical location of the files and therefor never have to update the file location in the DB.

    This being said, i've tested the s3fs module, and on my current dev version, it works fine, files are uploaded to the s3 filesystem and displayed without any issue.

    Maybe what you need is a different module, something like "S3fs navigator", or something like that, using this UI.

Production build 0.71.5 2024