Simple Storage Service(S3) Life-cycle:
Supported life-cycle transitions:
Amazon S3 supports the following life-cycle transitions between storage classes using an S3 Life-cycle configuration.
You can transition from the following:
The S3 Standard storage class to any other storage class.
The S3 Standard-IA storage class to the S3 Intelligent-Tiering, S3 One Zone-IA, S3 Glacier Instant Retrieval, S3 Glacier
Flexible Retrieval, or S3 Glacier Deep Archive storage classes.
The S3 Intelligent-Tiering storage class to the S3 One Zone-IA, S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, or S3
Glacier Deep Archive storage classes.
The S3 One Zone-IA storage class to the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes.
The S3 Glacier Instant Retrieval storage class to the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes.
The S3 Glacier Flexible Retrieval storage class to the S3 Glacier Deep Archive storage class.
Any storage class to the S3 Glacier Deep Archive storage class.
Unsupported life-cycle transitions:
Amazon S3 does not support any of the following life-cycle transitions.You can't transition from the following:
Any storage class to the S3 Standard storage class.
Any storage class to the Reduced Redundancy Storage (RRS) class.
The S3 Intelligent-Tiering storage class to the S3 Standard-IA storage class.
The S3 One Zone-IA storage class to the S3 Intelligent-Tiering, S3 Standard-IA, or S3 Glacier Instant Retrieval storage
classes.
Transitioning to the S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive storage classes (object archival) :
Using S3 Life-cycle configuration, you can transition objects to the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive
storage classes for archiving. When you choose the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage class, your
objects remain in Amazon S3. You cannot access them directly through the separate Amazon S3 Glacier service. For more
general information about S3 Glacier see, What is Amazon S3 Glacier in the Amazon S3 Glacier Developer Guide.
General consideration:
Encrypted objects remain encrypted throughout the storage class transition process.
Objects that are stored in the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes are not available in
real time.
Archived objects are Amazon S3 objects, but before you can access an archived object, you must first restore a temporary
copy of it. The restored object copy is available only for the duration you specify in the restore request. After that,
Amazon S3 deletes the temporary copy, and the object remains archived in S3 Glacier Flexible Retrieval.
You can restore an object by using the Amazon S3 console or pro-grammatically by using the AWS SDK wrapper libraries
or the Amazon S3 REST API in your code. For more information, see Restoring an archived object.
Objects that are stored in the S3 Glacier Flexible Retrieval storage class can only be transitioned to the S3 Glacier Deep
Archive storage class.
You can use an S3 Life-cycle configuration rule to convert the storage class of an object from S3 Glacier Flexible Retrieval
to the S3 Glacier Deep Archive storage class only. If you want to change the storage class of an object that is stored in S3
Glacier Flexible Retrieval to a storage class other than S3 Glacier Deep Archive, you must use the restore operation to
make a temporary copy of the object first. Then use the copy operation to overwrite the object specifying S3 Standard,
S3 Intelligent-Tiering, S3 Standard-IA, S3 One Zone-IA, or Reduced Redundancy as the storage class.
The transition of objects to the S3 Glacier Deep Archive storage class can go only one way.
You cannot use an S3 Life-cycle configuration rule to convert the storage class of an object from S3 Glacier Deep Archive
to any other storage class. If you want to change the storage class of an archived object to another storage class, you
must use the restore operation to make a temporary copy of the object first. Then use the copy operation to overwrite
the object specifying S3 Standard, S3 Intelligent-Tiering, S3 Standard-IA, S3 One Zone-IA, S3 Glacier Instant Retrieval, S3
Glacier Flexible Retrieval, or Reduced Redundancy Storage as the storage class.
The objects that are stored in the S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive storage classes are visible and
available only through Amazon S3. They are not available through the separate Amazon S3 Glacier service.
These are Amazon S3 objects, and you can access them only by using the Amazon S3 console or the Amazon S3 API. You
cannot access the archived objects through the separate Amazon S3 Glacier console or the Amazon S3 Glacier API.
Cost Consideration:
If you are planning to archive infrequently accessed data for a period of months or years, the S3 Glacier Flexible Retrieval and
S3 Glacier Deep Archive storage classes can reduce your storage costs. However, to ensure that the S3 Glacier Flexible Retrieval
or S3 Glacier Deep Archive storage class is appropriate for you, consider the following:
Storage overhead charges - When you transition objects to the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive
storage class, a fixed amount of storage is added to each object to accommodate metadata for managing the object.
For each object archived to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive, Amazon S3 uses 8 KB of storage
for the name of the object and other metadata. Amazon S3 stores this metadata so that you can get a real-time list of
your archived objects by using the Amazon S3 API. For more information, see Get Bucket (List Objects). You are charged S3
Standard rates for this additional storage.
For each object that is archived to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive, Amazon S3 adds 32 KB of
storage for index and related metadata. This extra data is necessary to identify and restore your object. You are
charged S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive rates for this additional storage.
If you are archiving small objects, consider these storage charges. Also consider aggregating many small objects into a
smaller number of large objects to reduce overhead costs.
Number of days you plan to keep objects archived - S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive are long-
term archival solutions. The minimal storage duration period is 90 days for the S3 Glacier Flexible Retrieval storage class and
180 days for S3 Glacier Deep Archive. Deleting data that is archived to Amazon S3 Glacier doesn't incur charges if the objects
you delete are archived for more than the minimal storage duration period. If you delete or overwrite an archived object
within the minimal duration period, Amazon S3 charges a prorated early deletion fee. For information about the early deletion
fee, see the "How am I charged for deleting objects from Amazon S3 Glacier that are less than 90 days old?" question on
the Amazon S3 FAQ.
S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive transition request charges - Each object that you transition to
the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage class constitutes one transition request. There is a cost for
each such request. If you plan to transition a large number of objects, consider the request costs. If you are archiving small
objects, consider aggregating many small objects into a smaller number of large objects to reduce transition request costs.
S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive data restore charges - S3 Glacier Flexible Retrieval and S3
Glacier Deep Archive are designed for long-term archival of data that you access infrequently. For information about data
restoration charges, see the "How much does it cost to retrieve data from Amazon S3 Glacier?" question on the Amazon S3
FAQ. For information about how to restore data from Amazon S3 Glacier, see Restoring an archived object.
When you archive objects to Amazon S3 Glacier by using S3 Lifecycle management, Amazon S3 transitions these objects
asynchronously. There might be a delay between the transition date in the S3 Lifecycle configuration rule and the date of the
physical transition. You are charged Amazon S3 Glacier prices based on the transition date specified in the rule. For more
information, see the Amazon S3 Glacier section of the Amazon S3 FAQ.
The Amazon S3 product detail page provides pricing information and example calculations for archiving Amazon S3 objects. For
more information, see the following topics:
"How is my storage charge calculated for Amazon S3 objects archived to Amazon S3 Glacier?" on the Amazon S3 FAQ.
"How am I charged for deleting objects from Amazon S3 Glacier that are less than 90 days old?" on the Amazon S3 FAQ.
"How much does it cost to retrieve data from Amazon S3 Glacier?" on the Amazon S3 FAQ.
Amazon S3 pricing for storage costs for the different storage classes.