SlideShare a Scribd company logo
1 of 83
Download to read offline
AWSマイスターシリーズ
                                       Reloaded

                                 リザーブドインスタンス&
                                 スポットインスタンス編


                                                         2013.03.28
                                                      安川 健太    高山 博史



© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Agenda

         はじめに
            • AWSの割引の仕組み
            • 時間課金系サービスのご利用オプション
         オンデマンドインスタンス
         リザーブドインスタンス
         スポットインスタンス
         まとめ

2
    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
AWSは、値引きはないの?
                  うちだけ値引きしてくれない?



          AWSは、どんなお客様にもフェアな
          単一料金です(個人利用から大企業まで)


           でもAWSをもっとお安くご利用い
           ただけるかもしれません


3
    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
前提として…


                AWSでのコスト削減


4
    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
AWSでのコスト削減って?
    効果大                                         よりクラウドネイティブな設計
                                              ・EC2以外のAWSサービス積極的に活用
                                              ・インスタンスタイプの最適化
                                              ・スタンバイ機の見直し      運用コスト削減も


                                                割引の活用
                                              ・リザーブド・インスタンス
                                              ・スポット・インスタンス
                                              ・Cloudfrontの予約容量等々…


                                                その他のリソースの無駄チェック
    効果小                                       ・EBS, Snapshot, EIP等々…

5
    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
AWSでのコスト削減って?
    効果大                                         よりクラウドネイティブな設計
                                              ・EC2以外を積極的に活用
                                              ・インスタンスタイプの最適化
                                               既存オンプレミス構成を
                                              ・スタンバイ機の見直し
                  そのままAWSで再現している場合などは、
                    「構成の見直し」もご検討ください
                      割引の活用
                          ・リザーブド・インスタンス
                     (AWSのSales/SAにご相談ください)
                          ・スポット・インスタンス
                   [お問い合わせフォーム] http://aws.amazon.com/jp/contact-us/aws-sales/
                          ・Cloudfrontの予約容量


                                                その他のリソースの無駄チェック
    効果小                                       ・EBS, Snapshot, EIP等々…

6
    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
前提を踏まえた上で…


                AWSの割引の仕組み


7
    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
AWSの割引の仕組み①

         EC2・RDS・Elasticache等(時間課金サービス)
         での利用オプションによる割引[本資料で説明]
           ①リザーブド・インスタンス
           ②スポット・インスタンス

         ご利用が増えると自動的に単価が安くなるもの
         →データ転送量(50TB/月以上)や
          S3ストレージ料金(50TB/月以上)など



8
    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
AWSの割引の仕組み②

         Cloudfrontの予約容量
         →リージョンごとに10TB/月から
           10TB以上配信される場合は、ご相談ください

         随時行われる価格改定
         →規模の経済・運用効率化による
          サービス開始から20回以上の値下げ実績あり



9
    © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
ご参考:2013年2月にも

          EC2オンデマンド料金値下げ!
          リージョン間データ転送料の値下げ!




10
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
インスタンスの時間単価の削減は効果的

          月々のAWSご利用料金の中で、EC2やRDSなど
          の時間課金サービスが占める割合が大きいことが
          多い!

                                                                                                                                         コスト削減に
                                                                                                  EC2                                     効果的!
                                                                                                  RDS
                                                                                                  データ転送量
                                                                                                  その他


     データ転送料金の割合が多い場合は、Cloudfrontの予約容量もご検討ください

11
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
用途に合わせて選べる
                                        AWSのご利用オプション
          オンデマンド・インスタンス(通常はこちら)
             • 初期費用ゼロ・コミットなし・時間課金

          リザーブド・インスタンス(オプション)
             • 予約金の支払で時間単価の割引・キャパシティの予約
                       • 年間を通して大幅な費用削減が可能

          スポット・インスタンス(オプション)
             • 初期費用ゼロ
             • スポット価格(需要と供給によりリアルタイムに変動)で課金
             • 最大で払ってもいい額を決定して「入札」
                       • 「入札額 >= スポット価格」 インスタンスが利用可
                       • 「入札額<スポット価格」インスタンスがターミネート

12
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
オンデマンド以外オプションの用途

          リザーブド・インスタンス
             • 年間通して多くの時間起動しているインスタンス
                       • 常時稼動のDBサーバ
                       • 最低限必要なWeb/APサーバ等


          スポット・インスタンス
             • 時間の制約がなく、中断しても支障のないタスク
               を実行するインスタンス
                       • Webクローラ
                       • 分散処理のタスクノード等

     システム内に上記のようなインスタンスがあればコスト削減の可能性

13
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
まずは基本の


                 オンデマンド・インスタンス


14
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
オンデマンド・インスタンス

          オンデマンド・インスタンス(通常はこちら)
             • 初期費用ゼロ
             • 時間課金
             • 長期コミットメントなし




15
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
オンデマンド・インスタンス

                       積算料金                                                                                                          オンデマンド
                                                                                                                                     インスタンス




     初期費用0                                                                                                                                                 期間



16
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス


17
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス
                                                                                                                                                              オンデマンド
                   積算料金
                                                                                                                                                              インスタンス



                                                                                                                                        長期間ご利用の場合、
                                                                                                                                          大幅にお安く


                                                                                                                                                               リザーブド
                                                                                                                                                              インスタンス



  予約金
(キャパシティ予約、
 時間単価割引確定)                                                                                                                                                                        期間
                                                                                                                                                 1年/3年


 18
      © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス
                                        よくある勘違い
          リザーブド・インスタンスは、1年/3年の利用料前
          払いである

          リザーブド・インスタンスを購入したら、1年/3年
          の”縛り”がある(必ず使用しないといけない)

          インスタンスタイプを変更すると、割引が適用され
          ない

          エンタープライズ向けであり、スタートアップには
          適さない
19
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス
                                        よくある勘違い

×         リザーブド・インスタンスは、1年/3年の利用料前
          払いである


×         リザーブド・インスタンスを購入したら、1年/3年
          の”縛り”がある(必ず使用しないといけない)


△         インスタンスタイプを変更すると、割引が適用され
          ない


×         エンタープライズ向けであり、スタートアップには
          適さない
20
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス

       リザーブド・インスタンス(以下、RI)
          • 予約金お支払いによる、1年間/3年間の時間課金の割引
            →一時金のお支払で、時間単価が安くなる仕組み

          • 月額費用は割引単価での時間課金
                  *後述の「重度使用」のみ、RI期間中は起動時間にかかわらず、
                   毎月100%起動したものとして月額課金


          • 該当キャパシティを予約




21
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス
                                        よくある勘違い

×         リザーブド・インスタンスは、1年/3年の利用料前
          払いである

          リザーブド・インスタンスを購入したら、1年/3年
          の”縛り”がある(必ず使用しないといけない)

          インスタンスタイプを変更すると、割引が適用され
          ない

          エンタープライズ向けであり、スタートアップには
          適さない
22
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンスのポイント

          必ずしも1年間使用し続ける必要はない
             • ただし使用しない場合でも初期費用の返金はなし
                 *後述の「重度使用」のみ、リザーブ期間中は起動時間にかかわらず、
                  毎月100%起動したものとして月額課金
                                                                                                                                 オンデマンド
                  積算料金                                                                                                           インスタンス




                                                                                                              途中で使用を止めたり、
                                                                                                              24時間起動しなくても
                                                                                                                 お得な場合も
                                                                  リザーブド                                           *RIタイプ(後述)により異なる
                                                                  インスタンス
     予約金
                                                                                                                                                      期間
                                                                                 例:6か月分
23
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス
                                        よくある勘違い
          リザーブド・インスタンスは、1年/3年の利用料前
          払いである


×         リザーブド・インスタンスを購入したら、1年/3年
          の”縛り”がある(必ず使用しないといけない)

          インスタンスタイプを変更すると、割引が適用され
          ない

          エンタープライズ向けであり、スタートアップには
          適さない
24
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンスのポイント 2

          該当AWSアカウント用に、キャパシティを予約
             • 条件に合致するインスタンスを予約することで、
               予約した数のインスタンスは、
               必要になったときにいつでも起動できるという安心感




              AWSは随時リソースを追加し続けています!



25
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス(RI)のタイプ
      RIタイプは「初期費用/時間単価」の組み合わせで3種類
         初期費用                   時間課金
          少ない                   割引小さい

                                                         [梅]Light Utilization(軽度使用)
                                                         [竹]Medium Utilization(中度使用)
                                                         [松]Heavy Utilization(重度使用)
         初期費用                  時間課金
          多い                   割引大きい
     *ただし重度使用のみ、RI期間中は起動時間にかかわらず、
      毎月100%起動したものとして課金(月初に24時間×日数分を月額費用に計上)

                            ご利用用途に合わせたタイプの選択が必要

26
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス(RI)のタイプ

          サービスごとの価格はこちら
             EC2(リザーブド・インスタンス)
             http://aws.amazon.com/jp/ec2/reserved-instances/


             RDS(リザーブド・インスタンス)
             http://aws.amazon.com/jp/rds/reserved-instances/


             ElastiCache(リザーブド・キャッシュノード)
             http://aws.amazon.com/jp/elasticache/reserved-cache-nodes/




27
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
EC2のRIタイプ別比較(1年):
                                 削減効果
   各タイプのスイートスポットと削減効果(目安)
                                              年間100%利用した                                                              年間利用率の
                                               場合の削減効果                                                               スイートスポット
                                            (対オンデマンドインスタンス)                                                 (何%利用の場合一番お得か?)

         Light
        (軽度使用)
                                                                32%                                                     21%~74%

        Medium
       (中度使用)
                                                                39%                                                    74%~77%

        Heavy
       (重度使用)
                                                                46%                                                             77%~

   *Tokyoリージョンでスタンダードインスタンス(Linux)利用の場合で算出
28             (インスタンスタイプにより異なる) 2013年3月現在
  © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
EC2のRIタイプ別比較(1年):
                              スイートスポット
   各タイプのスイートスポットと削減効果(目安)
                                              年間100%利用した                                                              年間利用率の
                                               場合の削減効果                                                               スイートスポット
                                            (対オンデマンドインスタンス)                                                 (何%利用の場合一番お得か?)

         Light
        (軽度使用)
                                                                32%                                                     21%~74%

        Medium
       (中度使用)
                                                                39%                                                    74%~77%

        Heavy
       (重度使用)
                                                                46%                                                             77%~

   *Tokyoリージョンでスタンダードインスタンス(Linux)利用の場合で算出
29             (インスタンスタイプにより異なる) 2013年3月現在
  © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スイートスポットとは?
   先ほどの表を図示したのが下記のグラフ(イメージ)

            積算料金                                                                                                                                        オンデマンド




                                                                                                                                                        ライト
                                                                                                                                                        ミディアム
                                                                                                                                                        ヘビー
                                                                                                     Mediumが
                                                                                                       お得

                                                                      Lightが                                                Heavyが
                                                                        お得                                                    お得

                     0%                         21%                                              74%77%                                  100%
                                                                                                                                                              期間

   *Tokyoリージョンでスタンダードインスタンス(Linux)利用の場合で算出
30             (インスタンスタイプにより異なる) 2013年3月現在
  © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
EC2のRIタイプ別比較(3年)

   各タイプのスイートスポットと削減効果(目安)
                                            3年間100%利用した                                                               3年間利用率の
                                              場合の削減効果                                                                スイートスポット
                                            (対オンデマンドインスタンス)                                                 (何%利用の場合一番お得か?)

         Light
        (軽度使用)
                                                                48%                                                      9%~50%

        Medium
       (中度使用)
                                                                57%                                                    50%~74%

        Heavy
       (重度使用)
                                                                64%                                                             74%~

   *Tokyoリージョンでスタンダードインスタンス(Linux)利用の場合で算出
31             (インスタンスタイプにより異なる) 2013年3月現在
  © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
