These steps describe how to use the AWS Management Console to create a lifecycle rule in Amazon S3. The lifecycle rule allows you to manage the archiving of your files to Amazon S3 Glacier.
Note
Ensure you have the required AWS login credentials before you begin.
-
Log in to your AWS Management Console and then open the S3 console.
-
Search for and select the S3 bucket you want to use as your Amazon S3 Glacier content store.
-
Select the Management tab.
-
Click Add lifecycle rule.
This creates a lifecycle rule to define how Amazon S3 manages your files stored in an S3 bucket.
-
Enter a name for the rule.
-
Add the following tag and then press Enter:
archive | now -
Click Next.
-
Select Current version.
-
From the Object creation list select Transition to Amazon Glacier after.
-
Enter 0 for Days after creation and then Click Next.
Even when a transition of 0 days has been entered there may still be a minor delay.
-
Ensure Current version is the only item selected and then click Next.
-
Review your lifecycle rule and then click Save.
These steps can also be performed using the Amazon S3 API. For more information, see: