Extension:AWS

The AWS extension allows your wiki to take advantage of your Amazon Web Services account. It currently only supports using S3 as the file repo but SQS support is coming soon.

Install the AWS SDK
You will first need to install the AWS SDK. There is a composer.json file provided in the extension root directory that lists the SDK and all its prerequisites.

1. Download and install composer. curl -sS https://getcomposer.org/installer | php

2. Install your dependencies. php composer.phar install

Configure LocalSettings.php
1. Choose four (4) different unique keys to be used as the S3 containers for file storage. See the Amazon S3 documentation for more information on what containers are. The three container names must be unique.

2. Add the following code to your LocalSettings.php.

Make sure to replace your-aws-key, your-aws-secret, your-aws-region, and the four container names with your own values.

Using separate credentials
This extension lets you use multiple services from AWS (e.g., S3 and SQS). In some cases you may want to use different sets of credentials or different regions for different services. This is possible by editing the configuration for each service.

Amazon S3
Here is how to add custom credentials to Amazon S3 in LocalSettings.php.

Amazon SQS
Here is how to add custom credentials to Amazon SQS in LocalSettings.php