- Open the <classpathRoot>/alfresco-global.properties file.
-
Add the s3.accessKey, for example:
s3.accessKey=AKIAIOSFODNN7EXAMPLE
The access key is required to identify the Amazon Web Services account and can be obtained from the Amazon Web Services site AWS Credentials.
-
Add the s3.secretKey property, for example:
s3.secretKey=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
The secret key is required to identify the Amazon Web Services account and can be obtained from the Amazon Web Services site AWS Credentials.
-
Add the s3.bucketName property, for example:
s3.bucketName=myawsbucket
The bucket name must be unique among all Amazon Web Services users globally. If the bucket does not already exist, it will be created, but the name must not have already been taken by another user. If the bucket has an error, it will be reported in the SkyVault.log file. See S3 bucket restrictions for more information on bucket naming.
-
Add the s3.bucketLocation as specified in the Amazon Simple Storage Service (S3)
table.
The value is taken from the Location constraint column. For example, for EU (Frankfurt):
s3.bucketLocation=eu-central-1
Note: If you use a region other than the US Standard endpoint to create a bucket, s3.bucketLocation is a mandatory field. Use the Amazon Simple Storage Service (S3) table for guidance on the correct value. -
If you need to use a single bucket for multiple purposes, set the content store
as a subdirectory of the bucket, using these properties:
dir.contentstore=/SubPath/contentstore dir.contentstore.deleted=/SubPath/contentstore.deleted
-
Set optional configuration properties; for example, where the cached content is
stored, and how much cache size you need:
The cached content location (and default value) is dir.cachedcontent=${dir.root}/cachedcontent. See CachingContentStore properties for more information on the caching content store.
Note: The size of the local caching content store can be configured as necessary to limit its use to a maximum overall size or by files with a maximum file size. For example:#Maximum disk usage for the cache in MB system.content.caching.maxUsageMB=51200 #Maximum size of files which can be stored in the cache in MB (zero implies no limit) system.content.caching.maxFileSizeMB=0
- To configure an advanced S3 setup; for example, using a proxy server, see the JetS3t information for a full list of configuration parameters.
-
Save the SkyVault-global.properties file.
You are now ready to start SkyVault.
You are here
Configuring the SkyVault S3 Connector
The SkyVault S3 Connector is configured using properties set in the global properties
file.
© 2017 TBS-LLC. All Rights Reserved. Follow @twitter