Cloud storage cost calculation (backup/restore)

Related to my offsite-backup with restic project I recently wanted to choose an cloud-provider as backup target. But that seems not an easy decision. Besides the costs for storage and traffic things getting complicated when it comes to restore: Pricing differs here from $10 to $1300 for a single restore of 500GB!

Although I use mainly AWS for my business projects I consider to use google cloud storage for my private backup. Main reason for me is that the restore options for AWS S3 Glacier are not easy to predict and the costs could be very different.

Some notes on the calculation

General

  • To calculate the different tiers it is important to know the average archive size. Restic i.e. uses about 5MB chunks – therefore AWS Glacier with expedited access could be very, very expensive – on the other hand bulk access  might be cheap but could be very slow on restore. It would make sense with bigger archive sizes but not with backup tools like restic.
  • There might be some upload fees (number of requests) but they’re not considered here. Upload traffic is almost free at all providers

AWS S3

  • In the scope are AWS S3 with the tiers Standard, IA (infrequent access) and Glacier
  • Glacier has different download request times: Bulk (5-12 hours), Standard (3-5 hours), Expedited (1-5 Minutes)
  • IA has a minimum storage time of 30 days, Glacier has 90 days (normally no problem with backups)

Backblaze B2

  • almost the „cheapest“ cloud storage provider, but as they’re based in the US the latency from/to Germany might be high (not tested).

Google Cloud Storage

  • In the scope are the tiers Regional, Nearline and Coldline
  • Nearline has a minimum storage time of 30 days, Cold-line has 90 days (normally no problem with backups)
  • Like AWS S3 Glacier, there are extra fees for requesting Nearline and Coldline data, but there are no „waiting times“ on access!

Calculation

I’ve made a spreadsheet for the calculation. You can find an online version here (or embedded below). Or Download as Excel.

All information is supplied without guarantee and for my own private purpose. There might be additional fees that are not included here. Use at your own risk! Let me know if something might be wrong.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.