Search code examples
amazon-web-servicesamazon-s3amazon-glacier

Is it possible to automatically move objects from an S3 bucket to another one after some time?


I have an S3 bucket which accumulates objects quite rapidly and I'd like to automatically move objects older than a week to another bucket. Is it possible to do this with a policy and if so what would the policy look like.

If there can't be move to another S3 bucket is them some other automatic mechanism for archiving them potentially to glacier?


Solution

  • Yes you can archive automatically from S3 to Glacier.

    You can establish it by creating a Lifecycle Rule in the Amazon Console.

    http://aws.amazon.com/blogs/aws/archive-s3-to-glacier/

    Archiving Amazon S3 Data To Amazon Glacer