Feature | Characteristics and use cases |
Intelligent Tiering |
|
Configuring lifecycle rules based on last access time |
|
Category | Considerations |
Supported features | You can create a lifecycle rule that transitions objects based on their last access time. However, you cannot use a lifecycle rule to delete objects based on their last access time. |
Storage type | You can use a lifecycle rule to transition objects to the following storage types: Infrequent Access Storage, Flashback Archive, Archive, Cold Archive, and Deep Cold Archive. However, you cannot use a lifecycle rule to transition objects to Intelligent Tiering. |
Constraints and limitations |
|
Operations that update an object's last access time | TOS calculates the last access time of objects from the day access monitor is enabled. Operations such as overwriting or downloading an object update its last access time. However, if multiple GetObject requests are made for the same object within 24 hours, only the time of the first request is recorded as the object's last access time. For instance, if an object is downloaded at 8:00 a.m. on January 1, its access time will be recorded as 8:00 a.m. on January 1. Any subsequent download requests before 8:00 a.m. on January 2 will not update the access time. The access time will only update if the object is downloaded after 8:00 a.m. on January 2. Other operations update the object's last access time based on the time of the operation. For more information, see Which operations update an object's last access time?. |
Permissions required | Before you begin, ensure that your account has the necessary permissions to enable access monitor and configure lifecycle rules. Specifically:
|
Parameter | Description |
Rule name | Used to identify the lifecycle rule. Lifecycle names must:
|
Status | Determines when the rule takes effect. The options are:
|
Impact Scope | Defines the scope of objects affected by the lifecycle rule. The options are:
|
Tag | TOS allows you to configure lifecycle rules for objects with specific tags, supporting up to ten tags. For more information, see Managing object tags. warning For a lifecycle rule to take effect, an object must match both the tag key and value specified in the rule. |
Not | Enabling this option will prevent the lifecycle rule from applying to objects with the specified prefix and tag. Follow these guidelines when specifying a prefix or tag:
warning
|
File size | Specifies the size range of objects to which the lifecycle rule applies. Valid range: [1 B, 5 TiB]. The options are:
If both Specify the minimum file and Specify the maximum file are selected, the lifecycle rule only applies to objects whose sizes fall within this range. warning
|
Effective policy | Select Last access time. tip Before setting Effective policy to Last access time, you must switch on Access monitor. If Access monitor is not enabled on the Lifecycle page, you can enable it quickly below Last access time. |
Latest file version expiration policy | Transitions latest object versions. This policy only supports Specify days. Once the desired number of days has been set, TOS will automatically transition any latest version that remains unaccessed for the preset duration to the target storage type. warning
For example, if the number of days after which in-scope objects will automatically transition to Flashback Archive is set to 90, the transition to Archive must occur after at least 180 days to avoid early deletion charges. |
File history version expiration policy | Transitions historical object versions. This policy only supports Specify days. Once the desired number of days has been set, TOS will automatically transition any historical version that remains unaccessed for the preset duration to the target storage type. warning If you select multiple expiration policies, make sure the time interval between any two policies is greater than or equal to the minimum storage duration for each respective storage type. Otherwise, early deletion charges may apply. The minimum storage durations are as follows:
For example, if the number of days after which in-scope objects will automatically transition to Flashback Archive is set to 90, the transition to Archive must occur after at least 180 days to avoid early deletion charges. |
Part expiration policy | This policy is turned off by default. Once enabled, you can set an expiration period in days. Any uploaded but unmerged parts will be automatically deleted after the expiration period elapses. |