Programmatically Change S3 Storage Class To Glacier
The glacier storage class within Amazon S3 is a great way to reduce costs for files you don’t think you will ever need again, but want to have stick around just in case. Unfortunately the AWS SDK doesn’t provide a way to transition an object to the Glacier storage class; you can only transition to Infrequent Access and no further. Here is my quick hack to enable that ability: Create a special folder in your S3 bucket named ‘archive’ (or whatever you like)....