COST03-BP01 Configure detailed information sources - AWS Well-Architected Framework (2022-03-31)

COST03-BP01 Configure detailed information sources

Configure the AWS Cost and Usage Report, and Cost Explorer hourly granularity, to provide detailed cost and usage information. Configure your workload to have log entries for every delivered business outcome.

Level of risk exposed if this best practice is not established: High

Implementation guidance

Enable hourly granularity in AWS Cost Explorer and create a AWS Cost and Usage Report (CUR). These data sources provide the most accurate view of cost and usage across your entire organization. The CUR 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: Amazon Athena (Parquet format and compression)

Use AWS Glue to prepare the data for analysis, and use Amazon Athena to perform data analysis, using SQL to query the data. You can also use Amazon QuickSight to build custom and complex visualizations and distribute them throughout your organization.

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: Using the billing console, enable Hourly and Resource Level Data.

    Note

    There will be associated costs with enabling this feature. For details, refer to the pricing.

  • 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. Refer to the Well-Architected Operational Excellence Pillar for more detail on logging and monitoring.

Resources

Related documents:

Related examples: