{"id":104,"date":"2023-06-19T13:02:03","date_gmt":"2023-06-19T04:02:03","guid":{"rendered":"https:\/\/blog.interstellar.co.jp\/en\/?p=104"},"modified":"2023-06-19T13:02:05","modified_gmt":"2023-06-19T04:02:05","slug":"amazon-s3-glacier-instant-retrieval-128kb-issue-how-much-cost-savings-over-s3-could-be-tested","status":"publish","type":"post","link":"https:\/\/blog.interstellar.co.jp\/en\/2023\/06\/19\/amazon-s3-glacier-instant-retrieval-128kb-issue-how-much-cost-savings-over-s3-could-be-tested\/","title":{"rendered":"Amazon S3 Glacier Instant Retrieval 128KB issue; how much cost savings over S3 could be tested."},"content":{"rendered":"\n<p>Hello, my name is Agata.<\/p>\n\n\n\n<p>The other day, we backed up all of our office data and tested the price difference between storing it as-is in S3 and storing it in Glacier Instant Retrieval.<\/p>\n\n\n\n<p>S3 is an object storage system that you are probably familiar with, but Glacier Instant Retrieval is an object storage system that, like S3, can retrieve data in milliseconds, and the price is very similar to Glacier, but at a much lower cost. The retrieval fee is higher than S3, so it is basically a storage for backups.<\/p>\n\n\n\n<p>The reason I decided to do this cost comparison this time is because Glacier Instant Retrieval has the following slightly complicated limitations.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>S3 Glacier Instant Retrieval has a minimum billable object size of 128 KB. Smaller objects may be stored but will be charged for 128 KB of storage at the appropriate storage class rate.<\/p>\n<cite>https:\/\/aws.amazon.com\/s3\/pricing\/?nc1=h_ls<\/cite><\/blockquote>\n\n\n\n<p>In short, if you save an object under 128KB, it&#8217;s going to be the price of S3.<\/p>\n\n\n\n<p>And actual office data are often small files, aren&#8217;t they?<br>If you&#8217;re going to back up office data, wouldn&#8217;t it be better to store it as it is in S3, because the retrieval fee is cheaper? That&#8217;s what we started talking about.<\/p>\n\n\n\n<p>Intuitively, I thought it wouldn&#8217;t have much of an impact. But I couldn&#8217;t be convinced unless I could actually show the figures, couldn&#8217;t I?<\/p>\n\n\n\n<p>I could have made a model data and made an estimate, but I thought it was more proof than argument, so I actually tried it with our office data first.<br>The capacity of the data is about 15 GB.<br>There are a lot of quite detailed files such as text data, and the ratios are under the following conditions.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>File size<\/td><td>Ratio<\/td><\/tr><tr><td>Less than 128KB<\/td><td>95%<\/td><\/tr><tr><td>128 KB or more<\/td><td>5%<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Office data capacity ratios<\/figcaption><\/figure>\n\n\n\n<p>I thought it was quite demanding, but here are the results. (Amounts are per day)<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th><strong>Storage Class<\/strong>.<\/th><th><strong>Price ($)<\/strong><\/th><th><strong>Price to Standard<\/strong>.<\/th><\/tr><tr><td>Standard<\/td><td>0.0243990296<\/td><td>&#8211;<\/td><\/tr><tr><td>Glacier Instant Retrieval<\/td><td>0.004890458<\/td><td>Approx. 20% (Approx. 80% off)<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Price comparison between S3 Standard and Glacier Instant Retrieval<\/figcaption><\/figure>\n\n\n\n<p>It&#8217;s obvious at a glance.<\/p>\n\n\n\n<p>Incidentally, the price in the Tokyo Region is 0.025USD\/GB for Standard and 0.005USD\/GB for Instant Retrieval, which is almost exactly the ratio.<\/p>\n\n\n\n<p>Regardless of the poor conditions, it was within the margin of error for the impact of files less than 128KB.<br>In the end, if you have a slightly larger file, it doesn&#8217;t seem to matter how many 128KB files you have.<\/p>\n\n\n\n<p>I could do a more proper calculation, but as for me, I&#8217;m satisfied with this because I found a trend with the actual data. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello, my name is Agata. The other day, we backed up all of our office data and tested the price difference between storing it as-is in S3 and storing it in Glacier Instant Retrieval. S3 is an object storage system that you are probably familiar with, but Glacier Instant Retrieval is an object storage system that, like S3, can retrieve data in milliseconds, and the price is very similar to Glacier, but at a much lower cost. The retrieval fee is higher than S3, so it is basically a storage for backups. The reason I decided to do this cost comparison this time is because Glacier Instant Retrieval has the&#8230;<\/p>\n","protected":false},"author":2,"featured_media":102,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-104","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aws"],"_links":{"self":[{"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/posts\/104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":1,"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":105,"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/posts\/104\/revisions\/105"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/media\/102"}],"wp:attachment":[{"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.interstellar.co.jp\/en\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}