Skip to content

It is a simple project which analyzes AWS usage cost, detects resources whose cost is exceeded the allocated budget, and sends alerts via email or SNS notifications at the same time cost report is stored in S3 bucket.

Notifications You must be signed in to change notification settings

TejeshKumarReddyC/AWS-Cost-Sentinel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

AWS-Cost-Sentinel

Workflow:-

Event-Bridge ---> Lambda(Collects the cost data from cost explorer) ---> S3 && SNS Notification.

Step1:- Create a lambda function & a layer which contains the helper function( gets total cost & service wise cost) and attach that layer to lambda function.

Step2:- Attach the appropriate permissions to lambda for accessing S3, SNS.

Step3:- Schedule a job in the Event-Bridge which triggers the lambda function on daily or monthly basis.

Step4:- Create a S3 bucket for storing the cost-reports for further analysis.

Step5:- Create SNS topic and ultimately put the bucket name, sns arn and other requored information in the lambda code.

Working:-

Scheduler in the Event-Bridge triggers Lambda, then lambda will collect the total_cost and servicewise_costfor highly costed services from the Cost_explorer. Alert will be sent by SNS if cost exceeds the budget and same will be stored in S3 for further analysis.

About

It is a simple project which analyzes AWS usage cost, detects resources whose cost is exceeded the allocated budget, and sends alerts via email or SNS notifications at the same time cost report is stored in S3 bucket.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages