From today, Amazon Simple Storage (S3) supports data archiving in Amazon Glacier. As you know, Amazon Glacier is a data storage service with a very low cost. For 1 cent per month you can store a whole gigabyte of data. True, file access is not instant. You need to spend from three to five hours to pull the data.
Despite this flaw, Amazon Glacier is rightfully one of the cheapest solutions and the best storage for backups does not exist at all. How it works? Very simple! What you need to transfer files to the archive:
regular expression that will determine the name of the objects
time, after which the objects should be carried away in Glacier
the time when objects in Glacier need to be deleted
In the properties of the S3 baketa, go to the Lifecycle and do something like: ')
In total, all files whose names begin with backup_15 days after the download will be transferred to Amazon Glacier and deleted after 500 days .
Let me remind you about the SLA, which are provided by S3 and Glacier:
STANDARD - 99.999999999%. High redundancy, standard stack S3.
RRS - 99.99%. S3 Reduced Redundancy Storage option. The redundancy is low.
GLACIER - 99.999999999%. High redundancy. Archiving objects in Glacier.