• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

Amazon Glacier の落とし穴

on

  • 369 views

 

Statistics

Views

Total Views
369
Views on SlideShare
363
Embed Views
6

Actions

Likes
4
Downloads
3
Comments
0

2 Embeds 6

http://www.slideee.com 4
https://twitter.com 2

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Amazon Glacier の落とし穴 Amazon Glacier の落とし穴 Presentation Transcript

    • Amazon Glacier の落とし穴 株式会社HDE 岩立 将和 (IWATATE, Masakazu) 2014-04-25 アカリク&HDE 合同勉強会
    • Amazon Glacier ● 安価なストレージ ○ S3: ¥3.30/GB/月 ○ Glacier: ¥1.14/GB/月 ● ただし、取り出しには3〜5時間かかる 取り出し時間を許容できるのであれば、 めったに取り出さないデータを 安価で保存できる ※ $1==¥100 (税別)
    • 直接使用 or S3の一部として使用 Amazon S3 S3 Bucket Standard Storage Reduced Redundancy Storage Glacier Storage Object (ファイル) Amazon Glacier Glacier Vault Glacier Archive
    • S3のストレージクラス比較 Standard Storage Reduced Redundancy Storage (RRS) Glacier Storage GET 即時可能 即時可能 3〜5時間待ち(目安) ストレージ料金 〜¥3.30/GB/月 〜¥2.64/GB/月 〜¥1.14/GB/月 耐久性(ファイルの 平均年間予測喪失 率) 99.999999999% (1000億ファイル あたり1件) 99.99% (1万ファイルあたり 1件) 99.999999999% (1000億ファイルあたり1 件)
    • Glacier StorageからのGET Standard Storage (GET可能) Reduced Redundancy Storage (GET可能) Glacier Storage ファイル S3 Bucketに 移動ルールを指定し ておくと、自動的に移 動される GETしたくなったら、 復元操作を行う 一定期間、コピーが RRSに置かれる3〜5時間 数日(期間を指定する) 1日程度 PUT GET
    • 落とし穴
    • S3のリクエスト料金表(東京)
    • ● 例: 100GBのファイルを1個復元した ○ 100GB / 4時間 = 25GB/時 ○ 復元料金は毎月のピーク復元レートに基づいて計算 ■ 25GB/時 * 24時間 * 30日 * ¥1.14 = ¥20,520/月 GB/時 0 25 4/1 00:00 4/30 23:59 100GB Glacier データ復元料金 18,000GB 0 25 0 25 ¥20,520 ¥20,520 ¥20,520
    • 身に覚えのない請求書 「$181で最大15TB復元できる」という意味。 「あなたは15TB復元しました」という意味ではない。 (実際は90GB程度しか復元していない。)
    • GB/時 0 30,720 4/1 00:00 4/30 23:59 120TB 21PB 0 30,720 0 30,720 2,521万円 5,127万円 2,521万円 120TBを(まちがって) 復元してしまうと... 月額なので... 4月 5月 2,521万円 (30日分) 2,606万円 (31日分)
    • 「無料で復元できるのは、1 か月当たり、お客様の月平均 Glacier 保管量の 5% まで(1 日ごとに案分)です。」 ● 120TB * 5% = 6144GB ● 6144 / 30日 = 205GB (0.17%) GB/時 4/1 00:00 4/30 23:59 6144GB 0 8.5 無料 122万円 (1,485GB/時 相当) 4/5 10:00 13:59 205GB 0 51 無料 4/5 00:00 04:00 23:59 200GB 0 50 ¥34,063 (41.5GB/時 相当) 5GB 8.5 4/5 10:00 13:59 6144 GB 0 1,536 51
    • ファイルサイズに注意 大きすぎると復元料金が高額になる  例) 5TBのファイル1個 (1.25TB/時): 105万円 細かすぎる(ファイル数が多い)とリクエスト料金が 高額になる  例) 1億個のファイルをPUT ● Standard Storage: ¥47,000 ● Glacier Storage: ¥571,000
    • まとめ: Glacierの利用は計画的に ● 料金体系の詳細を把握した上で利用する ● 復元リクエスト状況を一括管理する ● 計画的に使えば安価 ○ ストレージ料金: たとえば120TBの場合 ■ Standard Storage: 40万円/月 ■ Glacier Storage: 14万円/月 ○ 復元料金: たとえば「25GB/時 (最大18TB/月) の復元枠 を¥20,520で買う」と考える
    • 参考資料 / 料金計算機 http://aws.amazon. com/s3/faqs/#How_will_I_be_charged_when_restoring_lar ge_amounts_of_data_from_Amazon_Glacier Example 1: Archiving 75TB of data to Amazon Glacier and restoring 140GB in 4 hours. First we calculate your peak restore rate. Your peak hourly restore rate each month is equal to the greatest amount of data you restore in any hour over the course of the month. If you initiate several restores in the same hour, these are added together to determine your hourly restore rate. We always assume that a restore request completes in 4 hours for the purpose of calculating your peak restore rate. In this case your peak rate is 140GB/4 hours, which equals 35 GB per hour. Unofficial Amazon AWS Glacier Calculator  http://liangzan.net/aws-glacier-calculator/