Accelerate the Value of Data

Add a lifecycle rule for AWS

Learn how to add a lifecyle rule to the Staging bucket to expire the raw data.

A lifecycle rule with a time to live (TTL) allows you to automatically delete data after a defined period. For more information, see topic Creating and managing a lifecycle rule by using the AWS Management Console.
Note: You must have the editor role to add a lifecycle rule.

To add a rule:

  1. In the AWS Console Home page, select S3.
  2. In the Buckets page, select the bucket for which you want to create a lifecycle rule.
  3. Select Management.
  4. Select Create lifecycle rule.
  5. In the Create lifecycle rule page, provide the rule name and data retention period.
    1. Lifecycle rule name: Enter the rule name.
    2. Choose a rule scope: Select Limit the scope of this rule using one or more filters to use the rule only for some files and then add a filter in the Prefix field. Select Apply to all objects in the bucket to use the same rule for all files in the bucket and then select the I acknowledge that this rule will apply to all objects in the bucket check box.
    3. Lifecycle rule actions: Select Expire current versions of objects.
    4. Days after object creation: Enter the number of days for which you want to retain data. For example, 14 days.
  6. Select Create rule.