EC2のRI割引適用条件

          購入時に以下の条件を指定
             ①プラットフォーム「非VPC/VPC」や「OS(ライセンス料込か?)」
             ②インスタンスタイプ「Small, Large」など
             ③アベイラビリティーゾーン(AZ)「ap-northeast-1a」など
             ④期間「1年または3年」
             ⑤タイプ(重度・中度・軽度)
             ⑥VPCの場合のみ「占有インスタンスか否か?」

          ④の期間中に①②③⑥の条件が合致すると、
          割引料金が適用される



32
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
EC2のRI割引適用条件

          購入時に以下の条件を指定
             ①プラットフォーム「非VPC/VPC」や「OS(ライセンス料込か?)」
             ②インスタンスタイプ「Small, Large」など
             ③アベイラビリティーゾーン(AZ)「ap-northeast-1a」など
                 インスタンスタイプとAZ指定により
             ④期間「1年または3年」
              AWS側のDCプランニングがしやすくなる
             ⑤タイプ(重度・中度・軽度)*後述します
             ⑥VPCの場合のみ「占有インスタンスか否か?」
                                                   →割引によるお客様還元
          ④の期間中に①②③⑥の条件が合致すると、
          割引料金が適用される



33
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
EC2のRI適用例

          割引の権利は“AWSアカウント単位”で管理
             • インスタンスIDとの紐づけは無し



          料金計算イメージ:
          ・RI権利 :Small*1インスタンス分
          ・稼働中 :Small*3インスタンス

                                                                                                                   Small割引料金×1
                                                                                                                   Small通常料金×2
                                                                                                              *適用にはインスタンスタイプ以外の
                                                                                                                各条件も合致していること


34
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
1インスタンスをスケールアップした場合

          料金計算イメージ:
          ・RI権利 :Small*1インスタンス分                                                                                                          Small割引料金×1
          ・稼働中 :Small*3インスタンス                                                                                                            Small通常料金×2




          ・RI権利 :Small*1インスタンス分                                                                                                          Small割引料金×1
          ・稼働中 :Small*2インスタンス                                                                                                            Small通常料金×1
                                                                                                                                         Large通常料金×1
                :Large*1インスタンス
                                                                                                              *適用にはインスタンスタイプ以外の
                                                                                                                各条件も合致していること


35
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス
                                        よくある勘違い
          リザーブド・インスタンスは、1年/3年の利用料前
          払いである

          リザーブド・インスタンスを購入したら、1年/3年
          の”縛り”がある(必ず使用しないといけない)


△         インスタンスタイプを変更すると、割引が適用され
          ない

          エンタープライズ向けであり、スタートアップには
          適さない
36
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
RIの使いどころ(例)①

          常に起動しているDBやキャッシュサーバなど
          →今後スケールアップの可能性がある場合は、
           LightタイプやMediumタイプがオススメ




37
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
RIの使いどころ(例)②

          常に起動している分のWeb/Appサーバ
          →スケールアウトする分はオンデマンドで




                                   RI                                                                                     RI                             オンデマンド


                               平常時                                                                                                      ピーク時


38
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
RIの導入フロー

          まずはオンデマンドタイプの利用で「インスタン
          スタイプ」の検討と「利用率」を算出

          以下のようなインスタンスについてRIを購入
             • 定常的に同一インスタンスタイプで起動しているサーバ
             • 一定の利用率がありそうなサーバ (Lightタイプなどを)


             →権利の購入なので、無停止でRIに切り替え可

                                                              ご利用は計画的に!


39
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス
                                        よくある勘違い
          リザーブド・インスタンスは、1年/3年の利用料前
          払いである

          リザーブド・インスタンスを購入したら、1年/3年
          の”縛り”がある(必ず使用しないといけない)

          インスタンスタイプを変更すると、割引が適用され
          ない


×         エンタープライズ向けであり、スタートアップには
          適さない
40
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
ご参考:Trusted Advisor

     お客様のAWS環境を精査し、コスト削
     減等の推奨事項をお知らせする機能

     サポートレベルが「ビジネス」または
     「エンタープライズ」の場合に、サ
     ポートセンター経由でアクセス可能

     RI, EC2インスタンス、EBS等100
     個を超えるチェック項目を持つ

     多くのお客様にAWSのサービスを適用
     してきたベストプラクティスが適用さ
     れている


41
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
ご参考:AWSサポート
             日本語での技術サポートをご提供
                                       ベーシック                              デベロッパー                                      ビジネス                               エンタープライズ
フォーラム                                    利用可能                                利用可能                                     利用可能                                      利用可能
                                     EC2の                                                                       電話、チャット                                    電話、チャット
サポートへの                                                                     コンタクト
                                   健全性エラーが                                                                       コンタクト                                      コンタクト
コンタクト                                                                       フォーム
                                    発生した場合                                                                        フォーム                                       フォーム
                                                                          12時間
初回応答時間                                       不可                                                                          1時間                                      15分
                                                                        (営業時間内)
連絡先登録                                           -                                   1                                        5                                    無制限
24/365対応                                     なし                                  なし                                       あり                                        あり
Trusted Advisor                              なし                                  なし                                       あり                                        あり
専任スタッフ                                       なし                                  なし                                       なし                                        あり
特別サポート                                       なし                                  なし                                       なし                                        あり
                                                                                                           AWS利用総額の
                                                                                                           $0~$10K: 10%
                                                                                                           $10K~$80K: 7%                                AWS利用総額の10%
料金(月額)                                       無料                                  $49                       $80K~$250K: 5%                                (最低$15000)
                                                                                                           $250K~: 3%
                                                                                                           (最低$100)



42
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
リザーブド・インスタンス
                                        よくある勘違い

×         リザーブド・インスタンスは、1年/3年の利用料前
          払いである


×         リザーブド・インスタンスを購入したら、1年/3年
          の”縛り”がある(必ず使用しないといけない)


△         インスタンスタイプを変更すると、割引が適用され
          ない


×         エンタープライズ向けであり、スタートアップには
          適さない
43
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
RIの購入方法

          AWS Management Consoleにて購入

          デフォルトでは月間20インスタンスまで購入可能
      [制限増加申請フォーム] http://aws.amazon.com/jp/contact-us/reserved-instances-limit-request/




44
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
RIの購入方法

          Purchase Reserved Instancesを選択




45
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
RIの購入方法

          条件を選択して検索




46
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
RIの購入方法

          条件に合うRIをカートに追加し購入




                                                            Sellerが「AWS」のものが、AWSが販売しているRIです。




                                                   Sellerが「3 rd Party」のものは、AWS以外が販売しているRIです。



47
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
RI権利を売買できるようになりました

          RI Marketplace
          →使わなくなったRIの権利を売買できる!

          ただし売却には米国の銀行口座が必要




48
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
RIの購入時のご注意

          クレジットカードの限度額にご注意ください

          月々のご利用とは、別タイミングで決済されます
          (月々のご利用分とは合算されません)


      [お問い合わせフォーム] http://aws.amazon.com/jp/contact-us/aws-sales/




49
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
【補足】EC2(非VPC)とVPCとの関係

          非VPCでRIを購入して、VPCでインスタンスを
          起動した場合…

     ・非VPC/VPC間でもインスタンスタイプ・AZ等の
      他条件が一致すれば、割引料金は適用される

     ・ただしこの場合キャパシティ保証は適用されない
      (RI購入時の非VPC/VPC側でのキャパシティ保証)




50
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
参考:Consolidated Billing(一括決済)とRI

          一括決済とは?
        →AWSの費用請求をまとめられるサービス
         複数アカウントの費用を、1つにまとめて支払える
         アカウント間でRIの融通が可能




                                                                                                                  使われていない
                                                                                                                  リザーブドインスタンス

                                                                                                        条件が合えば
                                                                                                    こちらのアカウントに割引適用



                          参考:AWSマイスターシリーズ Reloaded AWS Billing編
51                               http://slidesha.re/Q7tAMf
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポット・インスタンス


52
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポットインスタンスとは?
           需要と供給の関係に基づいてリアルタイムで変動する
           「スポット価格」が割当てられたインスタンス

                                                 55%                                                                                     59%
                                                  off                                                                                     off


                                                                                                                         40%
                                                                                                                          off


                               59%
                                off
                                             Availability Zone                                                      Availability Zone
                                                                                    AWS Cloud




53
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポットインスタンスとは?
           需要と供給の関係に基づいてリアルタイムで変動する
           「スポット価格」が割当てられたインスタンス

                                                 55%                                                                                     59%
                                                  off                                                                                     off
          • オンデマンドインスタンスや
            リザーブドインスタンスの価格モデルを補完
                          40%
                           off


          • 時間の制約がなく、中断可能なタスクの
              59%
               off
            計算コストを大幅に削減                      Availability Zone                                                      Availability Zone
                                                                                    AWS Cloud




54
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポット価格と入札
         スポット価格:EC2インスタンスの需要と供給によりリアルタイムに価格が変動
         入札によるインスタンス利用
          • 「入札額 >= スポット価格」なら指定したインスタンスが起動
          • 「入札額 < スポット価格」となるとインスタンスがターミネートされる


                                         $9で入札                                                                    $9で入札
                          ユーザA                                                                     ユーザA


                                         $8で入札                                                                    $8で入札
                          ユーザB                                                                     ユーザB



                                         $7で入札                                                                   $10で入札
                          ユーザC                                                                     ユーザC


                           スポット価格=$7.5                                                                   スポット価格=$8.5


55
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポットリクエストとインスタンス
           スポットリクエスト:入札条件を指定したインスタンス起動要求
            • 最大で払っても良い金額
            • インスタンスタイプ、など
           インスタンスの起動と終了
            • 起動のタイミング:
               • スポットリクエストの条件が満たされた時点
                 (オンデマンドやリザーブドはリクエスト後すぐ)
            • 終了のタイミング:
               • ユーザが終了命令を出した時点
               • スポット価格がスポットリクエストで指定した価格を上回った時点
           課金について
             •      インスタンス起動時から1時間毎にスポット価格にて課金
             •      インスタンスが強制終了された場合、1時間未満の時間に対しては課金されない



56
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポットリクエストと課金                                                                                                                                   スポット価格
                                                                                                                                                             入札額
                                                                                                                                                             課金額
             単価                                                        入札額<スポット価格
                          入札額>スポット価格
                            となったので                                       となったので   入札額 > スポット価格
                           インスタンス起動                                     インスタンス終了    となったので
                                                                                   インスタンス起動




                                                                            <1h



                                                                                                                                                                            時間
                                          1h               1h                 1h
                                                                                                  強制終了時の
         スポットリクエスト投入                                                                              1時間未満の
57                                                                                               利用分は非課金
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
代表的なユースケース

                           複雑な解析や
                                                                                                                                        ビックデータ解析
                           シミュレーション



金融モデリング                                                                                                                                                               地理空間
や経済分析                                                                                                                                                                 情報の解析
                                                                        時間の制約がなく、
                                                                       中断しても支障のない
                                                                        タスクを省コストで
メディア
プロセッシング                                                                                                                                                                 科学演算




                                  開発や検証                                                                                                Webクローリング
58
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
顧客事例




                                                                        時間の制約がなく、
                                                                       中断しても支障のない
                                                                        タスクを省コストで




59
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
顧客事例(抜粋)
ビックデータ解析

                                                  300万/日の”チェックイン”のデータを解析するためにElastic
                                                  Map Reduceを使用する中で、スポットインスタンスを活用


            毎日たまるインターネットサービスのログを解析する中でスポッ
メディアプロセッシング トインスタンスを活用し、50%のコスト削減を実現


                                                  広告メール等、画像を多用したEメールが各種クライアントでど
                                                  う表示されるか解析するサービスでスポットインスタンスを活用
                                                  し、57%のコスト削減を実現
