With the 4.7.4 release Fedora supports using Amazon S3 for storing binary content. It is useful to emphasize that s3 storage applies to binaries only. As far as metadata is concerned you have three options:
- file system
The following steps apply for configuring s3 binary storage and file system metadata storage.
- Create a bucket in your s3 account.
Pass the following java command-line options to your fedora process
-Dfcrepo.modeshape.configuration=classpath:/config/file-s3/repository.json -Daws.bucket=<destination bucket> -Daws.accessKeyId=<aws key> -Daws.secretKey=<aws secret key>
As a note: for alternative ways to pass aws credentials to your application see the AWS documentation.
For alternate out-of-the-box repository.json configurations see https://github.com/fcrepo4/fcrepo4/tree/master/fcrepo-configs/src/main/resources/config