ILM rule 2 for example 4: Save two copies of noncurrent versions for 2 years

This example ILM rule stores two copies of the noncurrent versions of an S3 versioned object for 2 years.

Because ILM rule 1 applies to all versions of the object, you must create another rule to filter out any noncurrent versions. This rule uses the Noncurrent Time option for Reference Time.

In this example, only two copies of the noncurrent versions are stored, and those copies will be stored for two years.
Rule definition Example value
Storage Pools Two storage pools, each at different data centers, named DC1 and DC2.
Rule Name Noncurrent Versions: Two Copies Two Years
Reference Time Noncurrent Time
Content Placement On Day 0 relative to Noncurrent Time (that is, starting from the day the object version becomes the noncurrent version), keep two replicated copies of the noncurrent object versions for 2 years (730 days), one in DC1 and one in DC2. At the end of 2 years, delete the noncurrent versions.


ILM rule 2 for example 4: Keep noncurrent object versions for 2 years