Webクローリング

                                               オンライン上のやり取りを観測して企業のイメージ調査を助ける
                                               サービスにてスポットインスタンスを活用し、66%のコスト削減

60
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
大規模Webサイトでの活用事例

                   Webサーバのインスタンス利用状況                                                                              Auto Scale採用によるランニングコスト




                                                                                                         用途に合わせた価格モデル採用によるコスト削減

                         Auto Scale採用によるインスタンス数の効率化




61
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
アンチパターン

          停止が許されないインスタンスでの利用
             • DB、ファイルサーバ等
          遅延が許されないタスクでの利用
             • スポットリクエストは満たされるとは限らない
          止まってはいけないサービスを少数のインスタンスで実
          行している場合
             • 数台のインスタンスで運用される小さめのWebサイト等
             • インスタンス終了時のキャパシティへの影響が大きい




62
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポット・インスタンスの利用方法
                       ~AWSコンソールから




63
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポット・インスタンスの利用方法
                       ~AWSコンソールから
          Request Spot Instancesにてリクエストを作
          成


                                                                                                                             価格の履歴も確認できる




64
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポット・インスタンスの利用方法
                              ~AWSコンソールから
       AMI選択後、各種パラメータを設定してスポットリクエス
       トを作成



                         現在の                                                                                                                   リクエストの有効期
                        スポット価格                                                                                                                 間を指定 (任意)


     入札額                                                                                                                                                  インスタンスが
                                                                                                                                                      Terminateされた後に再
                                                                                                                                                          入札するか否か


ローンチグループを設定(任意)                                                                                                               AZグループを設定(任意)

ローンチグループを指定されたイ                                                                                                               AZグループを指定されたインスタン
ンスタンスは、同一グループ内の                                                                                                               スは単一のAZでグループ内の全ス
全スポットリクエストが満たされ                                                                                                               ポットリクエストが満たされる場合
た時にのみ起動する。クラスタの                                                                                                               にのみ起動する
構成等で有用
                                                               ※AZグループ、ローンチグループ等を指定すると無指定に
65                                                             比べてリクエストが満たされる可能性は下がる
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポット・インスタンスの利用方法
                       ~AWSコンソールから
     Pricing Historyの確認
                                                    インスタンスタ
                                                     イプを選択
        OSタイプ
         を選択




66
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポット
  リクエストの
 ライフサイクル


開発者向けドキュメントより

http://docs.aws.amazon.c
om/AWSEC2/latest/UserG
uide/using-spot-instances-
bid-status.html




67
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポットリクエストの状態確認




68
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポット・インスタンスの利用方法
                              ~コマンドラインから

     Task                                                                            CLI
     スポット価格の履歴を取得                                                                    ec2-describe-spot-price-history
     スポットリクエストの一覧を取得                                                                 ec2-describe-spot-instance-requests
     スポットインスタンスの入札をリクエスト                                                             ec2-request-spot-instances
     スポットインスタンスの入札をキャンセル                                                             ec2-cancel-spot-instance-requests
                                PROMPT> ec2-request-spot-instances
                                --price price
                                --user-data data
                                --instance-count count
                                --type one-time | persistent
                                [--valid-from timestamp]
                                [--valid-until timestamp]
                                [--launch-group launchgroup]


69
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
スポット・インスタンスの利用方法
                            ~各種プログラミング言語から
     Task                                                                          API
     スポット価格の履歴を取得                                                                  DescribeSpotPriceHistory
     スポットリクエストの一覧を取得                                                               DescribeSpotInstanceRequests
     スポットインスタンスの入札をリクエスト                                                           RequestSpotInstances
     スポットインスタンスの入札をキャンセル                                                           CancelSpotInstanceRequests

                                             // AmazonEC2Client オブジェクトを作成
         Javaの例:                             AmazonEC2 ec2 = new AmazonEC2Client();

                                             // スポットリクエストを初期化
                                             RequestSpotInstancesRequest requestRequest
                                                  = new RequestSpotInstancesRequest();

                                             // 入札額を$0.03に設定
                                             requestRequest.setSpotPrice("0.03");

                                                   … 中略 ….
                                             // RequestSpotInstance APIを呼ぶ
                                             RequestSpotInstancesResult requestResult
70                                                 = ec2.requestSpotInstances(requestRequest);
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Autoscalingにスポットインスタンス
          Autoscaling = 負荷に合わせて動的にインスタンスを水
          平スケールさせるAWSの機能
          Autoscalingのローンチコンフィグを作成時に”—spot-
          price”オプションを設定
      > as-create-launch-config spotlc-5cents --image-id ami-XXXXXX
      --instance-type m1.small --spot-price "0.05"


                                                                                                     インスタンスがTerminateされても
                                                                                                     Desired Capacityを満たすよう継続的
                                                                                                     に入札が行われる

                                                                                                     スポット価格が入札額を上回っている場
                                                                                                     合はDesired Capacityを満たせない

                                                                                   Scale Outパターン
                                                                                   http://aws.clouddesignpattern.org

71           Autoscalingに関するマイスターWebinarのリンク: http://slidesha.re/KrooPC
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Elastic MapReduce (EMR)に
                               スポットインスタンス
          EMR = AWS上のマネージドHadoopサービス
          利用シナリオ: ジョブのランニングコストを抑えたい
            • オンデマンドのm2.xlarge 4ノードで開始
            • 処理の高速化のためスポットインスタンスで5ノード追加
                                                                                                                    スポットなしのコスト
                                                                            Job Flow                                4 instances *14 hrs * $0.50 = $28
                      Job Flow
                                                  Spot                                                              スポットありのコスト
4ノードで
                                                 5ノード                                                               4 instances *7 hrs * $0.50 = $13 +
  起動
                                                  追加                                                                5 instances * 7 hrs * $0.25 = $8.75
                                                                                                                    Total = $21.75

                       残り時間                                                                                         時間の削減効果: 50%
                                                                               残り時間
                        14時間
                                                                                 7時間                                コスト削減効果: ~22%


        EMRに関するマイスターWebinarのリンク: http://slidesha.re/LT7Ba2
72
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
EMR+Spotの使いどころ
     ユースケース    Master                                                                        Core Instance                                 Task Instance
               Instance                                                                      Group                                         Group
               Group
     長時間稼働のジョブ オンデマンド                                                                        オンデマンド                                        Spot
     フローの高速化
     低コストで実行した                                 Spot                                          Spot                                          Spot
     いジョブ
     クリティカルデータを オンデマンド                                                                       オンデマンド                                        Spot
     扱うジョブ
     アプリケーションの                                 Spot                                          Spot                                          Spot
     テスト

     コストを抑えつつ、利用目的にあわせて柔軟に変更可能


73
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
入札戦略
                                                                                                                                      課金額増大リスク  小
                                                                                                                                      インスタンス終了リスク  大
     1. コスト最小型
          •         最低価格で入札
          •         インスタンス停止にはアーキテクチャで対応
     2. 価格履歴順応型
          •         直近の価格を観測してそれより少し高い額で入札
          •         オンデマンド価格より低く設定した閾値以上は入札しない
     3. オンデマンドに比べて節約型
          •         オンデマンドの価格付近に入札
          •         オンデマンドより高くなったらオンデマンドに切り替え
     4. 割り込みリスク最小型
          •         オンデマンドよりも高く入札                                                                                                     課金額増大リスク  大
                                                                                                                                      インスタンス終了リスク  小

74
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
入札戦略:コスト最小型
             最低価格で入札
             アプリケーション側の工夫でインスタンス停止に対応
            •         例:ジョブ管理をインスタンス外のキューやDBにて行い、新
                      たに起動したインスタンスがジョブを引き継ぐ、など
           処理時間よりもコストを重視する場合に

                                                                                                                                     1時間毎の課金スロッ
                                                                                                                                     トのうち、Terminateさ
                                                                                                                                     れたスロットは課金さ
                                                                                                                                         れない




                                                                                                                 再開後にジョブ
                                                                                                                   を継続
75
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
入札戦略:価格履歴順応型

             直近の価格を観測してそれより少し高い額で入札
             オンデマンド価格より低く設定した閾値以上は入札し
             ない
                                 オンデマンドの
             SDKやCLIを利用した自動化で実現  価格より低く設
                                                                                                                                                         定した閾値



                                                                                                                                                            Vimeoはこの戦
                                                                                                                                                            略で月によって
                                                                                                             価格履歴から決
                                                                                                                                                            は50%のコスト
                                                                                                             定する入札額
                                                                                                                                                            節減を実現
                                                                                                                                                            (参考資料)


76
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
入札戦略:オンデマンドに比べて節約型

             オンデマンドの価格付近に入札
             オンデマンドより高くなったらオンデマンドに切り替
             え
            •         システムのキャパシティを維持しつつコストを節約
                                           オンデマンド価
                                                                                                                                         格。ここを超えたら
                                                                                                                                         オンデマンドで起
                                                                                                                                             動


                                                                                                                                      緑で示した部分が
                                                                                                                                      オンデマンドに比べ
                                                                                                                                       た節約分に相当



77
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
入札戦略:割り込みリスク最小型
              オンデマンドよりも高く入札
               • 課金額がオンデマンドを超えるリスクを取りつつ
                  • 平均的にはコストを節約
                  • インスタンスは高い確率で継続稼働

                                                                                                    一時的にオンデ
                                                                                                    マンドを超える
                                                                                                      課金も                                              Litmusはこの戦
                                                                                                                                                       略で57%のコスト
                                                                                                                                                       節減を実現
                                                                                                                 平均的には
                                                                                                                 大きくコスト
                                                                                                                 を節約




78
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
まとめ


79
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
用途に合わせて選べる
                                        AWSのご利用オプション
          オンデマンド・インスタンス(通常はこちら)
             • 初期費用ゼロ・コミットなし・時間課金

          リザーブド・インスタンス(オプション)
             • 予約金の支払で時間単価の割引・キャパシティの予約
                       • 年間を通して大幅な費用削減が可能

          スポット・インスタンス(オプション)
             • 初期費用ゼロ
             • スポット価格(需要と供給によりリアルタイムに変動)で課金
             • 最大で払ってもいい額を決定して「入札」
                       • 「入札額 >= スポット価格」 インスタンスが利用可
                       • 「入札額<スポット価格」インスタンスがターミネート

80
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
オンデマンド以外オプションの用途

          リザーブド・インスタンス
             • 年間通して多くの時間起動しているインスタンス
                       • 常時稼動のDBサーバ
                       • 最低限必要なWeb/APサーバ等


          スポット・インスタンス
             • 時間の制約がなく、中断しても支障のないタスク
               を実行するインスタンス
                       • Webクローラ
                       • 分散処理のタスクノード等

                  用途に合わせたオプションの利用でコストの最適化を!

81
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Appendix

          参考資料
             • サービス別リザーブドインスタンス価格表
                       • EC2
                                 – http://aws.amazon.com/jp/ec2/reserved-instances/
                       • RDS
                                 – http://aws.amazon.com/jp/rds/reserved-instances/
                       • ElastiCache
                                 – http://aws.amazon.com/jp/elasticache/reserved-cache-
                                   nodes/
             • スポットインスタンス最低価格表
                       • http://aws.amazon.com/jp/ec2/spot-instances/
             • AWSマイスターシリーズ Reloaded AWS Billing編
                       • http://www.slideshare.net/AmazonWebServicesJapan/
                         awsaws-billing


82
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
83
     © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

More Related Content

What's hot

AWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
AWS Black Belt Online Seminar 2017 AWS Elastic BeanstalkAWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
AWS Black Belt Online Seminar 2017 AWS Elastic BeanstalkAmazon Web Services Japan
 
AWS CURのデータを安く楽に可視化して共有したい
AWS CURのデータを安く楽に可視化して共有したいAWS CURのデータを安く楽に可視化して共有したい
AWS CURのデータを安く楽に可視化して共有したいTakayuki Ishikawa
 
週末趣味のAWS Transit Gatewayでの経路制御
週末趣味のAWS Transit Gatewayでの経路制御週末趣味のAWS Transit Gatewayでの経路制御
週末趣味のAWS Transit Gatewayでの経路制御Namba Kazuo
 
AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!)
AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!)AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!)
AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!)Trainocate Japan, Ltd.
 
とにかく分かりづらいTwelve-Factor Appの解説を試みる
とにかく分かりづらいTwelve-Factor Appの解説を試みるとにかく分かりづらいTwelve-Factor Appの解説を試みる
とにかく分かりづらいTwelve-Factor Appの解説を試みるMasatoshi Tada
 
AWS初心者向けWebinar AWS上でのDDoS対策
AWS初心者向けWebinar AWS上でのDDoS対策AWS初心者向けWebinar AWS上でのDDoS対策
AWS初心者向けWebinar AWS上でのDDoS対策Amazon Web Services Japan
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことAmazon Web Services Japan
 
Azure DevOps と開発管理
Azure DevOps と開発管理Azure DevOps と開発管理
Azure DevOps と開発管理Tsukasa Kato
 
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
20190326 AWS Black Belt Online Seminar Amazon CloudWatch20190326 AWS Black Belt Online Seminar Amazon CloudWatch
20190326 AWS Black Belt Online Seminar Amazon CloudWatchAmazon Web Services Japan
 
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQLAmazon Web Services Japan
 
AWS_reInforce_2022_reCap_Ja.pdf
AWS_reInforce_2022_reCap_Ja.pdfAWS_reInforce_2022_reCap_Ja.pdf
AWS_reInforce_2022_reCap_Ja.pdfHayato Kiriyama
 
20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver
20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver
20191016 AWS Black Belt Online Seminar Amazon Route 53 ResolverAmazon Web Services Japan
 
AWS Black Belt Techシリーズ AWS Direct Connect
AWS Black Belt Techシリーズ AWS Direct ConnectAWS Black Belt Techシリーズ AWS Direct Connect
AWS Black Belt Techシリーズ AWS Direct ConnectAmazon Web Services Japan
 
20210526 AWS Expert Online マルチアカウント管理の基本
20210526 AWS Expert Online マルチアカウント管理の基本20210526 AWS Expert Online マルチアカウント管理の基本
20210526 AWS Expert Online マルチアカウント管理の基本Amazon Web Services Japan
 
20191105 AWS Black Belt Online Seminar Amazon Route 53 Hosted Zone
20191105 AWS Black Belt Online Seminar Amazon Route 53 Hosted Zone20191105 AWS Black Belt Online Seminar Amazon Route 53 Hosted Zone
20191105 AWS Black Belt Online Seminar Amazon Route 53 Hosted ZoneAmazon Web Services Japan
 
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)Amazon Web Services Japan
 
Kinesis + Elasticsearchでつくるさいきょうのログ分析基盤
Kinesis + Elasticsearchでつくるさいきょうのログ分析基盤Kinesis + Elasticsearchでつくるさいきょうのログ分析基盤
Kinesis + Elasticsearchでつくるさいきょうのログ分析基盤Amazon Web Services Japan
 
Ingress on Azure Kubernetes Service
Ingress on Azure Kubernetes ServiceIngress on Azure Kubernetes Service
Ingress on Azure Kubernetes ServiceToru Makabe
 
[Aurora事例祭り]Amazon Aurora を使いこなすためのベストプラクティス
[Aurora事例祭り]Amazon Aurora を使いこなすためのベストプラクティス[Aurora事例祭り]Amazon Aurora を使いこなすためのベストプラクティス
[Aurora事例祭り]Amazon Aurora を使いこなすためのベストプラクティスAmazon Web Services Japan
 

What's hot (20)

AWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
AWS Black Belt Online Seminar 2017 AWS Elastic BeanstalkAWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
AWS Black Belt Online Seminar 2017 AWS Elastic Beanstalk
 
AWS CURのデータを安く楽に可視化して共有したい
AWS CURのデータを安く楽に可視化して共有したいAWS CURのデータを安く楽に可視化して共有したい
AWS CURのデータを安く楽に可視化して共有したい
 
週末趣味のAWS Transit Gatewayでの経路制御
週末趣味のAWS Transit Gatewayでの経路制御週末趣味のAWS Transit Gatewayでの経路制御
週末趣味のAWS Transit Gatewayでの経路制御
 
AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!)
AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!)AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!)
AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!)
 
とにかく分かりづらいTwelve-Factor Appの解説を試みる
とにかく分かりづらいTwelve-Factor Appの解説を試みるとにかく分かりづらいTwelve-Factor Appの解説を試みる
とにかく分かりづらいTwelve-Factor Appの解説を試みる
 
AWS初心者向けWebinar AWS上でのDDoS対策
AWS初心者向けWebinar AWS上でのDDoS対策AWS初心者向けWebinar AWS上でのDDoS対策
AWS初心者向けWebinar AWS上でのDDoS対策
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのこと
 
ここから始めるAWSセキュリティ
ここから始めるAWSセキュリティここから始めるAWSセキュリティ
ここから始めるAWSセキュリティ
 
Azure DevOps と開発管理
Azure DevOps と開発管理Azure DevOps と開発管理
Azure DevOps と開発管理
 
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
20190326 AWS Black Belt Online Seminar Amazon CloudWatch20190326 AWS Black Belt Online Seminar Amazon CloudWatch
20190326 AWS Black Belt Online Seminar Amazon CloudWatch
 
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
 
AWS_reInforce_2022_reCap_Ja.pdf
AWS_reInforce_2022_reCap_Ja.pdfAWS_reInforce_2022_reCap_Ja.pdf
AWS_reInforce_2022_reCap_Ja.pdf
 
20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver
20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver
20191016 AWS Black Belt Online Seminar Amazon Route 53 Resolver
 
AWS Black Belt Techシリーズ AWS Direct Connect
AWS Black Belt Techシリーズ AWS Direct ConnectAWS Black Belt Techシリーズ AWS Direct Connect
AWS Black Belt Techシリーズ AWS Direct Connect
 
20210526 AWS Expert Online マルチアカウント管理の基本
20210526 AWS Expert Online マルチアカウント管理の基本20210526 AWS Expert Online マルチアカウント管理の基本
20210526 AWS Expert Online マルチアカウント管理の基本
 
20191105 AWS Black Belt Online Seminar Amazon Route 53 Hosted Zone
20191105 AWS Black Belt Online Seminar Amazon Route 53 Hosted Zone20191105 AWS Black Belt Online Seminar Amazon Route 53 Hosted Zone
20191105 AWS Black Belt Online Seminar Amazon Route 53 Hosted Zone
 
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
20190521 AWS Black Belt Online Seminar Amazon Simple Email Service (Amazon SES)
 
Kinesis + Elasticsearchでつくるさいきょうのログ分析基盤
Kinesis + Elasticsearchでつくるさいきょうのログ分析基盤Kinesis + Elasticsearchでつくるさいきょうのログ分析基盤
Kinesis + Elasticsearchでつくるさいきょうのログ分析基盤
 
Ingress on Azure Kubernetes Service
Ingress on Azure Kubernetes ServiceIngress on Azure Kubernetes Service
Ingress on Azure Kubernetes Service
 
[Aurora事例祭り]Amazon Aurora を使いこなすためのベストプラクティス
[Aurora事例祭り]Amazon Aurora を使いこなすためのベストプラクティス[Aurora事例祭り]Amazon Aurora を使いこなすためのベストプラクティス
[Aurora事例祭り]Amazon Aurora を使いこなすためのベストプラクティス
 

Viewers also liked

AWS Black Belt Techシリーズ リザーブドインスタンス & スポットインスタンス
AWS Black Belt Techシリーズ リザーブドインスタンス & スポットインスタンスAWS Black Belt Techシリーズ リザーブドインスタンス & スポットインスタンス
AWS Black Belt Techシリーズ リザーブドインスタンス & スポットインスタンスAmazon Web Services Japan
 
AWSスポットインスタンスの真髄
AWSスポットインスタンスの真髄AWSスポットインスタンスの真髄
AWSスポットインスタンスの真髄外道 父
 
