Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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 

    Info

    -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

Content by Label
showLabelsfalse
max5
spacesFF
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "FF"
labelskb-how-to-article

...

Page properties
hiddentrue


Related issues