If you are looking for the last documentation in the 4.x series, see 4.7.5. Looking for another version? See all documentation.

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:

  1. file system
  2. mysql
  3. postgres

Step-by-step guide

The following steps apply for configuring s3 binary storage and file system metadata storage.

  1. Create a bucket in your s3 account.
  2. 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