Configuring a temporary location for uploads to the Core Service in the Amazon Cloud

You can use Amazon's S3 storage server for the temporary storage of binaries that users upload to the Core Service.

Procedure

  1. Access your Content Manager server machine and navigate to the folder %TRIDION_HOME%.
  2. Open Tridion.ContentManager.config for editing.
  3. Find the section element with the name attribute set to binaryContentStorage, and set its type attribute to the following value:
    Tridion.ContentManager.Extensibility.AmazonStorage.AwsS3ConfigurationSettings, 
    Tridion.ContentManager.Extensibility.AmazonStorage, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ddfc895746e5ee6b
  4. Find the binaryContentStorage element.
  5. Remove this element's temporaryFolder attribute and value, and replace it with the following attributes and value:
    awsAccessKeyId="ACCESSKEY" awsSecretAccessKey="SECRETKEY" bucketName="YOURBUCKETNAME" 
    awsRegion="BUCKETREGION"
    where:
    • ACCESSKEY is the ID of your Amazon Web Services access key.
    • SECRETACCESSKEY is the secret access key.
    • YOURBUCKETNAME is the storage for temporary files.
    • BUCKETREGION is the region in which the bucket was created. Valid region names can be found at this Web address: http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region (refer to the Region column of the table).

    By default, the uploads are stored in the root folder of the bucket. To save them in a specific folder, add a tempFilesKeyPrefix attribute and set it to the value TEMPFOLDER/, where TEMPFOLDER is the folder name.

  6. Save and close Tridion.ContentManager.config.
  7. Restart the Content Manager server to apply your changes.
  8. From your Windows Start menu, enter services.msc to see running Windows services.
  9. Find the Windows service named SDL Web Content Manager Service Host and restart it.
  10. Configure a scheduled cleanup of the folder to which you upload content by following the instructions in this Amazon resource about Object Lifecycle Management: http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html. Typically, the Content Manager does its own cleanup of this folder, but only if the file is successfully saved to the Content Manager database. If that, for whatever reason, does not happen, a cleanup helps to keep your folder from growing too large over time.