Transitioning S3 data to Glacier using a lifecycle policy
You can define a lifecycle policy where you can define the action that S3 takes during an object's lifetime. Some examples of these actions are deleting an object after a specified time, archiving objects, and transitioning to another storage class. A lifecycle policy can be applied to all objects or a subset of objects in a bucket. In this section, we will see how to transition S3 objects to Glacier using the lifecycle policy. The Glacier is the data-archiving and long-term secure and durable solution offered by AWS at an extremely low cost. Using Glacier, you can store your data cost-effectively for months, years, or even decades. To achieve this, you need to go through the following series of steps:
- Log in to AWS S3 console at https://console.aws.amazon.com/s3/ and in the bucket list, select the bucket in which you want to create the lifecycle policy. For example, in this case, we can choose the
my-backup-bucket...