Enable a lifecycle rule
S3 offers the possibility to manage your objects’ lifecycle by defining lifecycle rules. This enables you to customize the retention policy of objects in your bucket and to optimize your storage costs.
Enterprise Talk uploads objects to S3 as part of a so-called multipart upload request. To ensure that no incomplete parts are left behind, we recommended that you define a lifecycle rule on the S3 bucket as described below.
1. In your AWS Management Console, go to Management > Lifecycle and click Add lifecycle rule.
The Lifecycle rule wizard appears.
2. Enter a name and scope and click Next.
3. In the Expiration step, select Clean up incomplete multipart uploads and specify when this should happen (number of days after starting the upload). Click Next to continue.
4. Review your configuration and click Save.
You have enabled a lifecycle rule to clean up your bucket.