Skip to content

Instantly share code, notes, and snippets.

@casouri
Created March 24, 2023 00:55
Show Gist options
  • Save casouri/56e1e634e50d1ae023f3bb8ea4d053de to your computer and use it in GitHub Desktop.
Save casouri/56e1e634e50d1ae023f3bb8ea4d053de to your computer and use it in GitHub Desktop.
Cost: (besides storage cost)
8 KB/object for metadata in s3, bill at s3 price
32 KB/object for index in glacier, billed at glacier price
Early deletion/overwrite fee: Delete or overwrite before stored for 90
days (glacier) or 180 days (deep glacier).
Transition cost/object:
S3 $0.005/1000 put requests, i.e., per object
glacier $0.05/1000 put requests, i.e., per object
Retrieve cost:
Standard $0.10/1000 requests + $0.02/GB
Bulk $0.025/1000 requests + $0.0025/GB
Storage cost:
Data size S3 Standard S3 Glacier S3 deep Glacier
First 50TB/month $0.023/GB $0.004/GB $0.00099/GB (0.99/TB)
Next 450TB/Month $0.022/GB $0.004/GB $0.004/GB
Over 500TB/Month $0.021/GB $0.004/GB $0.004/GB
My music library has 4451 files occupying 88G.
Uploading costs:
4451 * 0.05/1000 = $0.22255
Storing costs (ignore 40KB meta data/object):
0.004 * 88 = $0.352/month (glacier)
0.00099 = 0.08712/month (deep glacier)
Retrieving costs (bulk):
4451 * 0.025/1000 + 88 * 0.0025 = $0.331275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment