More Related Content
PDF
AWS Black Belt Online Seminar AWS Amplify PDF
20200630 AWS Black Belt Online Seminar Amazon Cognito PDF
20200219 AWS Black Belt Online Seminar オンプレミスとAWS間の冗長化接続 PDF
20201111 AWS Black Belt Online Seminar AWS CodeStar & AWS CodePipeline PDF
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用 PDF
20200721 AWS Black Belt Online Seminar AWS App Mesh PPTX
PDF
AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!) What's hot
PDF
20190723 AWS Black Belt Online Seminar AWS CloudHSM PDF
20200212 AWS Black Belt Online Seminar AWS Systems Manager PDF
20200303 AWS Black Belt Online Seminar AWS Cloud Development Kit (CDK) PDF
20210526 AWS Expert Online マルチアカウント管理の基本 PDF
AWS Black Belt Online Seminar 2017 Amazon Kinesis PDF
[AKIBA.AWS] VPCをネットワーク図で理解してみる PDF
20190911 AWS Black Belt Online Seminar AWS Batch PDF
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介 PDF
AWSにおけるバッチ処理の ベストプラクティス - Developers.IO Meetup 05 PDF
20190129 AWS Black Belt Online Seminar AWS Identity and Access Management (AW... PDF
20200811 AWS Black Belt Online Seminar CloudEndure PDF
20190130 AWS Black Belt Online Seminar AWS Identity and Access Management (AW... PDF
AWS BlackBelt Online Seminar 2017 Amazon CloudFront + AWS Lambda@Edge PDF
20200930 AWS Black Belt Online Seminar Amazon Kinesis Video Streams PDF
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model PPTX
DeNA の AWS アカウント管理とセキュリティ監査自動化 PDF
AWS Black Belt Techシリーズ Amazon EBS PDF
AWS初心者向けWebinar これで完璧、AWSの運用監視 PDF
20210119 AWS Black Belt Online Seminar AWS CloudTrail PDF
20191218 AWS Black Belt Online Seminar AWSのマネジメント&ガバナンス サービスアップデート Similar to [AWSマイスターシリーズ] AWS Billingについて
PDF
PDF
PDF
[AWSマイスターシリーズ] リザーブドインスタンス&スポットインスタンス PDF
[AWSマイスターシリーズ]Amazon Simple Storage Service (S3) PDF
PDF
PDF
JAWS-UG 広島 第1回勉強会 イノベーションの創出を支える アマゾンクラウドのご紹介 PDF
PDF
PDF
PDF
【15-B-1】AmazonのDevOpsを支えるAWSクラウド PDF
AWSマイスターシリーズReloaded -Amazon Glacier- PDF
Aws提案して、採用されました〜小規模webサービス編 PDF
PDF
Windows Azure Pricing - 2010-05-21 PDF
[AWSマイスターシリーズ] AWS Billingについて PDF
Aws summits2014 ガンホー・オンライン・エンターテイメント_スマホゲームを支えるインフラ運用 PDF
JAWS-UG 仙台 2013 Spring 発表資料 「クラウド時代の考え方 - アマゾンクラウドのご紹介 -」 PPTX
PDF
はじめてのAWS at JAWS-UG 岡山 第1回勉強会 More from Amazon Web Services Japan
PDF
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM) PDF
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS PDF
202204 AWS Black Belt Online Seminar AWS IoT Device Defender PDF
Infrastructure as Code (IaC) 談義 2022 PDF
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現 PDF
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap... PDF
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート PPTX
20220409 AWS BLEA 開発にあたって検討したこと PDF
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf PDF
Amazon QuickSight の組み込み方法をちょっぴりDD PDF
マルチテナント化で知っておきたいデータベースのこと PDF
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ PDF
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介 PDF
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles PDF
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために PDF
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨ PPTX
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介 PDF
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介 PDF
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ... PDF
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ [AWSマイスターシリーズ] AWS Billingについて
- 1.
AWSマイスターシリーズ
Reloaded
AWS Billingについて
2013.1.30
ソリューション アーキテクト
舟崎 健治 玉川 憲
© 2012 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アカウントの課金を束ねる方法と、その注
意事項を理解する
2
© 2012 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の各サービスの料金体系の詳細
Billing Alertsの詳細
Reserved, Spotインスタンスの詳細
3
© 2012 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.
Agenda
1. AWSの課金について
2. Consolidated Billing
3. Programmatic Billing Access
4. Detailed Billing Report
5. Cost Allocation and Tagging
6. まとめ
4
© 2012 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の課金について
5
© 2012 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は従量課金モデル
初期投資が不要 実際の使用分
のみ支払い
低額な変動
価格
6
© 2012 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の従量課金の対象
仮想サーバ
Amazon EC2 = 約2.4円~186円 / 時間
1core 1.7GB 月約6,000-
クラウドストレージ
Amazon = 約1円~13.5円/ 1GB
EBS/S3/Glacier / 1ヶ月
1TBで約9,000
データ転送 = 約18円 / 1GB
(上りは無料) (月1GBまでは無料)
7
7
※1ドル= 90円で計算 東京リージョン 2013年1月現在
© 2012 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の従量課金の考え方
例
• S3に1か月間100GB、その内1日だけ200GB保存した場合
200GB 1GBあたり9円
1日100GB分の追加
9 x 100 x 1 / 30 日 = 30円
100GB
9 x 100 = 900円
合計:900 + 30 = 930 円
30日 12+
8
© 2012 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.
どのくらい課金されているか確認する方法
アカウントアクティビティページ Invoice PDF
左のページ、
今月と過去の利用量を確認できる
もしくはメールで取得可能
9
© 2012 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.
課金の支払い方法
クレジットカードによる支払いが基本
• 個人・法人どちらのクレジットカードも利用可能
パーチェシングカード
請求書による振り込み
• 弊社営業へお問い合わせください。
※金額は全て米ドル。円建ての決済は不可
※円建てまたは請求書振り込みの代行サービスを提供する
サードパーティ事業者様もいらっしゃいます。
10
© 2012 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インスタンス
研究部署
AMI
クレジットカード
AWS Cloud
11
© 2012 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の利用の一例
EC2インスタンス
研究部署
AMI
クレジットカード
AWS Cloud
12
© 2012 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.
AWSの利用の一例
EC2インスタンス
研究部署
AMI
クレジットカード
開発部署
AWS Cloud
13
© 2012 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.
アカウントの課金を合算
Consolidated Billing AWSの利用の一例
EC2インスタンス
研究部署
AMI
クレジットカード
開発部署
AWS Cloud
14
© 2012 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.
アカウントの課金を合算
Consolidated Billing AWSの利用の一例
EC2インスタンス
研究部署
AMI
プロジェクトごとの利用額が
知りたい
クレジットカード
Cost Allocation and
Tagging
開発部署
エンドユーザー
構築部署
AWS Cloud
15
© 2012 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.
アカウントの課金を合算
Consolidated Billing AWSの利用の一例
利用料金をおさえたい EC2インスタンス
研究部署 Alert
Billing
AMI
プロジェクトごとの利用額が
知りたい
クレジットカード
Cost Allocation and
Tagging
開発部署 1時間ごとの利用料金を見たい
Detailed Billing Report
エンドユーザー
構築部署
AWS Cloud
16
© 2012 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.
ご参考:Billing Alert
AWSの利用料金の見積りを監視して通知することが可能
• 合計の見積り料金
• 各サービスごとの見積り料金
Consolidated Billingの
• 各子アカウントごとの見積り料金 場合
• 各子アカウント/サービスごとの見積り料金
http://docs.aws.amazon.com/AmazonCloudWatch/latest/Develope
rGuide/monitor_estimated_charges_with_cloudwatch.html
17
© 2012 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.
ご参考:Reserved Instance(RI)
事前に予約金をお支払い頂き、その代わりに1時間あた
りのインスタンス起動料金を大幅に割り引く仕組み
OnDemand
積算 Instance
料金 長期間起動する場合は
Reserved Instanceが
安くなる
Reserved
予約金 Instance
期間
18
© 2012 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.
Consolidated Billingについて
19
© 2012 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.
Consolidated Billingとは
AWSの費用請求をまとめられるサービス
複数アカウントの費用を、1つにまとめて支払える
請求アカウント 全アカウントの費用がま
とめて請求される
子アカウント
子アカウント
20
© 2012 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.
Consolidated Billingのメリット
支払いの一元化が可能
アカウントごとの利用明細の確認が可能
通信量やデータ量は全アカウントを合算
• 合算後の量によっては、ボリュームディスカウントが可能
リザーブドインスタンスの費用の融通が可能
• あるアカウントで買ったリザーブドインスタンスを使っていな
ければ、別のアカウントに自動でリザーブドの割引が適用
21
© 2012 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.
ボリュームディスカウント
いくつかのAWSのサービスでは、多く利用すると価格
を下げることが可能
Consolidated Billingにより、複数のアカウントの利用
量を合算して、ボリュームディスカウントを受けること
が可能
①最初の10TB:$0.17 / GB
データ転送料金 ②次の40TB :$0.13 / GB
12 TB
Bob Susan ② ② $0.13 x 1024GB x 2TB =
8 TB $266.24
① ① $0.17 x 1024GB x 10TB =
4 TB
$1740.80
合計 $2007.04
http://docs.aws.amazon.com/ja_jp/awsaccountbilling/latest/about/cons
olidatedbilling.html#useconsolidatedbilling-discounts
22
© 2012 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.
Consolidated Billingと
Reservedインスタンス(RI)について
請求
アカウント RI : 0 個
(Bob)
子
アカウント RI : 5 個
(Susan)
RI : $0.02 / 時間、通常インスタンス:$0.10 / 時間
23
© 2012 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.
Consolidated Billingと
Reservedインスタンス(RI)について
請求
アカウント RI : 0 個
(Bob)
子
アカウント RI : 5 個
(Susan)
RI : $0.02 / 時間、通常インスタンス:$0.10 / 時間
注意:同じ種類のインスタンスを選択する
• 同じインスタンスタイプ、AZ、Linux/Windows
24
© 2012 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.
Consolidated Billingと
Reservedインスタンス(RI)について
請求
アカウント RI : 0 個
(Bob)
子
アカウント RI : 5 個
(Susan)
RI : $0.02 / 時間、通常インスタンス:$0.10 / 時間
注意:同じ種類のインスタンスを選択する
• 同じインスタンスタイプ、AZ、Linux/Windows
25
© 2012 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.
Consolidated Billingと
Reservedインスタンス(RI)について
請求
アカウント RI : 0 個 RI $0.02 x 5 = $0.10
(Bob) 通常
$0.10 x 4 = $0.40
インスタンス
子 合計 0.50
アカウント RI : 5 個 平均
$0.50 / 9 =
(Susan) 0.055555
RI : $0.02 / 時間、通常インスタンス:$0.10 / 時間
注意:同じ種類のインスタンスを選択する
• 同じインスタンスタイプ、AZ、Linux/Windows
26
© 2012 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.
Consolidated Billingと
Reservedインスタンス(RI)について
請求
アカウント RI : 0 個 RI $0.02 x 5 = $0.10
(Bob) 通常
$0.10 x 4 = $0.40
インスタンス
子 合計 0.50
アカウント RI : 5 個 平均
$0.50 / 9 =
(Susan) 0.055555
RI : $0.02 / 時間、通常インスタンス:$0.10 / 時間 Blended rate
注意:同じ種類のインスタンスを選択する
• 同じインスタンスタイプ、AZ、Linux/Windows
27
© 2012 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.
Blended rateとUnblended rate
Blended rate
• 連結アカウント間の同じ種類のリソースの平均
利用料金
Unblended rate
• 元々の利用料金
Consolidated Billing適用時はBlended
rateが優先される
Detailed Billing Reportに表示されている
28
© 2012 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.
Blended rateとUnblended rateの料金
比較例
t1.microインスタンスを利用した場合
積算
Unblended rate
料金
Unblended rate: 0.027
Blended rate: 0.009107
Blended rate ※期間中にrateの変更が
なかった場合
期間
29
© 2012 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.
Consolidated Billing利用までの流れ
請求アカウントを
決定
子アカウントに送られた
メールで承諾
子アカウントを作成
(既存アカウント可)
請求アカウントから
子カウントへ通知
コンソリデート成立
(専用画面からメール送
付)
※設定方法の詳細はAPPENDIXに掲載
30
© 2012 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.
Consolidated Billingの有効期間
子アカウント支払期間 親アカウント支払期間 子アカウント支払期間
3/1 子アカウント 4/1 子アカウント
追加 解除
子アカウント追加・解除は即時反映される
• 追加時は子アカウントが追加リクエストをメールで受信。追加
を許可した時点で支払が統合される。
31
© 2012 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.
Consolidated Billingの注意事項
全アカウントの課金の合算に対して1アカウント分の無料枠
のみ適用
請求アカウントの明細の金額≠全アカウントの配分の合計、
となる場合あり 配分コストは小数点以下6桁まで。
繰り上げはされない。
■上回る場合
明細項目は小数点第二
位以下が丸められる
$0.01未満の場合は
$0.01に繰り上げ
■下回る場合
およそ$0.01の誤差が
発生する可能性あり
32
© 2012 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.
Programmatic Billing Access/
Detailed Billing Report /
Cost Allocation and Taggingについて
33
© 2012 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.
サービス間の連携イメージ
Amazon S3
Bucket
Detailed Billing Cost Allocation and
Report CSV File Tagging Report CSV File
Programmatic Billing
Access
Detailed Billing Cost Allocation
Report and Tagging
34
© 2012 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.
Programmatic Billing Accessとは
Amazon S3のAPIを使って、S3 bucketに格納される
billingデータ(CSVファイル)を参照することができる機能
Programmatic
Billing Accessを
許可するACLを
設定
35
© 2012 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.
Programmatic Billng Accessによる
Bucketへのアクセス権限許可の例
ここではAWSアカウント
のroot権限にGet, Put
の権限を与えている
36
© 2012 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.
Programmatic Billing Accessの
メリット
CSVであるため、Excel等で読み込むことができる
S3 APIを使って、billingデータを参照するアプリケー
ションを作ることができる
IAMと併用して、経理専用アカウントを作成可能
37
© 2012 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.
Programattic Billing Accessによって
出力されるCSVファイルの例
38
© 2012 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.
Programmatic Billing Accessの詳細
CSVファイル形式:
• <account-id>-aws-billing-csv-yyyy-mm.csv
指定したS3 bucketに格納
Monthly CSV Reportは、月の最後のレポートが生成さ
れるまで、定期的に上書きされる。
過去の月のレポートはbucket内にそのまま残る
39
© 2012 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.
Detailed Billing Reportとは
CSV形式でbillingデータの詳細情報を持つレポート
新たに追加された項目
• 1時間ごとの利用量情報
• Reserved Instanceの適用有無
• Blended rateおよびUnblended rate
40
© 2012 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.
Detailed Billing Reportのメリット
オンデマンドおよびリザーブドインスタンスの利用分析
が可能
Blended rateとUnblended rateの価格の差異により、
どれだけディスカウントされているかを把握可能
41
© 2012 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.
Detailed Billing Reportの詳細
指定したS3 Bucketに保存される。
ファイル形式:
• <account-id>-aws-billing-detailed-line-items-yyyy-
mm.csv
• S3 Bucket上ではZIPで圧縮されている。
1日に複数回更新される
設定方法はAPPENDIXに掲載
42
© 2012 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.
Detailed Billing Reportに含まれる
主な項目(一部を除く)
請求ID チャージの開始日時
支払いアカウントID チャージの終了日時
支払アカウント名 使用量
リンクアカウントID Reserved Instanceの
リンクアカウント名 適用有無
アベイラビリティゾーン BlendedRate
製品名 Blendedコスト
利用タイプ UnBlendedRate
オペレーション Unblendedコスト
トータルコスト
43
© 2012 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.
Detailed Billing Reportで出力される
CSVファイルの例
Reserved Blended / Unblended
Instance rate, Cost
44
© 2012 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.
Detailed Billing Reportの1行の例
(一部を除く)
請求ID 12345678 (or Estimated)
支払いアカウントID 00000000000
リンクアカウントID 111111111111
アベイラビリティゾーン ap-northeast-1b
製品名 Amazon Elastic Compute
Cloud
利用タイプ APN1-BoxUsage:t1.micro
オペレーション RunInstances
Reserved Instance N
利用開始日時 2013/01/16 15:00:00
利用終了日時 2013/01/16 16:00:00
45
© 2012 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.
Detailed Billing Reportの1行の例
(一部を除く)の続き
利用量 2
Blended rate 0.009107
Blended cost 0.018214
Unblended rate 0.027
Unblended cost 0.054
46
© 2012 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.
Detailed Billing Reportの注意事項
Billing PreferenceでProgrammatic Billing Accessを有
効にする必要あり
CSVレポートファイルが数百MBまたは数GBを越えるこ
とがある
• Excel等で開けない場合がある
• DBにImport等する際に、そのサイズを小さくするには、
Paying Account Name等の毎回同じように表示される項目を含
めないようにすると良い。
47
© 2012 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.
Cost Allocation andTaggingとは
AWSの課金を追跡、まとめることが出来る機能
• 1.AWSリソースにタグ付け
Project = TestProject1
Owner = Bob TagはKeyとValueからなる
• 2.Tag付けされたリソースの利用量をS3 bucket内のCSVレ
ポートに出力
ProductCode Operation Total user:Project user:Owner
・・・
AmazonEC2 RunInstances 1.645 TestProject1 Bob
48
© 2012 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.
Cost Allocation andTaggingのメリット
好きなTag付けにより自由に項目追加が可能
• Excelのピボットテーブル機能を使うと、以下のように項目ごと
に料金を合算できる
行ラベル 合計 / Total Cost
Project1 30
Project2 55
Total Cost user:Project user:Owner 総計 85
10 Project1 Bob
行ラベル 合計 / Total Cost
5 Project1 Susan Project1 30
15 Project1 Susan Bob 10
30 Project2 Mike Susan 20
Project2 55
25 Project2 Bob Bob 25
Mike 30
総計 85
49
© 2012 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.
Cost Allocation Reportに項目を
載せる方法
1. Cost Allocation and Taggingを有効にする
※設定方法はAPPENDIXに掲載
2. Cost Allocation Reportページへ移動
3. 載せたい項目(Key)を選択する。
※Keyは既に使用済みのものをリストアップしている
50
© 2012 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.
Cost Allocation andTaggingで
出力されたCSVファイルの例
51
© 2012 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.
Cost Allocation andTaggingの注意事項
Tag付け可能なAWSリソース:
• EC2 / EBS / S3 / RDS / VPC / CloudFormation
割り当てられるTagの数は1リソースに10個まで
Programmatic Billing Accessを有効にする必要あり
アカウントアクティビティページ上では表示されない。
52
© 2012 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.
まとめ
53
© 2012 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.
まとめ
課金の支払い方法は?
• 基本はクレジットカード
• 他にもいくつかオプションがある
複数のアカウントをまとめたい
• Consolidated Billing
• ボリュームディスカウントも受けられる。
課金の情報をプログラムで取得したい
• Programmatic Billing Access
54
© 2012 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.
まとめ
1時間ごとの利用料金を見たい
• Detailed Billing Report
• Reserved Instanceの利用状況を知ることが可能
• Blended rate、Unblended rateにより、どのくらいのボリューム
ディスカウントを受けているか知ることが可能
ユーザーごと、プロジェクトごとの課金状況を知りたい
• Cost Allocation and Tagging
• 使用するリソースにタグ付けすることで、レポートにそのリソース
の課金状況を出力できる
55
© 2012 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.
ご参考:見積りツール
Simple Monthly Calculator
• http://calculator.s3.amazonaws.com/calc5.html?lng=ja_JP
56
© 2012 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.
ご参考:Trusted Advisor
お客様のAWS環境を精査し、コスト削
減等の推奨事項をお知らせする機能
サポートレベルが「ビジネス」または
「エンタープライズ」以上の場合に、
サポートセンター経由でアクセス可能
RI, EC2インスタンス、EBS等100
個を超えるチェック項目を持つ
多くのお客様にAWSのサービスを適用
してきたベストプラクティスが適用さ
れている
57
© 2012 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.
Links
AWS Documentation
• http://docs.aws.amazon.com/awsaccountbilling/latest/ab
out/welcome.html
58
© 2012 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.
APPENDIX
59
© 2012 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.
Consolidated Billingの設定方法
請求アカウントでログインし、「一括決済」を選択
60
© 2012 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.
Consolidated Billingの設定方法
Consolidated Billingにサインアップする。
61
© 2012 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.
Consolidated Billingの設定方法
暫くすると、verification completeのメールが届く。
• 親アカウントが正しいPayment method, コンタクト確認済み
の電話番号を持っている必要がある
62
© 2012 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.
Consolidated Billingの設定方法
子アカウントに対して、リクエストを送信
子アカウントのメールアド
レス
63
© 2012 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.
Consolidated Billingの設定方法
子アカウントにAWSからメールが配信される
64
© 2012 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.
Consolidated Billingの設定方法
子アカウントでリクエストを確認
65
© 2012 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.
Consolidated Billingの設定方法
コンソリデート成立
66
© 2012 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.
コンソリ後
請求アカウントに、子アカウントの費用が追加で表示さ
れる。
67
© 2012 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.
Programmatic Billing Accessの
設定方法
Account Acitivityページへアクセス
68
© 2012 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.
Programmatic Billing Accessの
設定方法
Monthly Reportを有効化
69
© 2012 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.
Programmatic Billing Accessの
設定方法
Programmatic Billing Accessを有効化
70
© 2012 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.
Programmatic Billing Accessの
設定方法
下記のAccess Policy(JSON形式)をコピー
71
© 2012 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.
Programmatic Billing Accessの
設定方法
Management ConsoleのS3画面でadd bucket policy
72
© 2012 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.
Programmatic Billing Accessの
設定方法
Management ConsoleのS3画面でadd bucket policy
73
© 2012 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.
Programmatic Billing Accessの
設定方法
Access Policy(JSON)を貼り付け
74
© 2012 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.
Programmatic Billing Accessの
設定方法
該当するS3 bucket名を入力
75
© 2012 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.
Programmatic Billing Accessの
設定方法
S3へのテスト書き込みが問題なければ以下のように有効
化が成功する
76
© 2012 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.
Programmatic Billing Accessの
設定方法
該当bucketの中身を見ると、テスト書き込み用のテキス
トが作成されている。
後日該当bucketの中身を見ると、Monthly Reportが出
力されている。
77
© 2012 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.
Detailed Billing Reportの
設定方法
Programmatic Billing Accessが有効になった状態で、
Detailed Billing Reportを有効化する
78
© 2012 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.
Detailed Billing Reportの
設定方法
以下のような画面が表示されれば有効化成功
79
© 2012 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.
Cost Allocation andTaggingの設定方法
Programmatic Billing Accessが有効になった状態で、
Cost Allocation and Taggingを有効化する
80
© 2012 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.
Cost Allocation andTaggingの設定方法
以下のような画面が表示されればCost Allocation and
Taggingを有効化成功
81
© 2012 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.
Cost Allocation andTagging設定後
Manage Cost Allocations Reportをメニューから選択、
どの項目をレポートに載せるかを選択する
• 項目は既にリソースにタグ付けされているものがリストアップ
されている。
82
© 2012 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.