Old Release

This documentation covers an old version of Fedora. Looking for another version? See all documentation.

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. Postgres
  2. MySQL
  3. Filesystem

Note: Options 1 and 2 are strongly recommended for production deployment, see Configuring JDBC Object Store.

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 https://github.com/fcrepo4/fcrepo4/tree/master/fcrepo-configs/src/main/resources/config