You are here

Configuring the Alfresco S3 Connector

The Alfresco S3 Connector is configured using properties set in the global properties file.
  1. Open the <classpathRoot>/ file.
  2. Add the s3.accessKey, for example:


    The access key is required to identify the Amazon Web Services account and can be obtained from the Amazon Web Services site AWS Credentials.

  3. Add the s3.secretKey property, for example:


    The secret key is required to identify the Amazon Web Services account and can be obtained from the Amazon Web Services site AWS Credentials.

  4. Add the s3.bucketName property, for example:


    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 alfresco.log file. See S3 bucket restrictions for more information on bucket naming.

  5. 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):

    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.
  6. If you need to use a single bucket for multiple purposes, set the content store as a subdirectory of the bucket, using these properties:

  7. 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 
     #Maximum size of files which can be stored in the cache in MB (zero implies no limit) 
  8. To configure an advanced S3 setup; for example, using a proxy server, see the JetS3t information for a full list of configuration parameters.
  9. Save the file.

    You are now ready to start Alfresco.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.