This lab will take you through the process of viewing and setting storage classes on an object and setting up lifecycle policies.
-
Go to the S3 console, select your S3 bucket (e.g stg209-student-N), and go to the Lab2 prefix (folder)
-
Note that the objects are using three different storage classes. The first three objects have standard for their object class.
-
Select the checkbox to the left of the first object file001.bin to open up the object details view
-
Click on Storage Class to bring up the Change Storage Class window.
-
Click on the radio button for Standard-IA and click save then change
-
Observe the updated storage class that is now visible on the object overview page in the storage class column.
-
Go to the S3 console and select your S3 bucket (e.g stg209-student-N)
-
Navigate to the Management tab and select Add lifecycle rule
-
Give the rule a name and click next
-
Click the checkmarks for both Current version and Previous version
-
Next to "for current versions of objects" click the "+ Add Transition" link to to add a transition
-
Select Transition to Standard-IA after. It will automatically select "30" for Days after creation
-
Add additional transitions as shown in the graphic (you may need to scroll your browser to see dropdowns for previous versions)
-
Click Next
-
Select Previous Versions
-
Click Next
-
Review Settings and click Save
-
You should now see a summary of your lifecycle policy
Congratulations! You have completed Lab 2.