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.
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. |