The following forum message was posted by digitaltoast at http://sourceforge.net/projects/s3tools/forums/forum/618865/topic/5566492:
I know Amazon Glacier has only just been launched, and while the pricing model
seems ridiculously complicated (see below), it's also ridiculously cheap for
long-term storage. It would be nice to think that s3cmd could, in the future,
incorporate upload to Glacier.
*And when I say "complicated", I mean..
Each month you can retrieve up to 5% of the data you store in Glacier for free.
This allowance is pro-rated daily. For example, in a 30 day month, you can retrieve
approximately 0.17% of your stored data for free daily (5% / 30 days = 0.17%
per day). This means if you store 12 terabytes of data you can retrieve 20.5
gigabytes a day for free.
You are charged a retrieval fee when your retrievals exceed your daily allowance.
If, during a given month, you do exceed your daily allowance, we calculate your
fee based upon the peak hourly usage from the days in which you exceeded your
allowance. As we saw above, if you store 12 terabytes of data in Amazon Glacier,
you can retrieve up to 20.5 gigabytes for free each day. If you exceed 20.5
gigabytes during a given day (or days) over the course of the month, we determine
the hour during those days in which you retrieved the most amount of data for
the month. In this example, let’s say your peak hourly retrieval rate is 1
gigabyte per hour, and the amount you retrieved that day is 24 gigabytes.
Peak hourly retrieval for the month = 1 gigabyte per hour
Next we subtract your free allowance from the peak hourly retrieval for the
month. To determine the amount of data you get for free, we look at the amount
of data retrieved during your peak day and calculate the percentage of data
that was retrieved during your peak hour. We then multiply that percentage by
your free daily allowance. In this example, you retrieved 24 gigabytes during
the day and 1 gigabyte at the peak hour, which is 1/24 or ~4% of your data during
your peak hour. We multiply 4% by your daily free allowance, which is 20.5 gigabytes
each day. This equals 0.82 gigabytes. We then subtract your free allowance from
your peak usage to determine your billable peak.
Billable peak hourly retrieval = Peak hourly retrieval - Free retrieval hourly
Billable peak hourly retrieval = 1 gigabyte - 0.82 gigabytes = 0.18 gigabytes
The amount you pay is your billable peak, multiplied by the number of hours
in the month, multiplied by the retrieval fee. If we assume the data is stored
in US East Region and that this is a 30 day month your retrieval fee for the
Retrieval fee = 0.18 x 720 x $0.01 = $1.30[/quote]
The following forum message was posted by murlyn at http://sourceforge.net/projects/s3tools/forums/forum/618865/topic/5566492:
I would love to be able to do this dynamically also. Just a heads up to everyone,
you can set a rule in S3 on a bucket so that after a set period of time the
uploaded file will automatically move to glacier. It is the "lifetime" option
within S3 after selecting your bucket.