All Products
Search
Document Center

Simple Log Service:Lifecycle management for data storage

Last Updated:Sep 18, 2023

This topic describes the lifecycle management for data storage by changing the data retention period.

Lifecycle management policies

  • Data must be stored for at least 7 days in the hot storage tier before the data can be moved to the Infrequent Access (IA) storage tier. Data that is stored longer than the data retention period specified for the hot storage tier is automatically moved to the IA storage tier.

  • Data must be stored for at least 30 days in the hot storage tier before the data can be moved to the Archive storage tier. Data that is stored longer than the data retention period specified for the hot storage tier is automatically moved to the Archive storage tier.

  • Data must be stored for at least 30 days in the IA storage tier before the data can be moved to the Archive storage tier. Data that is stored longer than the data retention period specified for the IA storage tier is automatically moved to the Archive storage tier.

Important
  • In pay-by-ingested-data billing mode, you are not charged for data storage within 30 days after the data is written to Simple Log Service. If intelligent tiered storage is enabled, you are charged based on the data retention period and storage tier. For more information, see Billing examples.

  • For more information about the pay-by-feature and pay-by-ingested-data billing modes, see Pay-as-you-go.

Policies for data movement across storage tiers

You can change the data retention period to move data across storage tiers.

  • On the Logstore Attributes page, change the data retention period specified for the hot storage tier to move data that is stored in the IA storage or Archive storage tier to the hot storage tier.

  • On the Logstore Attributes page, change the data retention period specified for the IA storage tier to move data that is stored in the Archive storage tier to the IA storage tier.