In the AWS Management Console, click on My Account/Console at the top. Then click on AWS Management Console.
Next, click on the “Transfer Data” button. You will be able to select the data you want to transfer and then click on the “Transfer” button.
When you open a bucket, you’ll see the content of the bucket on the left hand side. Click on Properties at the top right to open the settings for that bucket.
At the bottom of this page, you’ll see a table that lists all of the Lifecycle rules for your bucket. You can expand the table to see any rules you want. I have one rule that transfers everything in the bucket to Glacier after it’s uploaded to S3.
In the Lifecycle rule dialog, you can set up a new rule to manage your website’s security. You can choose from a variety of options, such as checking for updates and protecting against common threats, or setting up specific security measures for your website.
You can choose to apply the Glacier rule to all files and folders inside the bucket, or only move a certain amount of data to Glacier and leave the rest in S3.
To move the music folder in my bucket to Glacier, I would type music/in the Prefix box and specify mymusic.mp3 as the file to move.
Next, you can choose the Time Period Format. This option lets you choose when you want the objects you specified to be moved into Glacier. If you choose Days from the creation date, you can say, for example, that you want to move the data to Glacier after 10 days. This means when the file is data is first uploaded to S3, it will be moved to Glacier after 10 days of being created.
Effective from date, you can specify a date in the future at which point the data will be transferred to Glacier. You have to click on the Add Transition button in order to specify the time period. My screenshot says “Move to Glacier”, but that’s because I already created a rule. When you click Add Transition, you can type in the number of days or the date. Note that if you type in 0 for the number of days, then the data will be moved immediately the next time the rule is run. ..
There is an expiration button, but be careful with this. If you choose to add an expiration, the data will be deleted after the time you specify. It’s important to remember that it will be deleted from S3, RRS and Glacier. So basically it’s completely gone if you choose to add an expiration.
If you don’t add an expiration, the data will always remain in Glacier and not be deleted. That’s pretty much it. Once you save the rule, the rule will be run once a day. If your rule matches the criteria you specified, the data will be transferred. ..
Secondly, Glacier has a new feature called “S3-Bucket” which allows you to store your data in multiple buckets. This is great for when you want to keep your data across different servers, or if you want to share your data with other organizations. The fourth class is Glacier, which means it’s now stored there.
When you move data from S3 to Glacier, you still have to access it from S3. If you upload data straight to Glacier, it will show up in the Glacier console when you log into AWS. However, moving data using Lifecycle rules means the data will be stored in Glacier and you’ll be charged Glacier prices, but you’ll have to access the data from the S3 console. Kind of confusing, but that’s how it works. ..
Retrieving Data from Glacier
Glacier is a great way to get data back from the glacier. The process of retrieving data is a bit more complicated than with S3, but the end result is much cheaper.
Click on it and then select the restore option.
If the option is disabled, Glacier won’t store the file in S3. When you restore, you’ll have to choose how long you want the data to be accessible in S3.
The files are restored to S3 RRS storage class, which is a little bit cheaper than S3 Standard. Also note that you cannot permanently restore the data, it will be deleted eventually. I’m not sure what the largest value you can enter for days to keep the data, but it’s not forever. Also, you have to pay the higher fees the longer that data sits in RRS storage class, so it’s better to keep the duration short.
To see the status of a restoration, just click on the file or folder you restored and click on the Properties button. It will say Restoration in Progress. When the restore is complete and you click Properties again, you’ll see the date that the restore will be kept to. ..
Glacier is a great way to get your data from S3 to the cloud. Just create one rule and you’re done. Moving data to Glacier can save you a lot of money if you have a lot of data on S3. If you have any questions, please post a comment. Enjoy!