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
- Access your Content Manager server machine and navigate to the folder %TRIDION_HOME%.
- Open Tridion.ContentManager.config for editing.
- Find the
sectionelement with thenameattribute set tobinaryContentStorage, and set itstypeattribute to the following value:Tridion.ContentManager.Extensibility.AmazonStorage.AwsS3ConfigurationSettings, Tridion.ContentManager.Extensibility.AmazonStorage, Version=0.0.0.0, Culture=neutral, PublicKeyToken=ddfc895746e5ee6b - Find the
binaryContentStorageelement. - Remove this element's
temporaryFolderattribute 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
tempFilesKeyPrefixattribute and set it to the valueTEMPFOLDER/, where TEMPFOLDER is the folder name. - Save and close Tridion.ContentManager.config.
- Restart the Content Manager server to apply your changes.
- From your Windows Start menu, enter
services.mscto see running Windows services. - Find the Windows service named SDL Web Content Manager Service Host and restart it.
- 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.