This session walks through the mechanics of AWS bill computation and consolidated billing to help you understand your bill. AWS billing has many features to help you manage and control your costs in the AWS cloud environment including detailed billing reports, programmatic access, cost allocation, billing alerts, and IAM access. We provide an overview of these features and then demonstrate how to use and incorporate them into your own account setup.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
805167 $0.01 per 10,000 GET and all other requests AmazonS3 Requests-Tier2 47 $0.01 $0.47800029 $0.000 per GB - data transfer in per month AWSDataTransfer DataTransfer-In-Bytes 0.00471905 $0.00 $0.00796850 $0.06 per 100,000 Amazon SNS API Requests per month thereafter AmazonSNS Requests-Tier1 6 $0.06 $0.36799999 $0.090 per GB - next 40 TB / month data transfer out AWSDataTransfer DataTransfer-Out-Bytes 0.00053194 $0.09 $0.00794470 $0.00 per request - first 1,000,000 requests AmazonEC2 CW:Requests 9878 $0.00 $0.00805187 $0.110 per GB - next 49 TB / month of storage used AmazonS3 TimedStorage-ByteHrs 0.00003376 $0.11 $0.00805207 $0.01 per 1,000 PUT, COPY, POST, or LIST requests AmazonS3 Requests-Tier1 40 $0.01 $0.40796889 First 100,000 Amazon SNS API Requests per month are free AmazonSNS USW2-Requests-Tier1 2 $0.00 $0.00795828 $0.10 per GB-month of provisioned storage AmazonEC2 EBS:VolumeUsage 67.86110956 $0.10 $6.79
18427 $0.06 per High-CPU Medium Instance (c1.medium) instance-hour AmazonEC2 BoxUsage:c1.medium RunInstances 359 $0.06 $21.54799999 $0.090 per GB - next 40 TB / month data transfer out AWSDataTransfer DataTransfer-Out-Bytes 0.47127815 $0.09 $0.04
18463 $0.03 per Small Instance (m1.small) instance-hour AmazonEC2 BoxUsage RunInstances 1436 $0.03 $43.08793970 $0.125 per GB-Month of snapshot data stored AmazonEC2 EBS:SnapshotUsage 0.54326496 $0.13 $0.07800029 $0.000 per GB - data transfer in per month AWSDataTransfer DataTransfer-In-Bytes 0.16240232 $0.00 $0.00805167 $0.01 per 10,000 GET and all other requests AmazonS3 Requests-Tier2 561311 $0.01 $0.56794470 $0.00 per request - first 1,000,000 requests AmazonEC2 CW:Requests 660 $0.00 $0.00805187 $0.110 per GB - next 49 TB / month of storage used AmazonS3 TimedStorage-ByteHrs 1.7335875 $0.11 $0.19805207 $0.01 per 1,000 PUT, COPY, POST, or LIST requests AmazonS3 Requests-Tier1 193442 $0.01 $1.93
18427 $0.06 per High-CPU Medium Instance (c1.medium) instance-hour AmazonEC2 BoxUsage:c1.medium RunInstances 1436 $0.06 $86.16794470 $0.00 per request - first 1,000,000 requests AmazonEC2 CW:Requests 932 $0.00 $0.00809956 $0.015 per Small EMR Instance (m1.small) Instance-hour ElasticMapReduce BoxUsage 1432 $0.02 $21.48
18463 $0.03 per Small Instance (m1.small) instance-hour AmazonEC2 BoxUsage RunInstances 1436 $0.03 $43.08809792 $0.12 per Extra Large EMR Instance (m1.xlarge) instance-hour ElasticMapReduce BoxUsage:m1.xlarge 404 $0.12 $48.48795287 $0.025 per LoadBalancer-hour (or partial hour) AmazonEC2 LoadBalancerUsage LoadBalancing 359 $0.03 $8.98793970 $0.125 per GB-Month of snapshot data stored AmazonEC2 EBS:SnapshotUsage 82.45148478 $0.13 $10.31794668 $0.520 per M1 Standard Extra Large (m1.xlarge) Linux/UNIX instance-hour (or part AmazonEC2 BoxUsage:m1.xlarge RunInstances 470 $0.52 $244.40805207 $0.01 per 1,000 PUT, COPY, POST, or LIST requests AmazonS3 Requests-Tier1 1693140 $0.01 $16.93809803 $0.03 per High-CPU Medium EMR Instance (c1.medium) instance-hour ElasticMapReduce BoxUsage:c1.medium 1436 $0.03 $43.08794128 $0.008 per GB Data Processed by the LoadBalancer AmazonEC2 DataProcessing-Bytes LoadBalancing 0.00005498 $0.01 $0.00799999 $0.090 per GB - next 40 TB / month data transfer out AWSDataTransfer DataTransfer-Out-Bytes 324.4072553 $0.09 $29.20
805167 $0.01 per 10,000 GET and all other requests AmazonS3 Requests-Tier2 47 $0.01 $0.47800029 $0.000 per GB - data transfer in per month AWSDataTransfer DataTransfer-In-Bytes 0.00471905 $0.00 $0.00796850 $0.06 per 100,000 Amazon SNS API Requests per month thereafter AmazonSNS Requests-Tier1 6 $0.06 $0.36799999 $0.090 per GB - next 40 TB / month data transfer out AWSDataTransfer DataTransfer-Out-Bytes 0.00053194 $0.09 $0.00794470 $0.00 per request - first 1,000,000 requests AmazonEC2 CW:Requests 9878 $0.00 $0.00805187 $0.110 per GB - next 49 TB / month of storage used AmazonS3 TimedStorage-ByteHrs 0.00003376 $0.11 $0.00805207 $0.01 per 1,000 PUT, COPY, POST, or LIST requests AmazonS3 Requests-Tier1 40 $0.01 $0.40796889 First 100,000 Amazon SNS API Requests per month are free AmazonSNS USW2-Requests-Tier1 2 $0.00 $0.00795828 $0.10 per GB-month of provisioned storage AmazonEC2 EBS:VolumeUsage 67.86110956 $0.10 $6.79
18427 $0.06 per High-CPU Medium Instance (c1.medium) instance-hour AmazonEC2 BoxUsage:c1.medium RunInstances 359 $0.06 $21.54799999 $0.090 per GB - next 40 TB / month data transfer out AWSDataTransfer DataTransfer-Out-Bytes 0.47127815 $0.09 $0.04
18463 $0.03 per Small Instance (m1.small) instance-hour AmazonEC2 BoxUsage RunInstances 1436 $0.03 $43.08793970 $0.125 per GB-Month of snapshot data stored AmazonEC2 EBS:SnapshotUsage 0.54326496 $0.13 $0.07800029 $0.000 per GB - data transfer in per month AWSDataTransfer DataTransfer-In-Bytes 0.16240232 $0.00 $0.00805167 $0.01 per 10,000 GET and all other requests AmazonS3 Requests-Tier2 561311 $0.01 $0.56794470 $0.00 per request - first 1,000,000 requests AmazonEC2 CW:Requests 660 $0.00 $0.00805187 $0.110 per GB - next 49 TB / month of storage used AmazonS3 TimedStorage-ByteHrs 1.7335875 $0.11 $0.19805207 $0.01 per 1,000 PUT, COPY, POST, or LIST requests AmazonS3 Requests-Tier1 193442 $0.01 $1.93
18427 $0.06 per High-CPU Medium Instance (c1.medium) instance-hour AmazonEC2 BoxUsage:c1.medium RunInstances 1436 $0.06 $86.16794470 $0.00 per request - first 1,000,000 requests AmazonEC2 CW:Requests 932 $0.00 $0.00809956 $0.015 per Small EMR Instance (m1.small) Instance-hour ElasticMapReduce BoxUsage 1432 $0.02 $21.48
18463 $0.03 per Small Instance (m1.small) instance-hour AmazonEC2 BoxUsage RunInstances 1436 $0.03 $43.08809792 $0.12 per Extra Large EMR Instance (m1.xlarge) instance-hour ElasticMapReduce BoxUsage:m1.xlarge 404 $0.12 $48.48795287 $0.025 per LoadBalancer-hour (or partial hour) AmazonEC2 LoadBalancerUsage LoadBalancing 359 $0.03 $8.98793970 $0.125 per GB-Month of snapshot data stored AmazonEC2 EBS:SnapshotUsage 82.45148478 $0.13 $10.31794668 $0.520 per M1 Standard Extra Large (m1.xlarge) Linux/UNIX instance-hour (or part AmazonEC2 BoxUsage:m1.xlarge RunInstances 470 $0.52 $244.40805207 $0.01 per 1,000 PUT, COPY, POST, or LIST requests AmazonS3 Requests-Tier1 1693140 $0.01 $16.93809803 $0.03 per High-CPU Medium EMR Instance (c1.medium) instance-hour ElasticMapReduce BoxUsage:c1.medium 1436 $0.03 $43.08794128 $0.008 per GB Data Processed by the LoadBalancer AmazonEC2 DataProcessing-Bytes LoadBalancing 0.00005498 $0.01 $0.00799999 $0.090 per GB - next 40 TB / month data transfer out AWSDataTransfer DataTransfer-Out-Bytes 324.4072553 $0.09 $29.20
Usa
ge Q
uant
ity
Rat
e
Cos
t
Line Item Pr
oduc
t
Usa
ge T
ype
Ope
ratio
n
Usa
ge Q
uant
ity
Rat
e
Cos
t
Line Item
Prod
uct
Usa
ge T
ype
Ope
ratio
n
Example Cost Allocation Report
Usa
ge Q
uant
ity
Rat
e
Cos
t
Line Item
Prod
uct
Usa
ge T
ype
Ope
ratio
n
+Your Tags Same as Monthly Report
+ Av
aila
bility
Zon
e
Cost Allocation Report: Demo
Calculating Charge-Backs Cost Allocation Report
Mon
thly
Advanced Data
Charge-Backs: End Result
Cost Center AWS Product Code Cost Before Tax Tax Total Cost
Charge-Backs: Start with Cost Allocation Report
Charge-Backs: Insert Pivot Table
Defaults are usually OK
Charge-Backs: Choose Fields Rows Labels: user:Cost Center (tag) ProductCode ItemDescription Values: Sum of CostBeforeTax Sum of TaxAmount Sum of TotalCost
• Defines how much a unit of usage costs – For each AWS product (more than 30), and – For each unique usage type and operation, and – For each AWS region (9 of them)
• Examples – $0.004 per 10,000 requests (S3) in us-east-1 – $0.020 per Micro Instance instance-hour (EC2) in us-
west-2
What’s Rate?
Billing reports: how are they generated?
Aggregate Metering Records
Calculate Line Items
Compose Reports
• You define key/value pairs (up to 10 pairs per resource)
• Enable them under Manage Tags in Console!
• Tags become columns in Cost Allocation and DBR w/ Resources and Tags Reports
What are Tags?
Billing reports: how are they generated?
Aggregate Metering Records
Calculate Line Items
Compose Reports
Line Items: Two Steps to Calculate • Step 1: Count Usage
– For each unique rate (Product, Usage, Operation, Region)