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

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues