AWS Application Cost Monitoring - DynamoDB Publisher via SQS Queue
Application Cost Monitoring provides granular AWS spend tracking. This will write items from AWS Application Cost Monitoring to DynamoDB. This provides an alternative to ACM-DynamoDB-Publisher and allows you to better control the rate of flow in writing to DynamoDB.
This requires AWS Application Cost Monitoring to be deployed first. This will subscribe to the SNS topic of that service and publish messages produced by it to DynamoDB
Deployment
This can be deployed using Serverless Framework or AWS Serverless Application Repository (AppRepo). Due to limitations in AppRepo, you will need to setup the AWS Glue Crawler for Athena manually.
You must also deploy the AWS Application Cost Monitoring service first. That provides the billing report and ingestion pipeline. This repository will subscribe to the message topic provided by that service.
Serverless Framework
Clone of this repository by using Serverless Framework.
$ npm install -g serverless
$ npm install
$ serverless deploy -v
AWS Serverless Application Repository
See the README and instructions at:
Usage
This service provides AWS cost and usage data in a DynamoDB table. Either query the data manually or, better, deploy a front end to search the data.