AWS Cost and Usage Reports User Guide AWS Cost and Usage Reports User Guide
Total Page:16
File Type:pdf, Size:1020Kb
AWS Cost and Usage Reports User Guide AWS Cost and Usage Reports User Guide AWS Cost and Usage Reports: User Guide Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. AWS Cost and Usage Reports User Guide Table of Contents What are AWS Cost and Usage Reports? ............................................................................................... 1 How it works ............................................................................................................................. 1 Using the data dictionary ............................................................................................................ 1 Download AWS CUR ................................................................................................................... 2 AWS Organizations users ............................................................................................................ 2 Creating reports ................................................................................................................................. 3 Setting up an Amazon S3 bucket for Cost and Usage Reports .......................................................... 3 Creating Cost and Usage Reports ................................................................................................. 4 Managing reports ............................................................................................................................... 6 Viewing report details ................................................................................................................ 6 Accessing reports in S3 ............................................................................................................... 6 AWS CUR delivery timeline .................................................................................................. 6 AWS CUR formatting .......................................................................................................... 7 Keeping your previous reports ............................................................................................. 7 Overwriting previous Cost and Usage Reports ........................................................................ 7 Cost and Usage Reports manifest files .................................................................................. 8 Editing reports ......................................................................................................................... 10 Querying reports using Athena .......................................................................................................... 11 Setting up Athena with CloudFormation ..................................................................................... 11 Setting up Athena manually ...................................................................................................... 12 Creating an Athena table .................................................................................................. 13 Creating a report status table ............................................................................................ 13 Uploading your report partitions ........................................................................................ 14 Running Athena queries ............................................................................................................ 14 Column names ................................................................................................................. 15 Other resources ........................................................................................................................ 15 Loading report data to Amazon QuickSight ......................................................................... 15 Loading report data to Amazon Redshift ............................................................................. 15 Data dictionary ................................................................................................................................ 18 Identity details ......................................................................................................................... 18 identity/LineItemId ........................................................................................................... 18 identity/TimeInterval ........................................................................................................ 18 Billing details ........................................................................................................................... 19 B .................................................................................................................................... 19 I ..................................................................................................................................... 19 P .................................................................................................................................... 19 Line item details ...................................................................................................................... 20 A .................................................................................................................................... 20 B .................................................................................................................................... 20 C .................................................................................................................................... 20 L .................................................................................................................................... 20 N .................................................................................................................................... 21 O .................................................................................................................................... 22 P .................................................................................................................................... 22 R .................................................................................................................................... 22 T .................................................................................................................................... 23 U .................................................................................................................................... 23 Reservation details ................................................................................................................... 24 A .................................................................................................................................... 24 E .................................................................................................................................... 25 M ................................................................................................................................... 26 N .................................................................................................................................... 26 R .................................................................................................................................... 27 S .................................................................................................................................... 27 iii AWS Cost and Usage Reports User Guide T .................................................................................................................................... 28 U .................................................................................................................................... 29 Pricing details .......................................................................................................................... 31 L .................................................................................................................................... 31 P .................................................................................................................................... 31 R .................................................................................................................................... 31 T .................................................................................................................................... 31 U .................................................................................................................................... 32 Product details ......................................................................................................................... 32 A .................................................................................................................................... 32 C .................................................................................................................................... 32 D ...................................................................................................................................