Month <span class=May 2012" src="https://developers.bistri.com/wp-content/themes/smartbox-theme/images/bundled/landscape-2-1250x300.jpg">

Month May 2012

Amazon S3 lifecycle configuration

Bistri Team May 16, 2012 engineering, tip

Amazon S3 provides a great option to handle the ttl (time to live) of your files. Indeed you can set a lifecycle configuration to your bucket.

But the implementation of this part of the API is not very common around the open source projects that give access to S3. 

Because we needed it inside a Node.js module, we forked a github project called aws2js, and gave it support for lifecycle configuration.

See the pull request

Don’t hesitate to test it and bring us feedback!