Amazon Simple Storage Service (S3) is a third-party service that allows you to store files and distribute them through Amazon’s file distribution network. You can configure Telligent Community to use Amazon S3 to store some or all files related to content such as post attachments and avatars.
Support for Amazon S3 is included with Telligent Community, but you must configure it to use Amazon S3. You can independently configure each Centralized File System (CFS) file store in Telligent Community to use Amazon S3.
Telligent Community does not have a migration tool to migrate files from the file system storage to Amazon S3.
To configure Telligent Community for Amazon S3, for a particular filestore, add the following into your communityserver_override.config file
<Override xpath="/CommunityServer/CentralizedFileStorage/fileStore[@name='FILE-STORE-NAME']"
mode="change"
name="type"
value="Telligent.Evolution.Extensibility.Storage.Providers.Version1.AmazonS3FileStorageProvider, Telligent.Evolution.Components"
/>
<Override xpath="/CommunityServer/CentralizedFileStorage/fileStore[@name='FILE-STORE-NAME']"
mode="new"
name="awsSecretAccessKey"
value="YOUR-SECRET-ACCESS-KEY"
/>
<Override xpath="/CommunityServer/CentralizedFileStorage/fileStore[@name='FILE-STORE-NAME']"
mode="new"
name="awsAccessKeyId"
value="YOUR-PUBLIC-ACCESS-KEY"
/>
<Override xpath="/CommunityServer/CentralizedFileStorage/fileStore[@name='FILE-STORE-NAME']"
mode="new"
name="bucket"
value="YOUR-BUCKET-NAME"
/>
Replacing
- FILE-STORE-NAME with the name of the filestore for which you want to store files in Amazon S3
- YOUR-SECRET-ACCESS-KEY with your secret access key as provided by Amazon
- YOUR-PUBLIC-ACCESS-KEY with your public access key as provided by Amazon
- YOUR-BUCKET-NAME with the name of the S3 bucket to store files in.
If you want to store files in S3 for multiple filestores, repeat the above procedure for each filestore you want to store files in S3. Multiple filestores can stores files in the same Amazon S3 bucket.