Skip to content

smallriver0316/aws-cost-reporter

Repository files navigation

AWS Cost Reporter

Lambda set to send information of cost explorer.

You will receive such a following message by email.

Subject: AWS Cost Weekly Report

From YYYY-MM-01 to YYYY-MM-DD(today)

Current Cost in this month: XXXXX USD

----------

AWS Cost Explorer: XXXX USD

AWS Key Management Service: XXXX USD

Amazon EC2 Container Registry (ECR): XXXX USD

EC2 - Other: XXXX USD

Amazon Relational Database Service: XXXX USD

Amazon Simple Storage Service: XXXX USD

Tax: XXXX USD

How to prepare

This application uses Serverless Framework for deployment. It reads your AWS account name. So set it as environmental value.

export AWS_PROFILE=<Your AWS Account Name>

It is necessary to write email address into config/.config.{stage}.yml for SNS topic subscription.

EMAIL: <subscription email of SNS>

Install libraries

npm install

How to deploy

npx serverless deploy

How to remove deployment services

npx serverless remove

About

Lambda set to send information of cost explorer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors