Clean up in S3 - Clean up in S3 - Alfresco - Alfresco Intelligence Services - Alfresco/Alfresco-Intelligence-Services/1.4/Alfresco-Intelligence-Services/Alfresco-Intelligence-Services/Install-Intelligence-Services/Set-up-Amazon-AI-services/Clean-up-in-S3 - 1.4

Alfresco Intelligence Services

Platform
Alfresco
Product
Alfresco Intelligence Services
Release
1.4
ft:lastPublication
2026-05-06T19:18:15.398000
ft:locale
en-US
ArchiveStatus
Archived

Whenever files are written to S3 for processing, they're removed once processing finishes or an exception is encountered. However, if the service is stopped or an uncaught exception is thrown, it's possible that files may be left in S3. It's recommended that you set up a policy on the S3 bucket so that objects that are older than a day are removed from the bucket.

To do this, you can create a lifecycle rule that expires all versions of objects after 1 day, and then permanently deletes them one day after that.

See the AWS site for more details on Object lifecycle management.