COST03-BP01 Configure detailed information sources
Configure the cost management and reporting tools for hourly granularity to provide detailed cost and usage information, enabling deeper analytics and transparency. Configure your workload to generate or have the log entries for every delivered business outcome.
Level of risk exposed if this best practice is not established: High
Implementation guidance
Detailed billing information such as hourly granularity in cost management tools allow organizations to track their consumptions with further details and help them to identify some of the cost increase reasons. These data sources provide the most accurate view of cost and usage across your entire organization.
AWS Cost and Usage Report provides daily or hourly usage granularity, rates, costs, and usage attributes for all chargeable AWS services. All possible dimensions are in the CUR, including tagging, location, resource attributes, and account IDs.
Configure your CUR with the following customizations:
-
Include resource IDs
-
Automatically refresh the CUR
-
Hourly granularity
-
Versioning: Overwrite existing report
-
Data integration: Athena (Parquet format and compression)
Use
AWS Glue
Implementation steps
-
Configure the cost and usage report: Using the billing console, configure at least one cost and usage report. Configure a report with hourly granularity that includes all identifiers and resource IDs. You can also create other reports with different granularities to provide higher-level summary information.
-
Configure hourly granularity in Cost Explorer: Enable Hourly and Resource Level Data to access cost and usage data at hourly granularity for the past 14 days and resource level granularity.
-
Configure application logging: Verify that your application logs each business outcome that it delivers so it can be tracked and measured. Ensure that the granularity of this data is at least hourly so it matches with the cost and usage data. For more details on logging and monitoring, see Well-Architected Operational Excellence Pillar.
Resources
Related documents:
Related examples: