Lifecycle Rule To Clean Up S3 Bucket Delete Markers
We suggest creating a lifecycle rule to clean up old delete markers if versioning is enabled on your ObjectiveFS S3 bucket. See this doc for how to check if versioning is enabled on your S3 bucket.
Steps to set up lifecycle rule to clean up old delete markers
Go to AWS Console https://console.aws.amazon.com/s3
Select your S3 bucket
Select the Management tab
In Lifecycle rules, click on Create lifecycle rule
In Lifecycle rule configuration, enter a rule name (e.g. delete marker cleanup), choose Apply to all objects in the bucket and acknowledge that the rule will apply to all objects
In Lifecycle rule actions, select Delete expired object delete markers or incomplete multipart uploads
In Delete expired object delete markers or incomplete multipart uploads, select Delete expired object delete markers.
Select Create rule to create the lifecycle rule.
Last updated ObjectiveFS staff
ObjectiveFS is a shared file system for macOS and Linux that automatically scales and gives you scalable cloud storage. If you have questions or article idea suggestions, please email us at support@objectivefs.com