File Storage Settings¶
The File Storage Settings allows you to customize where uploaded file attachments will be stored. By default, uploaded files are stored on the Review Board server, but it can be changed to store on Amazon S3, a scalable file storage service provided by Amazon.
General Settings¶
- File storage method:
Allows you to choose how you want uploaded files. There are two options:
- Host file system - Review Board will use the local file
system’s media/uploaded directory to store the files.
Amazon S3 - Review Board will use Amazon S3 to store the files. You must have a working, paid account to use this.
This requires that you install the django-storages Python module. See the installation documentation for more information.
Amazon S3 Settings¶
- Amazon AWS access key:
The Amazon AWS access key ID provided in your AWS account. This can be found in the Security Credentials section of the AWS site.
- Amazon AWS secret access key:
The Amazon AWS secret access key ID provided in your AWS account. This too can be found in the Security Credentials section of the AWS site.
- S3 bucket name:
The name of your Amazon S3 Bucket where your files will be stored and made available.
- Amazon AWS calling format:
The method of access for retrieving files on your Amazon S3 account. This is one of the following:
- Path - Files will be accessed by a path on s3.amazonaws.com in the format of http://s3.amazonaws.com/{bucket}/{key}.
- Subdomain - Files will be accessed by a subdomain of s3.amazonaws.com in the format of http://{bucket}.s3.amazonaws.com/{key}. The subdomain is configured in your Amazon S3 account.
- Vanity - Files will be accessed by a path on a custom vanity domain in the format of http://{vanity_domain}}/key. The vanity domain is configured in your Amazon S3 account.