Remote Storage
Remote storage engine allows to store files on remote storage. For now the following storage engines are supported:
Local- files are stored locally instoragefolderS3- Amazon S3 compatible storage with signature v2 authorisationS3v4- Amazon S3 compatible storage with signature v4 authorisationS3v4alt- Amazon S3 compatible storage with signature v2 or v4 authorisation, use this storage only when others don't work, since it reuploads file to the storage when file privacy is changed, when v4 signature is used then it will work with Amazon S3 storage only, if other than Amazon S3 storage is used then it will switch to v2 anyway.
Storage engine can be changed in Studio > Settings > Storage:
- Default storage engine - storage engine to use by default, when changing this setting, then storage engine is changed for storage objects which don't have any files uploaded, if storage object has some files uploaded then manual files transfer to the new storage engine is required, after manual transfer is completed then manually change engine for the storage object in
enginefield insys_objects_storagetable. Note that when transferring data fromLocaltoS3orS3v4you need to make all files public to make it accessible (existing private files will be marked as public, only newly uploaded files will be marked as private). - AWS access key - access key provided by storage engine, for
S3,S3v4andS3v4altonly. - AWS secret key - secret key provided by storage engine, for
S3,S3v4andS3v4altonly. - AWS bucket - bucket name, for
S3,S3v4andS3v4altonly. - AWS custom domain - custom domain to use for file URLs, requires proper DNS setup on your custom domain, leave empty for default domain from particular storage engine, for
S3andS3v4only. - Endpoint - particular storage endpoint domain, for Amazon leave empty, for Google storage use
storage.googleapis.comfor Wasabi storage uses3.wasabisys.com, forS3,S3v4andS3v4altonly. - Signature version - signature version, for
S3v4altonly,S3supports onlyv2,S3v4supports onlyv4. - Region - region, such as
us-east-1, forS3v4andS3v4altonly.
Not all storage providers works with all storage engines, here is a table to show which one to use:
| Provider | S3 | S3v4 | S3v4alt(v2) | S3v4alt(v4) |
|---|---|---|---|---|
| Amazon | OK (some regions FAIL) | OK (some regions FAIL) | OK (some regions FAIL) | OK |
| OK | FAIL | FAIL | FAIL | |
| Wasabi | OK | OK | OK | FAIL |
How to generate keys: