Metering
meshStack imports metering data from AWS Cost and Usage Reports
An AWS Cost and Usage Report should be created as specified in the documentation with the following properties
- Daily time granularity
- gzip compression
- txt/csv file format
- Should include resource ids
- Versioning should be setup to overwrite existing report
The following parameters are required to configure meshStack to process the AWS Cost and Usage Reports
- AWS credentials that can access the S3 bucket where the reports are written
- The name of the S3 bucket where the report is written
- The region of the S3 bucket
- The name of the report
- The "Report path prefix" configured when creating the report
When processing the AWS Cost and Usage Report to generate the Usage Report in the meshPanel,
- Only the line items with line item type
DiscountedUsage
,Fee
,Usage
andSavingsPlanCoveredUsage
are taken into the calculation. In other words,Credit
,Refund
,RIFee
,Tax
SavingsPlanUpfrontFee
,SavingsPlanRecurringFee
andSavingsPlanNegation
are excluded. - Only the line items with bill type
Anniversary
are taken into the calculation. In other words, line items with bill typePurchase
andRefund
are excluded. - For each line item, we take the effective cost when available and unblended cost otherwise