Using Amazon or DigitalOcean S3 instead of local file storage

By default, Files module of Aurora Files stores personal files directly on the webserver, under data/files/ directory.

You can replace local storage with S3 compatible remote storage like AWS or DigitalOcean.

To activate personal S3 filestorage, you need to disable local personal files module, by setting Disabled to true in data/settings/modules/PersonalFiles.config.json configuration file.

Then set Disabled to false in data/settings/modules/S3Filestorage.config.json file. In that file, you also need to supply connection details and bucket name - you can do that via admin interface as well:

S3 Filestorage

Most of these parameters are obtained from Amazon S3 or DigitalOcean control interfaces.

In case of Amazon S3, you obtain Access key and Secret key from IAM console, as shown here - and you will need to specify your region ID and a hostname used.

For DigitalOcean, you need to create a Space as described here, with a particular region selected, then you can generate Access key and Secret key there as well. Host would look like digitaloceanspaces.com.

As for bucket prefix name, that's an identifier you need to provide yourself, it's not obtained from any of the services, but a unique prefix which will be used for buckets created.

Additionally, if you wish to use S3 storage for corporate files, set Disabled to true in data/settings/modules/CorporateFiles.config.json file, then set Disabled to false in data/settings/modules/S3CorporateFilestorage.config.json file.

Corporate module that uses S3 filestorage doesn't have its own connection settings, it takes those from S3 filestorage module, so enabling corporate S3 module requires configuring personal one.