• 検索結果がありません。

re:generate AWS Billing について アマゾンデータサービスジャパン株式会社 ソリューションアーキテクト 吉荒祐 一 舟崎健治平 山毅 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not b

N/A
N/A
Protected

Academic year: 2021

シェア "re:generate AWS Billing について アマゾンデータサービスジャパン株式会社 ソリューションアーキテクト 吉荒祐 一 舟崎健治平 山毅 2012 Amazon.com, Inc. and its affiliates. All rights reserved. May not b"

Copied!
95
0
0

読み込み中.... (全文を見る)

全文

(1)

AWS  Billingについて

アマゾン  データサービス  ジャパン株式会社

ソリューションアーキテクト

吉荒  祐⼀一  ⾈舟崎  健治  平⼭山  毅  

re:Gen

erate

(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.

2

Agenda

!  

AWSの課⾦金金について

!  

AWS無料料利利⽤用枠について

!  

Billing  Alertについて

!  

AWS  Billing  Consoleについて

!  

Consolidated  Billingについて

!  

Billing  Reportについて

(3)
(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.

4

AWS

は従量量課⾦金金モデル

初期投資が不不要

実際の使⽤用分

のみ⽀支払い

低額な変動

価格

(5)

本⽇日の⽬目標

!  

Billingを理理解して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.

6

!  

例例

• 

S3に1か⽉月間100GB、その内1⽇日だけ200GB保存した場合

AWSの従量量課⾦金金の考え⽅方

30⽇日

100GB

200GB

1GBあたり10円

10  x  100  =  1,000円

1⽇日100GB分の追加

10  x  100  x  1  /  30  ⽇日  =  33円

合計:1000  +  33  =  1033  円

(7)

どのくらい課⾦金金されそうか

簡易易⾒見見積りツール

!  

Simple  Monthly  Calculator

(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.

8

どのくらい課⾦金金されているか確認する⽅方法

!  

Billing  Console画⾯面で確認(後述)

• 

https://console.aws.amazon.com/billing/home

• 

!  

Billing  Report(CSV)をダウンロードして確認(後述)

(9)
(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.

10

AWS無料料利利⽤用枠とは

!  

AWSにサインアップした⽇日から12か⽉月間利利⽤用可能

!  

新規サインアップ後、12か⽉月以内にAWSのサービスを利利⽤用、

それが無料料利利⽤用枠に該当すれば、利利⽤用料料⾦金金が⾃自動的に無料料

となる

(11)

AWS無料料利利⽤用枠が利利⽤用可能なサービス

!  

詳細ページ:  

http://aws.amazon.com/jp/free/

(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.

12

AWS無料料利利⽤用枠の例例:

Amazon  EC2  /  EBS

EC2  

インスタンス

EBS

Volume

750時間  /  ⽉月

Amazon  Linux/UNIX、

RHEL  または  SLES

マイクロインスタンス

750時間  /  ⽉月

Windows

マイクロインスタンス

30GB  /  ⽉月

EBSストレージ

200万IO  /  ⽉月

1GB  /  ⽉月

EBSスナップショット

+すべてのAWS  サービスを総合して、

AWSから外部へのデータ送信(アウ

ト)の合計が15GB  /  ⽉月無料料

(13)

AWS無料料利利⽤用枠の例例:

Amazon  S3

5GB  /  ⽉月

S3標準ストレージ

20,000  GET

リクエスト/  ⽉月

2,000  PUT

リクエスト/  ⽉月

Amazon  S3

Bucke

t

(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.

14

無料料利利⽤用枠で構築可能なシステムの例例

AWS  Cloud

Elastic  Load

Balancing

Instance

EBS

Volume

10GB

RDS  DB  

Instance

DynamoDB

ElastiCache  

Cache  Node

Instance

EBS

Volume

8GB

SQS

Queue

Instance

Topic

SNS

10GB

EBS

Volume

8GB

10GB

S3  Bucket

AWS  Data  Pipeline

Amazon  Elastic  

Transcoder

(15)

無料料利利⽤用枠で構築可能なシステムの例例

Elastic  Load

Balancing

Instance

EBS

Volume

10GB

RDS  DB  

Instance

DynamoDB

ElastiCache  

Cache  Node

RDS  MySQL

t1.micro  750時間

20GBストレージ

MutliAZなし

Instance

EBS

Volume

8GB

EC2インスタンス  3  台

t1.micro  250時間

10GB  EBSボリューム

SQS

Queue

Instance

Topic

SNS

DynamoDB

100MBストレージ

5ユニットの書き込み容量量

10ユニットの読み込み容量量

(12か⽉月経過後も有効)

ElastiCache

1キャッシュノード

t1.micro  750時間

10GB

EBS

8GB

10GB

データ転送

すべてのAWSサービス

を総合して、帯域幅

「送信(アウト)」

15GB

ELB  1ロードバランサ

750時間

15GB分のデータ処理理

Data  Pipeline

1か⽉月に3回という低頻度度

の前提条件、1か⽉月に5回

という低頻度度のアクティ

ビティ

AWS  Data  Pipeline

Amazon  Elastic  

Transcoder

Elastic    Transcoder

SDトランスコード20分

(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.

16

無料料利利⽤用枠の注意事項

!  

無料料利利⽤用枠に該当しないサービスを利利⽤用すると⾃自動的に

課⾦金金される

!  

1カ⽉月あたりの無料料使⽤用枠を全て使いきれなかったとし

ても、翌⽉月に無料料使⽤用枠は繰り越されない。

!  

無料料利利⽤用枠を超えると、⾃自動的に利利⽤用が停⽌止される機能

は現状提供されていない。

• 

課⾦金金が発⽣生したらBilling  Alertを出すことは可能。

• 

Billing  Alertを使って⾃自動的に利利⽤用停⽌止させるには作りこみが必要

(17)
(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.

18

Billingに関するBest  Practice

!  

課⾦金金情報へのアクセスを管理理する

• 

課⾦金金情報は親アカウントだけでアクセスする

• 

利利⽤用者はIAMユーザーでAWSを利利⽤用する

!  

Consolidated  billingで⼀一つのアカウントに課⾦金金を集約

• 

複数の「⼦子アカウント」の課⾦金金情報を⼀一つのアカウントに集約して

管理理する

!  

Billing  AlertとBilling  Reportを使⽤用する

• 

Amazon  CloudWatchの通知を使⽤用して課⾦金金が⼀一定額に達すること

を監視する

• 

Amazon  S3にCSVレポートを出⼒力力し課⾦金金状況を分析する

(19)

課⾦金金情報へのアクセス管理理

!  

AWSウェブサイトを  AWS  Identity  and  Access  

Management(IAM)と統合し、ユーザーに対し、請求情報

のアクセス権限を与えることが可能

!  

アカウントアクティビティページおよび使⽤用状況レポート

ページのアクセスコントロールが可能

!  

3つのステップ

• 

セキュリティの質問を設定

• 

AWS  ウェブサイトへのアクセスをアクティベート

• 

IAM  ユーザー⽤用カスタムポリシーを作成

!  

詳細は下記から

(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.

20

Trusted  Advisor

!  

お客様のAWS環境を精査し、コスト

削減等の推奨事項をお知らせする機能

!  

通知設定も可能

!  

サポートレベルが「ビジネス」または

「エンタープライズ」以上の場合に、

サポートセンター経由でアクセス可能

!  

RI,  EC2インスタンス、EBS等100

個を超えるチェック項⽬目を持つ

!  

多くのお客様にAWSのサービスを適

⽤用してきたベストプラクティスが適⽤用

されている

(21)

Billing  Alertとは

!

CloudWatchでBillingを監視し、しきい値を越えたら

Alertを出すことができる機能

• 

Billing  Alertの設定はNorth  Virginia  Regionを指定

!  

しきい値を越えたら、SNSを使って通知可能

(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.

22

CloudWatchで監視可能な

Billingのメトリクス

!  

トータルの⾒見見積り額

!  

サービスごとの⾒見見積り額(※1)

!  

⼦子アカウントごとの⾒見見積り額(※2)

!  

⼦子アカウントのサービスごとの⾒見見積り額

※1⾒見見積り額を監視可能なサービス:利利⽤用開始後に選択可能に

DataTransfer

QueueService

SupportBusiness

CloudFront

CloudSearch

DynamoDB

EC2

ElastiCache

Glacier

Kinesis

RDS

Route53

S3

SNS

VPC

DataPipeline

ElasticMapReduce

SimpleDB

※2  ⼦子アカウントとはConsolidated  Billing(後述)により統合されたアカウ

ントのこと

(23)

コンソリされた  ⼦子アカウント

の利利⽤用状況のグラフ化

!  

⼦子アカウントの利利⽤用状況を選択し、グラフでそれぞれの

(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.

24

予期せずに利利⽤用料料⾦金金が発⽣生する場合の例例

!  

Auto  Scalingグループで最⼩小台数が1台以上設定時に、

⼿手動でインスタンスを停⽌止したが、再度度Auto  Scalingに

より⾃自動起動してきた場合

!  

インスタンスをterminateしたが、EBSボリュームの

delete  on  terminationをONにしていない場合

!  

Elastic  IPを付与済みのインスタンスを停⽌止したが、使

(25)

Billing  Alertの活⽤用

!  

料料⾦金金の

上限

を守らなければならない場合

!  

コストの管理理を

タイムリー

に⾏行行いたい場合

!  

無料料利利⽤用権

の範囲内で利利⽤用したい場合

• 

アカウント新規開設時の無料料利利⽤用枠

• 

Education  Grant、AWS  Activate等の無料料利利⽤用枠

!  

ほとんど全てのお客様に有益

(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.

26

Billing  Alertの設定

!  

AWS  Management  Console

• 

CloudWatch  Dashboard

• 

N.Virginiaリージョン選択

(27)
(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.

28

(29)
(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.

30

AWS  Billing  Consoleとは

!  

AWSでどのくらいの⾦金金額を使っているのかをGUIで簡単

に⾒見見ることが可能

!  

⽇日本語含め8つの⾔言語で利利⽤用可能

!  

料料⾦金金や⽀支払い⽅方法の管理理インタフェースを提供

• 

⽀支払履履歴や未払い料料⾦金金の⽀支払い処理理も可能

Management  

Consoleでこ

こをクリック

(31)
(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.

32

請求書画⾯面

CSV形式で

ダウンロード可能

過去の請求書を表⽰示可能

サービスごとの利利⽤用料料⾦金金

(33)

お⽀支払履履歴画⾯面

(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.

34

(35)
(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.

36

インスタンスの利利⽤用状況レポート画⾯面

!  

利利⽤用しているインスタンスのタイプやそのコストのトレ

ンドを可視化可能

!  

さまざまなフィルターを⽤用いて利利⽤用状況を表⽰示可能

フィルタ項⽬目

(37)

リザーブドインスタンスの

利利⽤用状況レポート画⾯面

(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.

38

(39)

Programmatic  Billing  Accessを

有効にする⽅方法

!  

Billing  Consoleのメニューの設定画⾯面で以下のように設

(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.

40

各種Billing  Reportを有効にする⽅方法

!  

Programmatic  Billing  Accessを有効にした後で、該当

(41)
(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.

42

Consolidated  Billingとは

!  

AWSの費⽤用請求をまとめられるサービス

!  

複数アカウントの費⽤用を、1つにまとめて⽀支払える

請求アカウント

子アカウント

子アカウント

全アカウントの費⽤用が

まとめて請求される

(43)

Consolidated  Billingのメリット

!  

⽀支払いの⼀一元化が可能

!  

アカウントごとの利利⽤用明細の確認が可能

!  

通信量量やデータ量量は全アカウントを合算

• 

合算後の量量によっては、ボリュームディスカウントが可能

!  

リザーブドインスタンスの費⽤用の融通が可能

• 

あるアカウントで買ったリザーブドインスタンスを使っていな

ければ、別のアカウントに⾃自動でリザーブドの割引が適⽤用

(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.

44

ボリュームディスカウント

!  

いくつかのAWSのサービスでは、多く利利⽤用すると価格を

下げることが可能

!  

Consolidated  Billingにより、複数のアカウントの利利⽤用

量量を合算して、ボリュームディスカウントを受けること

が可能

http://docs.aws.amazon.com/ja_̲jp/awsaccountbilling/latest/about/

consolidatedbilling.html#useconsolidatedbilling-‐‑‒discounts

S3データ転送料料⾦金金  東京リージョンの例例

①最初の10TB :$0.201  /  GB

②次の40TB         :$0.158  /  GB

8  TB

4  TB

12  TB

②  $0.13  x  1024GB  x  2TB  =

$323.584

①  $0.17  x  1024GB  x  10TB  =

(最初の1GB無料料)    

$2058.039

     合計 $2381.623

Bob

Susan

(45)

Consolidated  Billingと

Reservedインスタンス(RI)について

RI  :  0  

請求

アカウント

(Bob)

RI  :  5  

⼦子

アカウント

(Susan)

RI  :  $0.02  /  時間、通常インスタンス:$0.10  /  時間

(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.

46

Consolidated  Billingと

Reservedインスタンス(RI)について

!  

注意:同じ種類のインスタンスを選択する

• 

同じインスタンスタイプ、AZ、Linux/Windows

RI  :  0  

請求

アカウント

(Bob)

RI  :  5  

⼦子

アカウント

(Susan)

RI  :  $0.02  /  時間、通常インスタンス:$0.10  /  時間

(47)

Consolidated  Billingと

Reservedインスタンス(RI)について

!  

注意:同じ種類のインスタンスを選択する

RI  :  0  

請求

アカウント

(Bob)

RI  :  5  

⼦子

アカウント

(Susan)

RI  :  $0.02  /  時間、通常インスタンス:$0.10  /  時間

(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.

48

Consolidated  Billingと

Reservedインスタンス(RI)について

!  

注意:同じ種類のインスタンスを選択する

• 

同じインスタンスタイプ、AZ、Linux/Windows

RI  :  0  

請求

アカウント

(Bob)

RI  :  5  

⼦子

アカウント

(Susan)

RI  :  $0.02  /  時間、通常インスタンス:$0.10  /  時間

RI

$0.02 x 5 = $0.10

通常

インスタンス

$0.10 x 4 = $0.40

合計

0.50

平均

$0.50 / 9 =

0.055555

(49)

Consolidated  Billingと

Reservedインスタンス(RI)について

!  

注意:同じ種類のインスタンスを選択する

RI  :  0  

請求

アカウント

(Bob)

RI  :  5  

⼦子

アカウント

(Susan)

RI  :  $0.02  /  時間、通常インスタンス:$0.10  /  時間

RI

$0.02 x 5 = $0.10

通常

インスタンス

$0.10 x 4 = $0.40

合計

0.50

平均

$0.50 / 9 =

0.055555

Blended  rate

(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.

50

Blended  rateとUnblended  rate

!  

Blended  rate

• 

連結アカウント間の同じ種類のリソースの平均

利利⽤用料料⾦金金

!  

Unblended  rate

• 

元々の利利⽤用料料⾦金金

!  

Consolidated  Billing適⽤用時はBlended  

rateが優先される

(51)

Blended  rateとUnblended  rateの料料⾦金金

⽐比較例例

!  

マイクロインスタンスを利利⽤用した場合

Unblended  rate

積算

料料⾦金金

Unblended  rate:  0.027

Blended  rate:      0.009107

※期間中にrateの変更更が

  なかった場合

Blended  rate

(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.

52

Consolidated  Billing利利⽤用までの流流れ

請求アカウントを

決定

⼦子アカウントを作成

(既存アカウント可)

請求アカウントから

⼦子カウントへ通知

(専⽤用画⾯面からメール

送付)

⼦子アカウントに送られた

メールで承諾諾

コンソリデート成⽴立立

※設定⽅方法の詳細はAPPENDIXに掲載

(53)

Consolidated  Billingの有効期間

!  

⼦子アカウント追加・解除は即時反映される

• 

追加時は⼦子アカウントが追加リクエストをメールで受信。追加

を許可した時点で⽀支払が統合される。

     3/1

⼦子アカウン

     4/1

追加

⼦子アカウント⽀支払期

親アカウント⽀支払期

⼦子アカウン

解除

⼦子アカウント⽀支払期

(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.

54

Consolidated  Billingの注意事項

!  

全アカウントの課⾦金金の合算に対して1アカウント分の無料料枠

のみ適⽤用

!  

請求アカウントの明細の⾦金金額≠全アカウントの配分の合計、

となる場合あり

■上回る場合

■下回る場合

明細項⽬目は⼩小数点第⼆二

位以下が丸められる

$0.01未満の場合は

$0.01に繰り上げ

配分コストは⼩小数点以下6桁ま

で。繰り上げはされない。

およそ$0.01の誤差が

発⽣生する可能性あり

(55)
(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.

56

Billing  Reportとは

!  

1カ⽉月ごとのAWS利利⽤用⾒見見積⾦金金額についての詳細なレポート

• 

実際の利利⽤用料料⾦金金ではなく⾒見見積⾦金金額を出⼒力力(Monthly  Reportのみ実際

の⾦金金額を含む。MarketPlace利利⽤用料料は含まれない)

!  

CSV形式で取得可能

Amazon  

S3  

Bucket

Report  CSV  File

Detailed  Billing  

Detailed  Billing  

Report

Allocation  Report

Monthly  Cost  

Cost  Allocation  and  

Tagging  Report  CSV  File

Detailed  Billing  

Report  with  

Resource  and  Tags

Monthly  Report

Detailed  Billing  

Report  CSV  File

Programmatic  Billing  Access

Billing  

Consoleで

取得可能

(57)

レポート種類の使い分け

Detailed  Billing  

Report

Monthly  Cost  

Allocation  Report

Detailed  Billing  

Report  with  

Resource  and  Tags

Monthly  Report

Tag別

Tag無

1時間

集計

⽉月集計

Tag

分類

集計単位

(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.

58

Programmatic  Billing  Accessとは

!  

Amazon  S3のAPIを使って、S3  bucketに格納される

billingデータ(CSVファイル)を参照することができる機能

Programmatic  

Billing  Access

を許可するACL

(59)

Programmatic  Billng  Accessによる

Bucketへのアクセス権限許可の例例

ここではAWSアカウ

ントのroot権限にGet,  

Putの権限を与えてい

(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.

60

Programmatic  Billing  Accessの

メリット

!  

CSVであるため、Excel等で読み込むことができる

!  

S3  APIを使って、billingデータを参照するアプリケー

ションを作ることができる

(61)

Programmatic  Billing  Accessの詳細

!  

指定したS3  bucketに格納

!  

Monthly  CSV  Reportは、⽉月の最後のレポートが⽣生成さ

れるまで、定期的に上書きされる。

• 

1⽇日に数回のペースで書き込まれる。

!  

過去の⽉月のレポートはbucket内にそのまま残る

(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.

62

Billing  Reportの種類

種類

概要

ファイル名の形式

Monthly Report

AWSのサービスごとの利用見

積を表示

Billing Consoleから取得

<AWS account

number>-

aws-billing-csv-yyyy-mm.csv

Detailed Billing

Report

1時間ごとのAWSのサービス

ごとの利用見積を表示

S3から取得

<AWS account

number>-

aws-billing-detailed-line-items-yyyy-mm.csv.zip

Monthly Cost

Allocation report

Monthly Reportと内容はほぼ

同じだが、設定したタグの情報

も追加される。

S3から取得

<AWS account

number>-

aws-cost-allocation-yyyy-mm.csv

Detailed Billing

Report with

Resources and

Tags

Detailed billing reportと内容

はほぼ同じだが、設定したタグ

とリソース

IDも追加される。

S3から取得

<AWS account

number>-

aws-billing-detailed-line-

items-with-resources-and-tags-yyyy-mm.csv.zip

⽉月ごとに異異なるファイルが

出⼒力力される

(63)

Billing  Reportに含まれる主な項⽬目(1)

Monthly

Report

Detailed Billing

Report

Monthly Cost

Allocation

Report

Detailed Billing

Report with

Resource and

Tags

InvoiceID

請求アカウント

ID

子アカウント

ID

レコードタイプ

レコードID

課金開始日時

!  

アカウントおよびInvoice情報フィールド

(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.

64

Billing  Reportに含まれる主な項⽬目(2)

Monthly

Report

Detailed Billing

Report

Monthly Cost

Allocation

Report

Detailed Billing

Report with

Resource and

Tags

プロダクトコード

プロダクト名

Seller of Record

利用タイプ

オペレーション

アベイラビリティ

ゾーン

リザーブドインスタ

ンス

Rate ID

!  

プロダクト利利⽤用情報フィールド

(65)

Billing  Reportに含まれる主な項⽬目(3)

Monthly

Report

Detailed Billing

Report

Monthly Cost

Allocation

Report

Detailed Billing

Report with

Resource and

Tags

サブスクリプション

ID

料金プラン

ID

アイテム詳細

利用開始日時

利用終了日時

!  

プロダクト利利⽤用情報フィールドの続き

(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.

66

Billing  Reportに含まれる主な項⽬目(4)

Monthly

Report

Detailed Billing

Report

Monthly Cost

Allocation

Report

Detailed Billing

Report with

Resource and

Tags

利用量

Blended Rate

Blendedコスト

Unblended Rate

Unblendedコスト

トータルコスト

!  

利利⽤用、コスト情報フィールド

(67)

Billing  Reportに含まれる主な項⽬目(5)

Monthly

Report

Detailed Billing

Report

Monthly Cost

Allocation

Report

Detailed Billing

Report with

Resource and

Tags

リソースID

Cost Allocationタグ

!  

利利⽤用、コスト情報フィールド

(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.

68

Monthly  Reportとは

!  

⽉月々のAWSの利利⽤用料料⾦金金を各サービスごとに表⽰示

!  

Billing  Consoleから取得可能

!  

Consolidated  Billingにより複数のアカウントの⽀支払い

を統合している場合は、請求アカウントのみ取得可能

(69)

Monthly  Cost  Allocation  Reportとは

!  

AWSの課⾦金金を追跡、まとめることが出来る機能

• 

1.AWSリソースにタグ付け

• 

2.Tag付けされたリソースの利利⽤用量量をS3  bucket内のCSVレ

ポートに出⼒力力

ProductCode Operation

AmazonEC2

RunInstances

Total

user:Project user:Owner

1.645

TestProject1

Bob

Project  =  TestProject1

(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.

70

Cost  Allocation  and  Taggingのメリット

!  

好きなTag付けにより⾃自由に項⽬目追加が可能

• 

Excelのピボットテーブル機能を使うと、以下のように項⽬目ごと

に料料⾦金金を合算できる

Total Cost

 

user:Project

 

user:Owner

 

10  

Project1  

Bob  

5

 

Project1

 

Susan

 

15

 

Project1

 

Susan

 

30  

Project2  

Mike  

25

 

Project2

 

Bob

 

行ラベル

合計

/ Total Cost

 

Project1

 

30

 

Project2  

55  

総計

85

 

行ラベル

合計

/ Total Cost

 

Project1

 

30

 

Bob

 

10

 

Susan

 

20

 

Project2

 

55

 

Bob

 

25

 

Mike

 

30

 

総計

85

 

(71)

Cost  Allocation  Reportに項⽬目を

載せる⽅方法

1.  Cost  Allocation  and  Taggingを有効にする

2.  Cost  Allocation  Reportページへ移動

3.  載せたい項⽬目(Key)を選択する。

(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.

72

(73)

Cost  Allocation  and  Taggingの注意事項

!  

Tag付け可能なAWSリソース:

• 

EC2  /  Auto  Scaling  /  S3  /  EBS  /  VPC  /  CloudFormation  /  

RDS  /  EMR

!  

割り当てられるTagの数は1リソースに10個まで

!  

Programmatic  Billing  Accessを有効にする必要あり

(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.

74

Detailed  Billing  Reportとは

!  

1時間ごとのAWSの利利⽤用料料⾦金金を表⽰示

!  

Consolidated  Billing利利⽤用時は、請求アカウントのレ

ポートには⼦子アカウントの利利⽤用料料⾦金金も表⽰示される

!  

オンデマンドおよびリザーブドインスタンスの利利⽤用分析

が可能

!  

Blended  rateとUnblended  rateの価格の差異異により、

(75)

  Detailed  Billing  Reportで出⼒力力される

CSVファイルの例例

Reserved

(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.

76

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

(77)

Detailed  Billing  Reportの1⾏行行の例例

(⼀一部を除く)の続き

利用量

2

Blended rate

0.009107

Blended cost

0.018214

Unblended rate

0.027

Unblended cost

0.054

(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.

78

Detailed  Billing  Reportの注意事項

!  

CSVレポートファイルが数百MBまたは数GBを越えるこ

とがある

• 

Excel等で開けない場合がある

• 

DBにImport等する際に、そのサイズを⼩小さくするには、

Paying  Account  Name等の毎回同じように表⽰示される項⽬目を含

めないようにすると良良い。

(79)

Detailed  Billing  Report  with  

Resources  and  Tagsとは

!  

Detailed  Billing  Reportの内容に加え、AWSのサービス

で利利⽤用されるリソースのIDやTagを表⽰示

!  

リソースIDの例例

• 

EC2インスタンスの場合:i-‐‑‒12345678

• 

EBSボリュームの場合:vol-‐‑‒12345678

• 

RDSの場合:

arn:aws:rds:ap-‐‑‒northeast-‐‑‒1:123456789012:db:mydb1

(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.

80

部⾨門/プロジェクトごとにかかるコストを

分けるには?

!  

Tag付け可能なリソースにプロジェクトを判別できるTagを付

け、Detailed  Billing  Reportで管理理

• 

Tagが付与できないリソースに注意

• 

Tagは複数付与可能

• 

「システム名」「環境区分」「賦課部⾨門」「プロジェクトコード」etc.

(81)

Tagによるコスト分類の例例

!  

Amazon  EC2

• 

EC2インスタンスごとの1時間あたりの起動料料⾦金金

• 

EC2インスタンスごとのアウトバウンドのデータ転送料料⾦金金

!  

Amazon  EBS

• 

作成されたEBSボリュームごとの容量量に対する料料⾦金金

• 

作成されたEBSボリュームごとのIO使⽤用量量に対する料料⾦金金

!  

Amazon  VPC

• 

VPN接続ごとの1時間あたりの接続料料⾦金金

(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.

82

(83)

まとめ

!  

AWSは従量量課⾦金金モデル

!  

無料料利利⽤用枠は多くのサービスで利利⽤用可能

!  

Consolidated  Billingにより複数のアカウントの⽀支払い

を纏めることでボリュームディスカウント可能

!  

CSV形式のBilling  Reportを取得することで、より詳細

な課⾦金金(⾒見見積り)を把握可能

(84)

© 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.

84

Billingに関するBest  Practice

!  

課⾦金金情報へのアクセスを管理理する

• 

課⾦金金情報は親アカウントだけでアクセスする

• 

利利⽤用者はIAMユーザーでAWSを利利⽤用する

!  

Consolidated  billingで⼀一つのアカウントに課⾦金金を集約

• 

複数の「⼦子アカウント」の課⾦金金情報を⼀一つのアカウントに集約して

管理理する

!  

Billing  AlertとBilling  Reportを使⽤用する

• 

Amazon  CloudWatchの通知を使⽤用して課⾦金金が⼀一定額に達すること

を監視する

• 

Amazon  S3にCSVレポートを出⼒力力し課⾦金金状況を分析する

(85)

Link

!  

AWS  Account  Billing  ドキュメント

• 

http://aws.amazon.com/jp/documentation/accountbilling/

!  

AWS  料料⾦金金体系の仕組みホワイトペーパー

• 

http://media.amazonwebservices.com/

AWS_̲Pricing_̲Overview.pdf

!  

AWSの課⾦金金体系

• 

http://media.amazonwebservices.com/jp/cost/AWS-‐‑‒

RatesSystem-‐‑‒JP_̲201310.pdf

(86)

© 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.

86

(87)

Consolidated  Billingの設定⽅方法(1)

(88)

© 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.

88

Consolidated  Billingの設定⽅方法(2)

(89)

Consolidated  Billingの設定⽅方法(3)

!  

⼦子アカウント側で以下のEメールを受信するので、含まれ

(90)

© 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.

90

Consolidated  Billingの設定⽅方法(4)

!  

請求アカウントの情報を確認してAcceptする

(91)

Consolidated  Billing設定時の注意事項

!  

⼦子アカウントに送られたEメールのリンクをクリックすると

以下のようなエラーメッセージが表⽰示されることがある。

• 

これは、既に該当する⼦子アカウントとは別のAWSアカウントでロ

グインしているためであり、AWSマネージメントコンソールから

ログアウトした状態で再度度リンクをクリックすれば正しくAccept画

(92)

© 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.

92

Trusted  Advisor

メールアドレスの登録

登録アドレスの削除は

NULLで変更更を実施

!  

管理理画⾯面のメールアドレスの「Billing」にアドレス設定

(93)

Trusted  Advisor  Top画⾯面

「通知設定」

  をクリック

(94)

© 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.

94

通知設定画⾯面

受信者のメールアドレスが

設定されていない場合は、

「登録内容の変更更」から

アドレスを登録。

⽇日本語を選択

!  

「オペレーションに関する連絡先」をチェック。

    通信のアドレスに届く。

(95)

参照

関連したドキュメント

On April 1, 2016, the Company transferred its fuel and thermal power generation business (exclud- ing fuel transport business and fuel trading business), general power transmission

On the other hand, the Company submitted an application to the Fund to change the amount of financial support based on the Clause 43, Article 1 of the Fund Act due to the

Policy on determining remuneraion for directors and executive officers The main duty of each director and executive officer of TEPCO HD is to minimize the burden on the people

This first edition of the Group’s integrated report pronounces the top management’s commitment to the new management policy and reform, as well as reports on the strategies

・ The direct causes leading to the reactor core damage accident of Fukushima Daiichi Units 1 to 3 are, in the case of Unit 1, the total loss of cooling capacity at an early stage

1 北海道 北海道教育大学岩見沢校  芸術・スポーツ産業化論 2019年5月20日 藤原直幸 2 岩手県 釜石鵜住居復興スタジアム 運営シンポジウム

養子縁組 子どもの奪取・面会交流 親族・ルーツ捜し 出生登録、国籍取得、帰化申請など 医療/精神保健問題 結婚/離婚問題、手続きなど

参加者は自分が HLAB で感じたことをアラムナイに ぶつけたり、アラムナイは自分の体験を参加者に語っ たりと、両者にとって自分の