Data is often useful for a limited period of time when it is accessed frequently. Once that period of usefulness has passed though, the data is kept just in case it needs to be reviewed later. This type of data can be archived — and archived storage is typically more cost-effective.
AWS offers Glacier as a long-term archive storage service with lower costs than other storage options. Data can be moved automatically between S3 storage classes using a lifecycle policy. In this hands-on lab, we will create a lifecycle policy.
For the latest on AWS S3, see the information on [Amazon S3 storage classes](https://aws.amazon.com/s3/storage-classes/?nc=sn&loc=3).
Successfully complete this lab by achieving the following learning objectives:
- Create an S3 Bucket and Upload an Object
Create an S3 bucket and upload an object.
- Create a Lifecycle Policy
Create a lifecycle policy that moves objects to Glacier Flexible Retrieval (formerly Amazon Glacier) if they haven’t been accessed in the last 30 days. Additionally, create a lifecycle policy that moves the previous version of an object to Glacier Deep Archive if not accessed within the last 15 days.