FileZoomer » Glacier http://filezoomer.com The easy way to store your files at Amazon S3 Thu, 10 Mar 2016 18:59:48 +0000 en hourly 1 http://wordpress.org/?v=3.3.1 Beta Version 0.9 Add S3 Lifecycle, Versioning, Glacier, Batch Processing http://filezoomer.com/2012/12/beta-version-0-9-add-s3-lifecycle-versioning-glacier-batch-processing/ http://filezoomer.com/2012/12/beta-version-0-9-add-s3-lifecycle-versioning-glacier-batch-processing/#comments Thu, 20 Dec 2012 14:59:54 +0000 Steve http://filezoomer.com/?p=386

The newest version of FileZoomer Adds support for several new Amazon Web Services S3 capabilities, including:

Object Life Cycle: specify that files be deleted or moved to low-cost AWS Glacier storage after a set number of days or after a certain date.

Versioning: Turned on at the bucket level, versioning means that even if you upload multiple updates to a file all previous versions are saved. The newest version shows up as usual, but if you right-click the file and “show versions” all the prior versions will be displayed, and they can then be downloaded.

It’s important to know that with the current version of S3 these two features — Object Life Cycle and Versioning — are mutually exclusive. If you turn on Versioning you can’t also use Life Cycle rules, and if you are using Life Cycle you can’t turn on Versioning.

The new version of FileZoomer also includes a Batch Processing option. After interactively defining a batch process using “File…Batch Configuration”, you can later initiate that process in FileZoomer with “File…Run Batch”. This makes it easy, for instance, to update a folder and its contents with all new and updated files since the last time the batch upload was run.

Using a pure batch processing version of the filezoomer java “jar” file, along with a configuration file you have created interactively, you can also do things like schedule an unattended run of an upload job.

For more details on these new features see the individual posts for Object Life Cycle, Versioning, and Batch Processing..

]]>
http://filezoomer.com/2012/12/beta-version-0-9-add-s3-lifecycle-versioning-glacier-batch-processing/feed/ 0
Use S3 Object Life Cycle to Automatically Migrate Files to Amazon Glacier, or Delete Files Based on Date http://filezoomer.com/2012/12/use-s3-object-life-cycle-to-automatically-migrate-files-to-amazon-glacier-or-delete-files-based-on-date/ http://filezoomer.com/2012/12/use-s3-object-life-cycle-to-automatically-migrate-files-to-amazon-glacier-or-delete-files-based-on-date/#comments Thu, 20 Dec 2012 14:57:01 +0000 Steve http://filezoomer.com/?p=390

AWS recently announced Object life Cycle support for S3, which enables automated actions to be performed on objects based on a date or based on a time interval having elapsed. There are currently two actions available:

  • Delete the objects (files)
  • Move the object to low-cost Amazon Glacier storage

To automatically delete files specify a number of days or a specific date and the objects will be deleted after the specified time.

The migrate files to Glacier option moves the object to the AWS Glacier system for archiving using cheaper storage. Files are moved to Glacier after the specified number of days have elapsed or a specific date is reached.

Object life cycle support is based on the object prefix, better known as the folder path.

A bucket may contain folder paths with different rules. For example your BACKUP bucket might contain a sqldb/backup folder path and a sqldb/logs path. The sqldb/backup path could have a rule to move the objects to Glacier after 10 days and delete the objects after 365 days. The sqldb/logs folder may have a rule to simply delete the logs after 60 days.

There are three key things to know about the Object Life Cycle Migrate to Glacier option:

  • It’s cheaper. As of this writing, standard S3 pricing starts at $0.095 per GB. Glacier costs $0.010 per GB, nearly an order of magnitude cheaper.
  • It takes time to get the files back to S3, about three to five hours after you “initiate recovery”.
  • Object Life Cycle (both Glacier migration and automatic delete) is currently incompatible with S3 Versioning. You can’t do both.

Other things to be aware of:

When you tell S3 to migrate files to Glacier the only way to access them is through S3. There is no vault support and you cannot use other Glacier tools to access your files. You don’t sign up for Glacier and you don’t get a separate bill for Glacier. S3 just takes care of it and your S3 bill goes down.

When displaying files in S3 that have been moved to Glacier there will be an indication that the file is in Glacier. To access a file in Glacier you must use an S3 request to recover the file(s) . In FileZoomer you right-click and “Initiate Recovery”. File recovery takes 3-5 hours. Once a file is recovered it is available for a limited time. In FileZoomer you specify the number of days to keep it available. To make the recovery permanent you must copy the recovered file to another file in the S3 bucket. If you don’t the recovered file will be moved back to Glacier.

Configuring Object Life Cycle

  • Navigate to the bucket and folder path for which you want to create a life cycle rule.
  • Select the file drop down menu and then select the Object Life Cycle menu option.
The Object Life Cycle Configuration display will appear.

The display will show the current bucket and the current folder path in the bucket. It will also show the life cycle rules for the current bucket

Save Rules saves the displayed rules for the current bucket. If any rules are added or deleted you must use the Save Rules button to finalize the changes.

To delete a rule select the rule and Delete Selected Rule. When you confirm with Ok the rule will be removed from the rule display but it has not been removed from the bucket. Use Save Rules to apply the displayed rules to the bucket.

Use Add Rule to create a new rule.

The Add Rule dialog will appear. Verify the bucket and path displayed are the bucket and path to which you want to apply the rule.

Name the rule using Rule ID. Use a meaningful description.

Check “Use Transition Rule” to migrate files to Glacier. Check “Use Expiration Rule” to automatically delete files. You can do both. For instance you could migrate files to Glacier after 90 days and then have them deleted automatically after 365 days.

Set the number of days after file upload to apply the transition and/or expiration rules.

You can also specify a date in the future when the migration or deletion will occur. The date must be in the format yyyy-mm-dd.

Add Rule To List saves the new rule..

]]>
http://filezoomer.com/2012/12/use-s3-object-life-cycle-to-automatically-migrate-files-to-amazon-glacier-or-delete-files-based-on-date/feed/ 0