- 06 Dec 2022
- 1 Minute to read
Integrating CTERA Portal with S3-Versioned Buckets
- Updated on 06 Dec 2022
- 1 Minute to read
When versioning is enabled for the CTERA Portal data stored in an AWS S3 storage bucket, CTERA recommends that you retain versioned objects for the same number of days that the metadata of deleted objects is retained by the CTERA Portal (the default is 30 days). You need to create a lifecycle rule in AWS.
To set up versioning:
- From your Amazon Web Services account, sign-in to the AWS Management Console and select Services.
- Under Storage select S3.
- Click the CTERA Portal bucket from the S3 buckets list and then select the Properties tab to check that Versioning is enabled.
The properties for the bucket are displayed.
If versioning is not enabled, under Bucket Versioning click Edit and then chose Enable.Note
When Versioning is enabled, you are paying for multiple versions of the same document, which you will want to remove in line with the CTERA Portal retention policy.
- Select the Management tab.
The management details for the bucket are displayed.
- Click Create lifecycle rule.
The Create lifecycle rule page is displayed.
- Enter a name for the rule and chose Apply to all objects in the bucket.
- Check the acknowledgement that is displayed.
- Under Lifecycle rule actions check Permanently delete noncurrent versions of objects and Delete expired delete markers or incomplete multiple uploads.
The page changes to display Permanently delete noncurrent versions of objects and Delete expired object delete markers or incomplete multipart uploads sections.
- Specify the number of days in Days after objects become noncurrent, after which the noncurrent versions of objects are permanently deleted.
- Check Delete expired object delete markers.
- Review the details of the rule and if satisfied, click Create rule.
Lifecycle rules run once a day at midnight UTC.
The first time the rule runs, it can take up to 48 hours.