[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス
[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス
[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンスAmazon Web Services Japan
 
いまさら聞けない Amazon EC2
いまさら聞けない Amazon EC2いまさら聞けない Amazon EC2
いまさら聞けない Amazon EC2Yasuhiro Matsuo
 
AWS 初心者向けWebinar Amazon Web Services料金の見積り方法 -料金計算の考え方・見積り方法・お支払方法-
AWS 初心者向けWebinar Amazon Web Services料金の見積り方法 -料金計算の考え方・見積り方法・お支払方法-AWS 初心者向けWebinar Amazon Web Services料金の見積り方法 -料金計算の考え方・見積り方法・お支払方法-
AWS 初心者向けWebinar Amazon Web Services料金の見積り方法 -料金計算の考え方・見積り方法・お支払方法-Amazon Web Services Japan
 
Sqoopコネクタを書いてみた (Hadoopソースコードリーディング第12回 発表資料)
Sqoopコネクタを書いてみた (Hadoopソースコードリーディング第12回 発表資料)Sqoopコネクタを書いてみた (Hadoopソースコードリーディング第12回 発表資料)
Sqoopコネクタを書いてみた (Hadoopソースコードリーディング第12回 発表資料)NTT DATA OSS Professional Services
 
MT125 Virtustream Enterprise Cloud: Purpose Built to Run Mission Critical App...
MT125 Virtustream Enterprise Cloud: Purpose Built to Run Mission Critical App...MT125 Virtustream Enterprise Cloud: Purpose Built to Run Mission Critical App...
MT125 Virtustream Enterprise Cloud: Purpose Built to Run Mission Critical App...Dell EMC World
 
コンテンツ配信: CloudFront & 名前解決サービス: Route 53 詳細 -ほぼ週刊AWSマイスターシリーズ第3回-
コンテンツ配信: CloudFront & 名前解決サービス: Route 53 詳細 -ほぼ週刊AWSマイスターシリーズ第3回- コンテンツ配信: CloudFront & 名前解決サービス: Route 53 詳細 -ほぼ週刊AWSマイスターシリーズ第3回-
コンテンツ配信: CloudFront & 名前解決サービス: Route 53 詳細 -ほぼ週刊AWSマイスターシリーズ第3回- SORACOM, INC
 
IAM & Consolidated Billing -ほぼ週刊AWSマイスターシリーズ第4回
IAM & Consolidated Billing -ほぼ週刊AWSマイスターシリーズ第4回IAM & Consolidated Billing -ほぼ週刊AWSマイスターシリーズ第4回
IAM & Consolidated Billing -ほぼ週刊AWSマイスターシリーズ第4回SORACOM, INC
 
MT03 Cloud trends and the Dell Technologies point of view
MT03 Cloud trends and the Dell Technologies point of viewMT03 Cloud trends and the Dell Technologies point of view
MT03 Cloud trends and the Dell Technologies point of viewDell EMC World
 
クラウドTCOの真実
クラウドTCOの真実クラウドTCOの真実
クラウドTCOの真実SORACOM, INC
 
スタートアップでも使える! ビッグデータ×リアルタイム処理- 導入事例
スタートアップでも使える!  ビッグデータ×リアルタイム処理- 導入事例スタートアップでも使える!  ビッグデータ×リアルタイム処理- 導入事例
スタートアップでも使える! ビッグデータ×リアルタイム処理- 導入事例techscore
 
AWS Black Belt Techシリーズ Cost Explorer & AWS Trusted Advisor
AWS Black Belt Techシリーズ  Cost Explorer & AWS Trusted AdvisorAWS Black Belt Techシリーズ  Cost Explorer & AWS Trusted Advisor
AWS Black Belt Techシリーズ Cost Explorer & AWS Trusted AdvisorAmazon Web Services Japan
 
AWS Webcast - Implementing SAP Solutions on the AWS Cloud
AWS Webcast - Implementing SAP Solutions on the AWS CloudAWS Webcast - Implementing SAP Solutions on the AWS Cloud
AWS Webcast - Implementing SAP Solutions on the AWS CloudAmazon Web Services
 
AWSではじめるSAP HANA入門
AWSではじめるSAP HANA入門AWSではじめるSAP HANA入門
AWSではじめるSAP HANA入門Mana Matsudate
 
「リザーブドキングスライム」をやっつけて一撃レベルアップ!
「リザーブドキングスライム」をやっつけて一撃レベルアップ!「リザーブドキングスライム」をやっつけて一撃レベルアップ!
「リザーブドキングスライム」をやっつけて一撃レベルアップ!Tomoya Ishida
 
20130410 jaws ug sapporo spot instance利用のすゝめ
20130410 jaws ug sapporo spot instance利用のすゝめ20130410 jaws ug sapporo spot instance利用のすゝめ
20130410 jaws ug sapporo spot instance利用のすゝめMachie Atarashi
 
Apache Hadoop & Hive 入門 (マーケティングデータ分析基盤技術勉強会)
Apache Hadoop & Hive 入門 (マーケティングデータ分析基盤技術勉強会)Apache Hadoop & Hive 入門 (マーケティングデータ分析基盤技術勉強会)
Apache Hadoop & Hive 入門 (マーケティングデータ分析基盤技術勉強会)Takeshi Mikami
 

Viewers also liked (20)

AWS Black Belt Techシリーズ リザーブドインスタンス & スポットインスタンス
AWS Black Belt Techシリーズ リザーブドインスタンス & スポットインスタンスAWS Black Belt Techシリーズ リザーブドインスタンス & スポットインスタンス
AWS Black Belt Techシリーズ リザーブドインスタンス & スポットインスタンス
 
AWSスポットインスタンスの真髄
AWSスポットインスタンスの真髄AWSスポットインスタンスの真髄
AWSスポットインスタンスの真髄
 
[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス
[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス
[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス
 
いまさら聞けない Amazon EC2
いまさら聞けない Amazon EC2いまさら聞けない Amazon EC2
いまさら聞けない Amazon EC2
 
AWS 初心者向けWebinar Amazon Web Services料金の見積り方法 -料金計算の考え方・見積り方法・お支払方法-
AWS 初心者向けWebinar Amazon Web Services料金の見積り方法 -料金計算の考え方・見積り方法・お支払方法-AWS 初心者向けWebinar Amazon Web Services料金の見積り方法 -料金計算の考え方・見積り方法・お支払方法-
AWS 初心者向けWebinar Amazon Web Services料金の見積り方法 -料金計算の考え方・見積り方法・お支払方法-
 
SAPRouter
SAPRouterSAPRouter
SAPRouter
 
Sqoopコネクタを書いてみた (Hadoopソースコードリーディング第12回 発表資料)
Sqoopコネクタを書いてみた (Hadoopソースコードリーディング第12回 発表資料)Sqoopコネクタを書いてみた (Hadoopソースコードリーディング第12回 発表資料)
Sqoopコネクタを書いてみた (Hadoopソースコードリーディング第12回 発表資料)
 
MT125 Virtustream Enterprise Cloud: Purpose Built to Run Mission Critical App...
MT125 Virtustream Enterprise Cloud: Purpose Built to Run Mission Critical App...MT125 Virtustream Enterprise Cloud: Purpose Built to Run Mission Critical App...
MT125 Virtustream Enterprise Cloud: Purpose Built to Run Mission Critical App...
 
コンテンツ配信: CloudFront & 名前解決サービス: Route 53 詳細 -ほぼ週刊AWSマイスターシリーズ第3回-
コンテンツ配信: CloudFront & 名前解決サービス: Route 53 詳細 -ほぼ週刊AWSマイスターシリーズ第3回- コンテンツ配信: CloudFront & 名前解決サービス: Route 53 詳細 -ほぼ週刊AWSマイスターシリーズ第3回-
コンテンツ配信: CloudFront & 名前解決サービス: Route 53 詳細 -ほぼ週刊AWSマイスターシリーズ第3回-
 
IAM & Consolidated Billing -ほぼ週刊AWSマイスターシリーズ第4回
IAM & Consolidated Billing -ほぼ週刊AWSマイスターシリーズ第4回IAM & Consolidated Billing -ほぼ週刊AWSマイスターシリーズ第4回
IAM & Consolidated Billing -ほぼ週刊AWSマイスターシリーズ第4回
 
MT03 Cloud trends and the Dell Technologies point of view
MT03 Cloud trends and the Dell Technologies point of viewMT03 Cloud trends and the Dell Technologies point of view
MT03 Cloud trends and the Dell Technologies point of view
 
クラウドTCOの真実
クラウドTCOの真実クラウドTCOの真実
クラウドTCOの真実
 
スタートアップでも使える! ビッグデータ×リアルタイム処理- 導入事例
スタートアップでも使える!  ビッグデータ×リアルタイム処理- 導入事例スタートアップでも使える!  ビッグデータ×リアルタイム処理- 導入事例
スタートアップでも使える! ビッグデータ×リアルタイム処理- 導入事例
 
AWS Black Belt Techシリーズ Cost Explorer & AWS Trusted Advisor
AWS Black Belt Techシリーズ  Cost Explorer & AWS Trusted AdvisorAWS Black Belt Techシリーズ  Cost Explorer & AWS Trusted Advisor
AWS Black Belt Techシリーズ Cost Explorer & AWS Trusted Advisor
 
Awsコスト削減
Awsコスト削減 Awsコスト削減
Awsコスト削減
 
AWS Webcast - Implementing SAP Solutions on the AWS Cloud
AWS Webcast - Implementing SAP Solutions on the AWS CloudAWS Webcast - Implementing SAP Solutions on the AWS Cloud
AWS Webcast - Implementing SAP Solutions on the AWS Cloud
 
AWSではじめるSAP HANA入門
AWSではじめるSAP HANA入門AWSではじめるSAP HANA入門
AWSではじめるSAP HANA入門
 
「リザーブドキングスライム」をやっつけて一撃レベルアップ!
「リザーブドキングスライム」をやっつけて一撃レベルアップ!「リザーブドキングスライム」をやっつけて一撃レベルアップ!
「リザーブドキングスライム」をやっつけて一撃レベルアップ!
 
20130410 jaws ug sapporo spot instance利用のすゝめ
20130410 jaws ug sapporo spot instance利用のすゝめ20130410 jaws ug sapporo spot instance利用のすゝめ
20130410 jaws ug sapporo spot instance利用のすゝめ
 
Apache Hadoop & Hive 入門 (マーケティングデータ分析基盤技術勉強会)
Apache Hadoop & Hive 入門 (マーケティングデータ分析基盤技術勉強会)Apache Hadoop & Hive 入門 (マーケティングデータ分析基盤技術勉強会)
Apache Hadoop & Hive 入門 (マーケティングデータ分析基盤技術勉強会)
 

Similar to [AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス

はじめてのアマゾンウェブサービス @ JAWS DAYS 2014
はじめてのアマゾンウェブサービス @ JAWS DAYS 2014はじめてのアマゾンウェブサービス @ JAWS DAYS 2014
はじめてのアマゾンウェブサービス @ JAWS DAYS 2014Yasuhiro Horiuchi
 
Jawsdays2018 - The cost driven aws cloud architecture design
Jawsdays2018 - The cost driven aws cloud architecture designJawsdays2018 - The cost driven aws cloud architecture design
Jawsdays2018 - The cost driven aws cloud architecture designHan Jin Ryu
 
Jawsdays2018 - The cost driven aws cloud architecture design
Jawsdays2018 - The cost driven aws cloud architecture designJawsdays2018 - The cost driven aws cloud architecture design
Jawsdays2018 - The cost driven aws cloud architecture designHan Jin Ryu
 
AWS Black Belt Techシリーズ Amazon Relational Database Service (RDS)
AWS Black Belt Techシリーズ Amazon Relational Database Service (RDS)AWS Black Belt Techシリーズ Amazon Relational Database Service (RDS)
AWS Black Belt Techシリーズ Amazon Relational Database Service (RDS)Amazon Web Services Japan
 
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
[AWSマイスターシリーズ]Amazon CloudWatch & Auto ScalingAmazon Web Services Japan
 
コスト削減から考えるAWSの効果的な利用方法
コスト削減から考えるAWSの効果的な利用方法コスト削減から考えるAWSの効果的な利用方法
コスト削減から考えるAWSの効果的な利用方法Aya Komuro
 
[CTO Night & Day 2019] AWS のコスト最適化 #ctonight
[CTO Night & Day 2019] AWS のコスト最適化 #ctonight[CTO Night & Day 2019] AWS のコスト最適化 #ctonight
[CTO Night & Day 2019] AWS のコスト最適化 #ctonightAmazon Web Services Japan
 
Amazon webservice(aws)と他社サーバのコストパフォーマンス比較
Amazon webservice(aws)と他社サーバのコストパフォーマンス比較Amazon webservice(aws)と他社サーバのコストパフォーマンス比較
Amazon webservice(aws)と他社サーバのコストパフォーマンス比較株式会社雲屋ネットワーク
 
[AWSマイスターシリーズ] AWS CloudFormation
[AWSマイスターシリーズ] AWS CloudFormation[AWSマイスターシリーズ] AWS CloudFormation
[AWSマイスターシリーズ] AWS CloudFormationAmazon Web Services Japan
 
Spot instance利用のすゝめ
Spot instance利用のすゝめSpot instance利用のすゝめ
Spot instance利用のすゝめMachie Atarashi
 
人気ゲームアプリ「クラッシュフィーバー」におけるAWS活用
人気ゲームアプリ「クラッシュフィーバー」におけるAWS活用人気ゲームアプリ「クラッシュフィーバー」におけるAWS活用
人気ゲームアプリ「クラッシュフィーバー」におけるAWS活用Tomotsune Murata
 
Modernizing Big Data Workload Using Amazon EMR & AWS Glue
Modernizing Big Data Workload Using Amazon EMR & AWS GlueModernizing Big Data Workload Using Amazon EMR & AWS Glue
Modernizing Big Data Workload Using Amazon EMR & AWS GlueNoritaka Sekiyama
 
Aws summits2014 ガリバーインターナショナル社内システムのaws化
Aws summits2014 ガリバーインターナショナル社内システムのaws化Aws summits2014 ガリバーインターナショナル社内システムのaws化
Aws summits2014 ガリバーインターナショナル社内システムのaws化Boss4434
 
Best Practices for Running PostgreSQL on AWS
Best Practices for Running PostgreSQL on AWSBest Practices for Running PostgreSQL on AWS
Best Practices for Running PostgreSQL on AWSAmazon Web Services Japan
 
Cloud on the_beach_aws入門_公開
Cloud on the_beach_aws入門_公開Cloud on the_beach_aws入門_公開
Cloud on the_beach_aws入門_公開Hideki Ojima
 
SAP on AWS最新情報とデジタルトランスフォーメーションに関する取組み
SAP on AWS最新情報とデジタルトランスフォーメーションに関する取組みSAP on AWS最新情報とデジタルトランスフォーメーションに関する取組み
SAP on AWS最新情報とデジタルトランスフォーメーションに関する取組みBeeX.inc
 
AWS+WordPress-Jawsfesta2015
AWS+WordPress-Jawsfesta2015AWS+WordPress-Jawsfesta2015
AWS+WordPress-Jawsfesta2015Hiromichi Koga
 
スタートアップならおさえておきたいAWS(Amazon Web Services)入門 2限目:基本構成とピーク対策編
スタートアップならおさえておきたいAWS(Amazon Web Services)入門  2限目:基本構成とピーク対策編スタートアップならおさえておきたいAWS(Amazon Web Services)入門  2限目:基本構成とピーク対策編
スタートアップならおさえておきたいAWS(Amazon Web Services)入門 2限目:基本構成とピーク対策編schoowebcampus
 

Similar to [AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス (20)

はじめてのアマゾンウェブサービス @ JAWS DAYS 2014
はじめてのアマゾンウェブサービス @ JAWS DAYS 2014はじめてのアマゾンウェブサービス @ JAWS DAYS 2014
はじめてのアマゾンウェブサービス @ JAWS DAYS 2014
 
Jawsdays2018 - The cost driven aws cloud architecture design
Jawsdays2018 - The cost driven aws cloud architecture designJawsdays2018 - The cost driven aws cloud architecture design
Jawsdays2018 - The cost driven aws cloud architecture design
 
Jawsdays2018 - The cost driven aws cloud architecture design
Jawsdays2018 - The cost driven aws cloud architecture designJawsdays2018 - The cost driven aws cloud architecture design
Jawsdays2018 - The cost driven aws cloud architecture design
 
AWS Black Belt Techシリーズ Amazon Relational Database Service (RDS)
AWS Black Belt Techシリーズ Amazon Relational Database Service (RDS)AWS Black Belt Techシリーズ Amazon Relational Database Service (RDS)
AWS Black Belt Techシリーズ Amazon Relational Database Service (RDS)
 
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
[AWSマイスターシリーズ]Amazon CloudWatch & Auto Scaling
 
コスト削減から考えるAWSの効果的な利用方法
コスト削減から考えるAWSの効果的な利用方法コスト削減から考えるAWSの効果的な利用方法
コスト削減から考えるAWSの効果的な利用方法
 
[CTO Night & Day 2019] AWS のコスト最適化 #ctonight
[CTO Night & Day 2019] AWS のコスト最適化 #ctonight[CTO Night & Day 2019] AWS のコスト最適化 #ctonight
[CTO Night & Day 2019] AWS のコスト最適化 #ctonight
 
Amazon webservice(aws)と他社サーバのコストパフォーマンス比較
Amazon webservice(aws)と他社サーバのコストパフォーマンス比較Amazon webservice(aws)と他社サーバのコストパフォーマンス比較
Amazon webservice(aws)と他社サーバのコストパフォーマンス比較
 
[AWSマイスターシリーズ] AWS CloudFormation
[AWSマイスターシリーズ] AWS CloudFormation[AWSマイスターシリーズ] AWS CloudFormation
[AWSマイスターシリーズ] AWS CloudFormation
 
Spot instance利用のすゝめ
Spot instance利用のすゝめSpot instance利用のすゝめ
Spot instance利用のすゝめ
 
人気ゲームアプリ「クラッシュフィーバー」におけるAWS活用
人気ゲームアプリ「クラッシュフィーバー」におけるAWS活用人気ゲームアプリ「クラッシュフィーバー」におけるAWS活用
人気ゲームアプリ「クラッシュフィーバー」におけるAWS活用
 
HPC on AWS 2020 Summer
HPC on AWS 2020 Summer HPC on AWS 2020 Summer
HPC on AWS 2020 Summer
 
プレゼンテーション7
プレゼンテーション7プレゼンテーション7
プレゼンテーション7
 
Modernizing Big Data Workload Using Amazon EMR & AWS Glue
Modernizing Big Data Workload Using Amazon EMR & AWS GlueModernizing Big Data Workload Using Amazon EMR & AWS Glue
Modernizing Big Data Workload Using Amazon EMR & AWS Glue
 
Aws summits2014 ガリバーインターナショナル社内システムのaws化
Aws summits2014 ガリバーインターナショナル社内システムのaws化Aws summits2014 ガリバーインターナショナル社内システムのaws化
Aws summits2014 ガリバーインターナショナル社内システムのaws化
 
Best Practices for Running PostgreSQL on AWS
Best Practices for Running PostgreSQL on AWSBest Practices for Running PostgreSQL on AWS
Best Practices for Running PostgreSQL on AWS
 
Cloud on the_beach_aws入門_公開
Cloud on the_beach_aws入門_公開Cloud on the_beach_aws入門_公開
Cloud on the_beach_aws入門_公開
 
SAP on AWS最新情報とデジタルトランスフォーメーションに関する取組み
SAP on AWS最新情報とデジタルトランスフォーメーションに関する取組みSAP on AWS最新情報とデジタルトランスフォーメーションに関する取組み
SAP on AWS最新情報とデジタルトランスフォーメーションに関する取組み
 
AWS+WordPress-Jawsfesta2015
AWS+WordPress-Jawsfesta2015AWS+WordPress-Jawsfesta2015
AWS+WordPress-Jawsfesta2015
 
スタートアップならおさえておきたいAWS(Amazon Web Services)入門 2限目:基本構成とピーク対策編
スタートアップならおさえておきたいAWS(Amazon Web Services)入門  2限目:基本構成とピーク対策編スタートアップならおさえておきたいAWS(Amazon Web Services)入門  2限目:基本構成とピーク対策編
スタートアップならおさえておきたいAWS(Amazon Web Services)入門 2限目:基本構成とピーク対策編
 

More from Amazon Web Services Japan

202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)Amazon Web Services Japan
 
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFSAmazon Web Services Japan
 
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device Defender202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device DefenderAmazon Web Services Japan
 
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現Amazon Web Services Japan
 
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...Amazon Web Services Japan
 
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Web Services Japan
 
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用Amazon Web Services Japan
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdfAmazon Web Services Japan
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介Amazon Web Services Japan
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon Web Services Japan
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチAmazon Web Services Japan
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介Amazon Web Services Japan
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer ProfilesAmazon Web Services Japan
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Web Services Japan
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨Amazon Web Services Japan
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介Amazon Web Services Japan
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介Amazon Web Services Japan
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...Amazon Web Services Japan
 
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピAmazon Web Services Japan
 

More from Amazon Web Services Japan (20)

202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
 
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
 
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device Defender202204 AWS Black Belt Online Seminar AWS IoT Device Defender
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
 
Infrastructure as Code (IaC) 談義 2022
Infrastructure as Code (IaC) 談義 2022Infrastructure as Code (IaC) 談義 2022
Infrastructure as Code (IaC) 談義 2022
 
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
 
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
 
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデートAmazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
 
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDD
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
 
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
 

[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス

  • 1. AWSマイスターシリーズ Reloaded リザーブドインスタンス& スポットインスタンス編 2013.03.28 安川 健太 高山 博史 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 2. Agenda はじめに • AWSの割引の仕組み • 時間課金系サービスのご利用オプション オンデマンドインスタンス リザーブドインスタンス スポットインスタンス まとめ 2 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 3. AWSは、値引きはないの? うちだけ値引きしてくれない? AWSは、どんなお客様にもフェアな 単一料金です(個人利用から大企業まで) でもAWSをもっとお安くご利用い ただけるかもしれません 3 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 4. 前提として… AWSでのコスト削減 4 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 5. AWSでのコスト削減って? 効果大 よりクラウドネイティブな設計 ・EC2以外のAWSサービス積極的に活用 ・インスタンスタイプの最適化 ・スタンバイ機の見直し 運用コスト削減も 割引の活用 ・リザーブド・インスタンス ・スポット・インスタンス ・Cloudfrontの予約容量等々… その他のリソースの無駄チェック 効果小 ・EBS, Snapshot, EIP等々… 5 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 6. AWSでのコスト削減って? 効果大 よりクラウドネイティブな設計 ・EC2以外を積極的に活用 ・インスタンスタイプの最適化 既存オンプレミス構成を ・スタンバイ機の見直し そのままAWSで再現している場合などは、 「構成の見直し」もご検討ください 割引の活用 ・リザーブド・インスタンス (AWSのSales/SAにご相談ください) ・スポット・インスタンス [お問い合わせフォーム] http://aws.amazon.com/jp/contact-us/aws-sales/ ・Cloudfrontの予約容量 その他のリソースの無駄チェック 効果小 ・EBS, Snapshot, EIP等々… 6 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 7. 前提を踏まえた上で… AWSの割引の仕組み 7 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 8. AWSの割引の仕組み① EC2・RDS・Elasticache等(時間課金サービス) での利用オプションによる割引[本資料で説明] ①リザーブド・インスタンス ②スポット・インスタンス ご利用が増えると自動的に単価が安くなるもの →データ転送量(50TB/月以上)や S3ストレージ料金(50TB/月以上)など 8 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 9. AWSの割引の仕組み② Cloudfrontの予約容量 →リージョンごとに10TB/月から 10TB以上配信される場合は、ご相談ください 随時行われる価格改定 →規模の経済・運用効率化による サービス開始から20回以上の値下げ実績あり 9 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 10. ご参考:2013年2月にも EC2オンデマンド料金値下げ! リージョン間データ転送料の値下げ! 10 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 11. インスタンスの時間単価の削減は効果的 月々のAWSご利用料金の中で、EC2やRDSなど の時間課金サービスが占める割合が大きいことが 多い! コスト削減に EC2 効果的! RDS データ転送量 その他 データ転送料金の割合が多い場合は、Cloudfrontの予約容量もご検討ください 11 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 12. 用途に合わせて選べる AWSのご利用オプション オンデマンド・インスタンス(通常はこちら) • 初期費用ゼロ・コミットなし・時間課金 リザーブド・インスタンス(オプション) • 予約金の支払で時間単価の割引・キャパシティの予約 • 年間を通して大幅な費用削減が可能 スポット・インスタンス(オプション) • 初期費用ゼロ • スポット価格(需要と供給によりリアルタイムに変動)で課金 • 最大で払ってもいい額を決定して「入札」 • 「入札額 >= スポット価格」 インスタンスが利用可 • 「入札額<スポット価格」インスタンスがターミネート 12 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 13. オンデマンド以外オプションの用途 リザーブド・インスタンス • 年間通して多くの時間起動しているインスタンス • 常時稼動のDBサーバ • 最低限必要なWeb/APサーバ等 スポット・インスタンス • 時間の制約がなく、中断しても支障のないタスク を実行するインスタンス • Webクローラ • 分散処理のタスクノード等 システム内に上記のようなインスタンスがあればコスト削減の可能性 13 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 14. まずは基本の オンデマンド・インスタンス 14 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 15. オンデマンド・インスタンス オンデマンド・インスタンス(通常はこちら) • 初期費用ゼロ • 時間課金 • 長期コミットメントなし 15 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 16. オンデマンド・インスタンス 積算料金 オンデマンド インスタンス 初期費用0 期間 16 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 17. リザーブド・インスタンス 17 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 18. リザーブド・インスタンス オンデマンド 積算料金 インスタンス 長期間ご利用の場合、 大幅にお安く リザーブド インスタンス 予約金 (キャパシティ予約、 時間単価割引確定) 期間 1年/3年 18 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 19. リザーブド・インスタンス よくある勘違い リザーブド・インスタンスは、1年/3年の利用料前 払いである リザーブド・インスタンスを購入したら、1年/3年 の”縛り”がある(必ず使用しないといけない) インスタンスタイプを変更すると、割引が適用され ない エンタープライズ向けであり、スタートアップには 適さない 19 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 20. リザーブド・インスタンス よくある勘違い × リザーブド・インスタンスは、1年/3年の利用料前 払いである × リザーブド・インスタンスを購入したら、1年/3年 の”縛り”がある(必ず使用しないといけない) △ インスタンスタイプを変更すると、割引が適用され ない × エンタープライズ向けであり、スタートアップには 適さない 20 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 21. リザーブド・インスタンス リザーブド・インスタンス(以下、RI) • 予約金お支払いによる、1年間/3年間の時間課金の割引 →一時金のお支払で、時間単価が安くなる仕組み • 月額費用は割引単価での時間課金 *後述の「重度使用」のみ、RI期間中は起動時間にかかわらず、 毎月100%起動したものとして月額課金 • 該当キャパシティを予約 21 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 22. リザーブド・インスタンス よくある勘違い × リザーブド・インスタンスは、1年/3年の利用料前 払いである リザーブド・インスタンスを購入したら、1年/3年 の”縛り”がある(必ず使用しないといけない) インスタンスタイプを変更すると、割引が適用され ない エンタープライズ向けであり、スタートアップには 適さない 22 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 23. リザーブド・インスタンスのポイント 必ずしも1年間使用し続ける必要はない • ただし使用しない場合でも初期費用の返金はなし *後述の「重度使用」のみ、リザーブ期間中は起動時間にかかわらず、 毎月100%起動したものとして月額課金 オンデマンド 積算料金 インスタンス 途中で使用を止めたり、 24時間起動しなくても お得な場合も リザーブド *RIタイプ(後述)により異なる インスタンス 予約金 期間 例:6か月分 23 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 24. リザーブド・インスタンス よくある勘違い リザーブド・インスタンスは、1年/3年の利用料前 払いである × リザーブド・インスタンスを購入したら、1年/3年 の”縛り”がある(必ず使用しないといけない) インスタンスタイプを変更すると、割引が適用され ない エンタープライズ向けであり、スタートアップには 適さない 24 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 25. リザーブド・インスタンスのポイント 2 該当AWSアカウント用に、キャパシティを予約 • 条件に合致するインスタンスを予約することで、 予約した数のインスタンスは、 必要になったときにいつでも起動できるという安心感 AWSは随時リソースを追加し続けています! 25 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 26. リザーブド・インスタンス(RI)のタイプ RIタイプは「初期費用/時間単価」の組み合わせで3種類 初期費用 時間課金 少ない 割引小さい [梅]Light Utilization(軽度使用) [竹]Medium Utilization(中度使用) [松]Heavy Utilization(重度使用) 初期費用 時間課金 多い 割引大きい *ただし重度使用のみ、RI期間中は起動時間にかかわらず、 毎月100%起動したものとして課金(月初に24時間×日数分を月額費用に計上) ご利用用途に合わせたタイプの選択が必要 26 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 27. リザーブド・インスタンス(RI)のタイプ サービスごとの価格はこちら EC2(リザーブド・インスタンス) http://aws.amazon.com/jp/ec2/reserved-instances/ RDS(リザーブド・インスタンス) http://aws.amazon.com/jp/rds/reserved-instances/ ElastiCache(リザーブド・キャッシュノード) http://aws.amazon.com/jp/elasticache/reserved-cache-nodes/ 27 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 28. EC2のRIタイプ別比較(1年): 削減効果 各タイプのスイートスポットと削減効果(目安) 年間100%利用した 年間利用率の 場合の削減効果 スイートスポット (対オンデマンドインスタンス) (何%利用の場合一番お得か?) Light (軽度使用) 32% 21%~74% Medium (中度使用) 39% 74%~77% Heavy (重度使用) 46% 77%~ *Tokyoリージョンでスタンダードインスタンス(Linux)利用の場合で算出 28 (インスタンスタイプにより異なる) 2013年3月現在 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 29. EC2のRIタイプ別比較(1年): スイートスポット 各タイプのスイートスポットと削減効果(目安) 年間100%利用した 年間利用率の 場合の削減効果 スイートスポット (対オンデマンドインスタンス) (何%利用の場合一番お得か?) Light (軽度使用) 32% 21%~74% Medium (中度使用) 39% 74%~77% Heavy (重度使用) 46% 77%~ *Tokyoリージョンでスタンダードインスタンス(Linux)利用の場合で算出 29 (インスタンスタイプにより異なる) 2013年3月現在 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 30. スイートスポットとは? 先ほどの表を図示したのが下記のグラフ(イメージ) 積算料金 オンデマンド ライト ミディアム ヘビー Mediumが お得 Lightが Heavyが お得 お得 0% 21% 74%77% 100% 期間 *Tokyoリージョンでスタンダードインスタンス(Linux)利用の場合で算出 30 (インスタンスタイプにより異なる) 2013年3月現在 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 31. EC2のRIタイプ別比較(3年) 各タイプのスイートスポットと削減効果(目安) 3年間100%利用した 3年間利用率の 場合の削減効果 スイートスポット (対オンデマンドインスタンス) (何%利用の場合一番お得か?) Light (軽度使用) 48% 9%~50% Medium (中度使用) 57% 50%~74% Heavy (重度使用) 64% 74%~ *Tokyoリージョンでスタンダードインスタンス(Linux)利用の場合で算出 31 (インスタンスタイプにより異なる) 2013年3月現在 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 32. EC2のRI割引適用条件 購入時に以下の条件を指定 ①プラットフォーム「非VPC/VPC」や「OS(ライセンス料込か?)」 ②インスタンスタイプ「Small, Large」など ③アベイラビリティーゾーン(AZ)「ap-northeast-1a」など ④期間「1年または3年」 ⑤タイプ(重度・中度・軽度) ⑥VPCの場合のみ「占有インスタンスか否か?」 ④の期間中に①②③⑥の条件が合致すると、 割引料金が適用される 32 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 33. EC2のRI割引適用条件 購入時に以下の条件を指定 ①プラットフォーム「非VPC/VPC」や「OS(ライセンス料込か?)」 ②インスタンスタイプ「Small, Large」など ③アベイラビリティーゾーン(AZ)「ap-northeast-1a」など インスタンスタイプとAZ指定により ④期間「1年または3年」 AWS側のDCプランニングがしやすくなる ⑤タイプ(重度・中度・軽度)*後述します ⑥VPCの場合のみ「占有インスタンスか否か?」 →割引によるお客様還元 ④の期間中に①②③⑥の条件が合致すると、 割引料金が適用される 33 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 34. EC2のRI適用例 割引の権利は“AWSアカウント単位”で管理 • インスタンスIDとの紐づけは無し 料金計算イメージ: ・RI権利 :Small*1インスタンス分 ・稼働中 :Small*3インスタンス Small割引料金×1 Small通常料金×2 *適用にはインスタンスタイプ以外の 各条件も合致していること 34 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 35. 1インスタンスをスケールアップした場合 料金計算イメージ: ・RI権利 :Small*1インスタンス分 Small割引料金×1 ・稼働中 :Small*3インスタンス Small通常料金×2 ・RI権利 :Small*1インスタンス分 Small割引料金×1 ・稼働中 :Small*2インスタンス Small通常料金×1 Large通常料金×1 :Large*1インスタンス *適用にはインスタンスタイプ以外の 各条件も合致していること 35 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 36. リザーブド・インスタンス よくある勘違い リザーブド・インスタンスは、1年/3年の利用料前 払いである リザーブド・インスタンスを購入したら、1年/3年 の”縛り”がある(必ず使用しないといけない) △ インスタンスタイプを変更すると、割引が適用され ない エンタープライズ向けであり、スタートアップには 適さない 36 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 37. RIの使いどころ(例)① 常に起動しているDBやキャッシュサーバなど →今後スケールアップの可能性がある場合は、 LightタイプやMediumタイプがオススメ 37 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 38. RIの使いどころ(例)② 常に起動している分のWeb/Appサーバ →スケールアウトする分はオンデマンドで RI RI オンデマンド 平常時 ピーク時 38 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 39. RIの導入フロー まずはオンデマンドタイプの利用で「インスタン スタイプ」の検討と「利用率」を算出 以下のようなインスタンスについてRIを購入 • 定常的に同一インスタンスタイプで起動しているサーバ • 一定の利用率がありそうなサーバ (Lightタイプなどを) →権利の購入なので、無停止でRIに切り替え可 ご利用は計画的に! 39 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 40. リザーブド・インスタンス よくある勘違い リザーブド・インスタンスは、1年/3年の利用料前 払いである リザーブド・インスタンスを購入したら、1年/3年 の”縛り”がある(必ず使用しないといけない) インスタンスタイプを変更すると、割引が適用され ない × エンタープライズ向けであり、スタートアップには 適さない 40 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 41. ご参考:Trusted Advisor お客様のAWS環境を精査し、コスト削 減等の推奨事項をお知らせする機能 サポートレベルが「ビジネス」または 「エンタープライズ」の場合に、サ ポートセンター経由でアクセス可能 RI, EC2インスタンス、EBS等100 個を超えるチェック項目を持つ 多くのお客様にAWSのサービスを適用 してきたベストプラクティスが適用さ れている 41 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 42. ご参考:AWSサポート 日本語での技術サポートをご提供 ベーシック デベロッパー ビジネス エンタープライズ フォーラム 利用可能 利用可能 利用可能 利用可能 EC2の 電話、チャット 電話、チャット サポートへの コンタクト 健全性エラーが コンタクト コンタクト コンタクト フォーム 発生した場合 フォーム フォーム 12時間 初回応答時間 不可 1時間 15分 (営業時間内) 連絡先登録 - 1 5 無制限 24/365対応 なし なし あり あり Trusted Advisor なし なし あり あり 専任スタッフ なし なし なし あり 特別サポート なし なし なし あり AWS利用総額の $0~$10K: 10% $10K~$80K: 7% AWS利用総額の10% 料金(月額) 無料 $49 $80K~$250K: 5% (最低$15000) $250K~: 3% (最低$100) 42 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 43. リザーブド・インスタンス よくある勘違い × リザーブド・インスタンスは、1年/3年の利用料前 払いである × リザーブド・インスタンスを購入したら、1年/3年 の”縛り”がある(必ず使用しないといけない) △ インスタンスタイプを変更すると、割引が適用され ない × エンタープライズ向けであり、スタートアップには 適さない 43 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 44. RIの購入方法 AWS Management Consoleにて購入 デフォルトでは月間20インスタンスまで購入可能 [制限増加申請フォーム] http://aws.amazon.com/jp/contact-us/reserved-instances-limit-request/ 44 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 45. RIの購入方法 Purchase Reserved Instancesを選択 45 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 46. RIの購入方法 条件を選択して検索 46 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 47. RIの購入方法 条件に合うRIをカートに追加し購入 Sellerが「AWS」のものが、AWSが販売しているRIです。 Sellerが「3 rd Party」のものは、AWS以外が販売しているRIです。 47 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 48. RI権利を売買できるようになりました RI Marketplace →使わなくなったRIの権利を売買できる! ただし売却には米国の銀行口座が必要 48 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 49. RIの購入時のご注意 クレジットカードの限度額にご注意ください 月々のご利用とは、別タイミングで決済されます (月々のご利用分とは合算されません) [お問い合わせフォーム] http://aws.amazon.com/jp/contact-us/aws-sales/ 49 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 50. 【補足】EC2(非VPC)とVPCとの関係 非VPCでRIを購入して、VPCでインスタンスを 起動した場合… ・非VPC/VPC間でもインスタンスタイプ・AZ等の 他条件が一致すれば、割引料金は適用される ・ただしこの場合キャパシティ保証は適用されない (RI購入時の非VPC/VPC側でのキャパシティ保証) 50 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 51. 参考:Consolidated Billing(一括決済)とRI 一括決済とは? →AWSの費用請求をまとめられるサービス 複数アカウントの費用を、1つにまとめて支払える アカウント間でRIの融通が可能 使われていない リザーブドインスタンス 条件が合えば こちらのアカウントに割引適用 参考:AWSマイスターシリーズ Reloaded AWS Billing編 51 http://slidesha.re/Q7tAMf © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 52. スポット・インスタンス 52 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 53. スポットインスタンスとは? 需要と供給の関係に基づいてリアルタイムで変動する 「スポット価格」が割当てられたインスタンス 55% 59% off off 40% off 59% off Availability Zone Availability Zone AWS Cloud 53 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 54. スポットインスタンスとは? 需要と供給の関係に基づいてリアルタイムで変動する 「スポット価格」が割当てられたインスタンス 55% 59% off off • オンデマンドインスタンスや リザーブドインスタンスの価格モデルを補完 40% off • 時間の制約がなく、中断可能なタスクの 59% off 計算コストを大幅に削減 Availability Zone Availability Zone AWS Cloud 54 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 55. スポット価格と入札 スポット価格:EC2インスタンスの需要と供給によりリアルタイムに価格が変動 入札によるインスタンス利用 • 「入札額 >= スポット価格」なら指定したインスタンスが起動 • 「入札額 < スポット価格」となるとインスタンスがターミネートされる $9で入札 $9で入札 ユーザA ユーザA $8で入札 $8で入札 ユーザB ユーザB $7で入札 $10で入札 ユーザC ユーザC スポット価格=$7.5 スポット価格=$8.5 55 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 56. スポットリクエストとインスタンス スポットリクエスト:入札条件を指定したインスタンス起動要求 • 最大で払っても良い金額 • インスタンスタイプ、など インスタンスの起動と終了 • 起動のタイミング: • スポットリクエストの条件が満たされた時点 (オンデマンドやリザーブドはリクエスト後すぐ) • 終了のタイミング: • ユーザが終了命令を出した時点 • スポット価格がスポットリクエストで指定した価格を上回った時点 課金について • インスタンス起動時から1時間毎にスポット価格にて課金 • インスタンスが強制終了された場合、1時間未満の時間に対しては課金されない 56 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 57. スポットリクエストと課金 スポット価格 入札額 課金額 単価 入札額<スポット価格 入札額>スポット価格 となったので となったので 入札額 > スポット価格 インスタンス起動 インスタンス終了 となったので インスタンス起動 <1h 時間 1h 1h 1h 強制終了時の スポットリクエスト投入 1時間未満の 57 利用分は非課金 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 58. 代表的なユースケース 複雑な解析や ビックデータ解析 シミュレーション 金融モデリング 地理空間 や経済分析 情報の解析 時間の制約がなく、 中断しても支障のない タスクを省コストで メディア プロセッシング 科学演算 開発や検証 Webクローリング 58 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 59. 顧客事例 時間の制約がなく、 中断しても支障のない タスクを省コストで 59 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 60. 顧客事例(抜粋) ビックデータ解析 300万/日の”チェックイン”のデータを解析するためにElastic Map Reduceを使用する中で、スポットインスタンスを活用 毎日たまるインターネットサービスのログを解析する中でスポッ メディアプロセッシング トインスタンスを活用し、50%のコスト削減を実現 広告メール等、画像を多用したEメールが各種クライアントでど う表示されるか解析するサービスでスポットインスタンスを活用 し、57%のコスト削減を実現 Webクローリング オンライン上のやり取りを観測して企業のイメージ調査を助ける サービスにてスポットインスタンスを活用し、66%のコスト削減 60 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 61. 大規模Webサイトでの活用事例 Webサーバのインスタンス利用状況 Auto Scale採用によるランニングコスト 用途に合わせた価格モデル採用によるコスト削減 Auto Scale採用によるインスタンス数の効率化 61 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 62. アンチパターン 停止が許されないインスタンスでの利用 • DB、ファイルサーバ等 遅延が許されないタスクでの利用 • スポットリクエストは満たされるとは限らない 止まってはいけないサービスを少数のインスタンスで実 行している場合 • 数台のインスタンスで運用される小さめのWebサイト等 • インスタンス終了時のキャパシティへの影響が大きい 62 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 63. スポット・インスタンスの利用方法 ~AWSコンソールから 63 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 64. スポット・インスタンスの利用方法 ~AWSコンソールから Request Spot Instancesにてリクエストを作 成 価格の履歴も確認できる 64 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 65. スポット・インスタンスの利用方法 ~AWSコンソールから AMI選択後、各種パラメータを設定してスポットリクエス トを作成 現在の リクエストの有効期 スポット価格 間を指定 (任意) 入札額 インスタンスが Terminateされた後に再 入札するか否か ローンチグループを設定(任意) AZグループを設定(任意) ローンチグループを指定されたイ AZグループを指定されたインスタン ンスタンスは、同一グループ内の スは単一のAZでグループ内の全ス 全スポットリクエストが満たされ ポットリクエストが満たされる場合 た時にのみ起動する。クラスタの にのみ起動する 構成等で有用 ※AZグループ、ローンチグループ等を指定すると無指定に 65 比べてリクエストが満たされる可能性は下がる © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 66. スポット・インスタンスの利用方法 ~AWSコンソールから Pricing Historyの確認 インスタンスタ イプを選択 OSタイプ を選択 66 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 67. スポット リクエストの ライフサイクル 開発者向けドキュメントより http://docs.aws.amazon.c om/AWSEC2/latest/UserG uide/using-spot-instances- bid-status.html 67 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 68. スポットリクエストの状態確認 68 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 69. スポット・インスタンスの利用方法 ~コマンドラインから Task CLI スポット価格の履歴を取得 ec2-describe-spot-price-history スポットリクエストの一覧を取得 ec2-describe-spot-instance-requests スポットインスタンスの入札をリクエスト ec2-request-spot-instances スポットインスタンスの入札をキャンセル ec2-cancel-spot-instance-requests PROMPT> ec2-request-spot-instances --price price --user-data data --instance-count count --type one-time | persistent [--valid-from timestamp] [--valid-until timestamp] [--launch-group launchgroup] 69 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 70. スポット・インスタンスの利用方法 ~各種プログラミング言語から Task API スポット価格の履歴を取得 DescribeSpotPriceHistory スポットリクエストの一覧を取得 DescribeSpotInstanceRequests スポットインスタンスの入札をリクエスト RequestSpotInstances スポットインスタンスの入札をキャンセル CancelSpotInstanceRequests // AmazonEC2Client オブジェクトを作成 Javaの例: AmazonEC2 ec2 = new AmazonEC2Client(); // スポットリクエストを初期化 RequestSpotInstancesRequest requestRequest = new RequestSpotInstancesRequest(); // 入札額を$0.03に設定 requestRequest.setSpotPrice("0.03"); … 中略 …. // RequestSpotInstance APIを呼ぶ RequestSpotInstancesResult requestResult 70 = ec2.requestSpotInstances(requestRequest); © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 71. Autoscalingにスポットインスタンス Autoscaling = 負荷に合わせて動的にインスタンスを水 平スケールさせるAWSの機能 Autoscalingのローンチコンフィグを作成時に”—spot- price”オプションを設定 > as-create-launch-config spotlc-5cents --image-id ami-XXXXXX --instance-type m1.small --spot-price "0.05" インスタンスがTerminateされても Desired Capacityを満たすよう継続的 に入札が行われる スポット価格が入札額を上回っている場 合はDesired Capacityを満たせない Scale Outパターン http://aws.clouddesignpattern.org 71 Autoscalingに関するマイスターWebinarのリンク: http://slidesha.re/KrooPC © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 72. Elastic MapReduce (EMR)に スポットインスタンス EMR = AWS上のマネージドHadoopサービス 利用シナリオ: ジョブのランニングコストを抑えたい • オンデマンドのm2.xlarge 4ノードで開始 • 処理の高速化のためスポットインスタンスで5ノード追加 スポットなしのコスト Job Flow 4 instances *14 hrs * $0.50 = $28 Job Flow Spot スポットありのコスト 4ノードで 5ノード 4 instances *7 hrs * $0.50 = $13 + 起動 追加 5 instances * 7 hrs * $0.25 = $8.75 Total = $21.75 残り時間 時間の削減効果: 50% 残り時間 14時間 7時間 コスト削減効果: ~22% EMRに関するマイスターWebinarのリンク: http://slidesha.re/LT7Ba2 72 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 73. EMR+Spotの使いどころ ユースケース Master Core Instance Task Instance Instance Group Group Group 長時間稼働のジョブ オンデマンド オンデマンド Spot フローの高速化 低コストで実行した Spot Spot Spot いジョブ クリティカルデータを オンデマンド オンデマンド Spot 扱うジョブ アプリケーションの Spot Spot Spot テスト コストを抑えつつ、利用目的にあわせて柔軟に変更可能 73 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 74. 入札戦略 課金額増大リスク  小 インスタンス終了リスク  大 1. コスト最小型 • 最低価格で入札 • インスタンス停止にはアーキテクチャで対応 2. 価格履歴順応型 • 直近の価格を観測してそれより少し高い額で入札 • オンデマンド価格より低く設定した閾値以上は入札しない 3. オンデマンドに比べて節約型 • オンデマンドの価格付近に入札 • オンデマンドより高くなったらオンデマンドに切り替え 4. 割り込みリスク最小型 • オンデマンドよりも高く入札 課金額増大リスク  大 インスタンス終了リスク  小 74 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 75. 入札戦略:コスト最小型 最低価格で入札 アプリケーション側の工夫でインスタンス停止に対応 • 例:ジョブ管理をインスタンス外のキューやDBにて行い、新 たに起動したインスタンスがジョブを引き継ぐ、など 処理時間よりもコストを重視する場合に 1時間毎の課金スロッ トのうち、Terminateさ れたスロットは課金さ れない 再開後にジョブ を継続 75 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 76. 入札戦略:価格履歴順応型 直近の価格を観測してそれより少し高い額で入札 オンデマンド価格より低く設定した閾値以上は入札し ない オンデマンドの SDKやCLIを利用した自動化で実現 価格より低く設 定した閾値 Vimeoはこの戦 略で月によって 価格履歴から決 は50%のコスト 定する入札額 節減を実現 (参考資料) 76 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 77. 入札戦略:オンデマンドに比べて節約型 オンデマンドの価格付近に入札 オンデマンドより高くなったらオンデマンドに切り替 え • システムのキャパシティを維持しつつコストを節約 オンデマンド価 格。ここを超えたら オンデマンドで起 動 緑で示した部分が オンデマンドに比べ た節約分に相当 77 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 78. 入札戦略:割り込みリスク最小型 オンデマンドよりも高く入札 • 課金額がオンデマンドを超えるリスクを取りつつ • 平均的にはコストを節約 • インスタンスは高い確率で継続稼働 一時的にオンデ マンドを超える 課金も Litmusはこの戦 略で57%のコスト 節減を実現 平均的には 大きくコスト を節約 78 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 79. まとめ 79 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 80. 用途に合わせて選べる AWSのご利用オプション オンデマンド・インスタンス(通常はこちら) • 初期費用ゼロ・コミットなし・時間課金 リザーブド・インスタンス(オプション) • 予約金の支払で時間単価の割引・キャパシティの予約 • 年間を通して大幅な費用削減が可能 スポット・インスタンス(オプション) • 初期費用ゼロ • スポット価格(需要と供給によりリアルタイムに変動)で課金 • 最大で払ってもいい額を決定して「入札」 • 「入札額 >= スポット価格」 インスタンスが利用可 • 「入札額<スポット価格」インスタンスがターミネート 80 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 81. オンデマンド以外オプションの用途 リザーブド・インスタンス • 年間通して多くの時間起動しているインスタンス • 常時稼動のDBサーバ • 最低限必要なWeb/APサーバ等 スポット・インスタンス • 時間の制約がなく、中断しても支障のないタスク を実行するインスタンス • Webクローラ • 分散処理のタスクノード等 用途に合わせたオプションの利用でコストの最適化を! 81 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 82. Appendix 参考資料 • サービス別リザーブドインスタンス価格表 • EC2 – http://aws.amazon.com/jp/ec2/reserved-instances/ • RDS – http://aws.amazon.com/jp/rds/reserved-instances/ • ElastiCache – http://aws.amazon.com/jp/elasticache/reserved-cache- nodes/ • スポットインスタンス最低価格表 • http://aws.amazon.com/jp/ec2/spot-instances/ • AWSマイスターシリーズ Reloaded AWS Billing編 • http://www.slideshare.net/AmazonWebServicesJapan/ awsaws-billing 82 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 83. 83 © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.