Tiered backup storage: when moving old backups to a colder class pays
Prices checked
Nightly backups kept 90 days fill 10 TB. A lifecycle rule that moves each one to a colder class after 30 days cuts the year with one restore at Amazon S3 from $2,665.31 to $1,374.60 (S3 Glacier Deep Archive) and at Google Cloud Storage from $2,354.65 to $1,242.56 (Coldline). Uploading the backups straight to that class costs less again: $527.95 at Amazon S3 and $644.72 at Google Cloud Storage. In S3 Glacier Deep Archive each file is restored before it can be read. Keeping the newest backups in the standard class only pays when you read them often: from about 2.5 TB of them a month. One class at the cheapest vendor, OVHcloud Object Storage Infrequent Access, costs $491.14 a year for the same backups, with no moves at all.
The same move costs extra days at Amazon S3 and none at Google Cloud Storage. Google Cloud Storage counts the days a backup spent in Standard towards Coldline's 90-day minimum, so a backup moved at 30 days and deleted at 90 owes nothing more. Amazon S3 starts S3 Glacier Flexible Retrieval's 90 days at the move, so the same backup is billed for 30 days after it is deleted: $11.18 a month here. At Amazon S3, move backups only into a class whose minimum they will see out after the move.
Amazon S3: every way to keep the backups
United States (Northern Virginia). A tiered plan keeps the newest 30 days of backups, 3.3 TB, in S3 Standard and the rest in the colder class; each month 333,333 files are moved, one request each.
| How the backups are kept | A quiet month | Year with one restore | Moves, a month | Minimum stay, a month | Moving them pays when you read |
|---|---|---|---|---|---|
| All in S3 Standard minimum stay none | $215.87 | $2,665.31 | None | Nothing | Not a move |
| Straight to S3 Standard-IA minimum stay 30 days | $119.75 | $1,521.22 | None | Nothing | Not a move |
| 30 days in S3 Standard, then S3 Standard-IA minimum stay 30 days | $154.01 | $1,923.00 | $3.33 | Nothing | 3.7 TB a month or more |
| Straight to S3 One Zone-IA minimum stay 30 days | $96.47 | $1,241.82 | None | Nothing | Not a move |
| 30 days in S3 Standard, then S3 One Zone-IA minimum stay 30 days | $138.49 | $1,736.73 | $3.33 | Nothing | 4.5 TB a month or more |
| Straight to S3 Glacier Instant Retrieval minimum stay 90 days | $43.92 | $630.79 | None | Nothing | Not a move |
| 30 days in S3 Standard, then S3 Glacier Instant Retrieval minimum stay 90 days | $116.99 | $1,478.71 | $6.67 | $12.42 | 2.6 TB a month or more |
| Straight to S3 Glacier Flexible Retrieval minimum stay 90 days · each file restored before it can be read | $43.81 | $615.64 | None | Nothing | Not a move |
| 30 days in S3 Standard, then S3 Glacier Flexible Retrieval minimum stay 90 days | $116.79 | $1,476.29 | $10.00 | $11.18 | 4.9 TB a month or more |
| Straight to S3 Glacier Deep Archive minimum stay 180 days · each file restored before it can be read | $35.31 | $527.95 | None | $9.22 | Not a move |
| 30 days in S3 Standard, then S3 Glacier Deep Archive minimum stay 180 days | $108.31 | $1,374.60 | $16.67 | $12.29 | 2.5 TB a month or more |
| S3 Intelligent-Tiering, which moves them itself minimum stay none | $153.18 | $1,913.00 | None | Nothing | Not a move |
Amazon S3's own words on a move: "The minimum storage duration charges (90 days for S3 Glacier Flexible Retrieval, 180 days for S3 Glacier Deep Archive) and the per-object storage overhead (40 KB total, of which 8 KB is charged at S3 Standard rates and 32 KB at the destination Glacier rate) also begin at this point." Transitioning objects using Amazon S3 Lifecycle
Google Cloud Storage: every way to keep the backups
United States (South Carolina). A tiered plan keeps the newest 30 days of backups, 3.3 TB, in Standard and the rest in the colder class; each month 333,333 files are moved, one request each.
| How the backups are kept | A quiet month | Year with one restore | Moves, a month | Minimum stay, a month | Moving them pays when you read |
|---|---|---|---|---|---|
| All in Standard minimum stay none | $187.91 | $2,354.65 | None | Nothing | Not a move |
| Straight to Nearline minimum stay 30 days | $96.42 | $1,266.11 | None | Nothing | Not a move |
| 30 days in Standard, then Nearline minimum stay 30 days | $129.15 | $1,649.59 | $3.33 | Nothing | 3.5 TB a month or more |
| Straight to Coldline minimum stay 90 days | $43.82 | $644.72 | None | Nothing | Not a move |
| 30 days in Standard, then Coldline minimum stay 90 days | $95.23 | $1,242.56 | $6.67 | Nothing | 2.8 TB a month or more |
| Straight to Archive minimum stay 365 days | $61.74 | $889.72 | None | $34.15 | Not a move |
| 30 days in Standard, then Archive minimum stay 365 days | $122.00 | $1,563.73 | $16.67 | $34.15 | 1.3 TB a month or more |
Google Cloud Storage's own words on a move: "The object's time spent set at the original storage class counts towards any minimum storage duration that applies for the new storage class." Object Lifecycle Management
When tiering does pay
A colder class charges for every gigabyte read back, on top of any download fee. Keeping the newest backups in the standard class avoids that charge on the backups you are most likely to read, so a move pays once you read enough of them: checks that download recent backups, frequent single-file restores, a backup program that builds a new full from the latest incrementals. The last column is that amount, a month, in terabytes of the newest backups read; below it, uploading straight to the colder class costs less. The one restore of the newest 1 TB that every year above includes is far below it.
Each move is one request per file, so small files make it dear: 333,333 files of 10 MB a month here. Amazon's guide warns: "We don't recommend transitioning objects less than 128 KB because you are charged a transition request for each object." Files of 1 MB would mean ten times the requests for the same backups. Archive classes that restore each file before it can be read suit the backups kept longest, not a repository your backup program reads every night. Minimum storage periods, vendor by vendor · what file size does to the bill · what a storage class is
S3 Intelligent-Tiering makes the move itself with no request per move and no retrieval charge: "For a low monthly object monitoring and automation charge, S3 Intelligent-Tiering monitors access patterns and automatically moves objects to the Infrequent Access tier when they haven't been accessed for 30 consecutive days." A file read later goes back to the first tier: "If an object in the Infrequent Access tier or Archive Instant Access tier is accessed later, it is automatically moved back to the Frequent Access tier." Amazon S3 User Guide
The other vendors
Azure Blob Storage, Cloudflare R2, DigitalOcean Spaces, Oracle OCI Object Storage, OVHcloud Object Storage, Scaleway Object Storage, Tigris and Vultr Object Storage also sell more than one class. For each of them, what a lifecycle move costs or how the minimum stay counts after it is not in our checked data yet, so they are not in the tables. The other vendors sell one class: there is nothing to move, and the year is the one in the calculator for these backups.
How the bills are worked out
Each bill comes from the vendor's own published rates through the same engine as the calculator, checked on the date shown. The backups are 10 TB in 1,000,000 files of 10 MB, each kept 90 days, so each month 3.3 TB is uploaded and as much deleted. Nothing is read in a quiet month; the year is 11 quiet months and one in which the newest 1 TB is downloaded over the internet, from the standard class when the plan keeps it there. A tiered plan prices each class on its share, the moves at the vendor's lifecycle rate for the colder class, and each class's minimum stay at the age the vendor counts: from the upload at Google Cloud Storage, from the move at Amazon S3 (its guide says so for S3 Glacier Flexible Retrieval and Deep Archive; its other classes are counted the same way). S3 Intelligent-Tiering is priced on its Frequent Access rate for the newest 30 days and its Infrequent Access rate after, with its monitoring charge per file. The last column compares each move with uploading straight to the same class: the extra a quiet month costs, divided by what each terabyte read saves. Free tiers you have to sign up or qualify for are left out; allowances every account gets, such as the first 100 GB downloaded each month at AWS, are counted.
The pages behind this one
- Transitioning objects using Amazon S3 Lifecycle, Amazon S3 User Guide, read
- Object Lifecycle Management, Google Cloud Storage documentation, read
- How S3 Intelligent-Tiering works, Amazon S3 User Guide, read
Related: full, incremental or differential, priced · RTO and RPO, priced · the four numbers that decide the bill · all guides