{"id":74,"date":"2016-12-23T17:19:00","date_gmt":"2016-12-23T13:19:00","guid":{"rendered":"http:\/\/yohoho.msp360.com\/?p=74"},"modified":"2024-10-02T14:53:32","modified_gmt":"2024-10-02T10:53:32","slug":"how-to-setup-object-expiration","status":"publish","type":"post","link":"https:\/\/www.msp360.com\/resources\/blog\/how-to-setup-object-expiration\/","title":{"rendered":"How to Setup Object Expiration with MSP360 Explorer for Amazon S3"},"content":{"rendered":"<p>Bucket Lifecycle feature in MSP360 Explorer allows users to specify Object Expiration policy for Amazon S3. This feature makes it easier for our customers to use the functionality of Amazon S3. Lifecycle feature now consists of two options: Object Expiration and Transition.<br \/>\n<!--more--><br \/>\n<a href=\"https:\/\/forums.aws.amazon.com\/ann.jspa?annID=1303\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Object Expiration<\/a>\u00a0feature in Amazon S3 can be used when there are objects within a bucket that have a predefined lifetime. On a bucket, a customer can define a set of rules that states given a prefix (or specific key) that the object(s) under this prefix should have a\u00a0lifetime of a specified number of days.\u00a0<a href=\"https:\/\/www.msp360.com\/explorer\/windows\/\">MSP360 Explorer for Amazon S3<\/a> comes with full support for Object Expiration. Use the steps below to configure it.<\/p>\n<p>1. To set up a new Object Expiration policy and specify conditions for moving data to Glacier right-click on a bucket and select Bucket Lifecycle from the context menu.<\/p>\n<p>2. In the opened window click on the \u201cAdd\u2026\u201d button. You will see the Bucket Lifecycle Rule screen.<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-15039 aligncenter\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/Bucket-lifecycle.png\" alt=\"Bucket-lifecycle\" width=\"571\" height=\"322\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/Bucket-lifecycle.png 813w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/Bucket-lifecycle-300x170.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/Bucket-lifecycle-768x435.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/Bucket-lifecycle-624x353.png 624w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/p>\n<p>3. Here you can specify files and folders to set up rules for. Just click on the \"<strong>...<\/strong>\" button and choose proper objects from the list.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-31835 size-full\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/image.png\" alt=\"\" width=\"500\" height=\"623\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/image.png 500w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/image-241x300.png 241w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><br \/>\nFor\u00a0automatic deletion\u00a0of your files from Amazon S3, you have to check the Expiration (delete permanently)\u00a0box. Specify the number of days after object creation when your data will be automatically deleted. Also, you can set up a specific date for your data to be deleted. Data will be deleted in the UTC midnight at the date you choose. Please, note that all the data selected\u00a0will be permanently deleted\u00a0without any chance of restoration. If you want to activate the policy you have created immediately, leave the box Enable this rule\u00a0checked.<\/p>\n<p>When you\u2019re finished with specifying Object Expiration policy\u00a0for objects in your bucket, click \u201cOK\u201d.<\/p>\n<p>4. Now you\u2019ll see the list of existent Lifecycle rules in a bucket. On the screenshot below you can see the rule we've created previously. According to this rule, selected files in our bucket\u00a0will be permanently deleted from Amazon S3\u00a0in 30 days after their creation. Deletion will be performed <b>in <\/b>UTC midnight of the specified date.<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-15041 aligncenter\" src=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/bucket-lifecycle-expiration-added.png\" alt=\"bucket-lifecycle-expiration-added\" width=\"570\" height=\"321\" srcset=\"https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/bucket-lifecycle-expiration-added.png 816w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/bucket-lifecycle-expiration-added-300x169.png 300w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/bucket-lifecycle-expiration-added-768x433.png 768w, https:\/\/www.msp360.com\/resources\/wp-content\/uploads\/2011\/12\/bucket-lifecycle-expiration-added-624x352.png 624w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/>You can create a new Bucket Lifecycle by clicking Add button. Also, you can update and temporarily disable the Bucket Lifecycle rules.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bucket Lifecycle feature in MSP360 Explorer allows users to specify Object Expiration policy for Amazon S3. This feature makes it easier for our customers to use the functionality of Amazon S3. Lifecycle feature now consists of two options: Object Expiration and Transition.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[877,898,882],"tags":[],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-blog-articles","category-msp360-explorer","category-msp360-news"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/comments?post=74"}],"version-history":[{"count":4,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":58744,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/posts\/74\/revisions\/58744"}],"wp:attachment":[{"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/media?parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/categories?post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.msp360.com\/resources\/wp-json\/wp\/v2\/tags?post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}