DEV Community

Discussion on: How are people keeping track of their #AWS Reserved Instances purchases?

Collapse
 
akloya profile image
akloya

people more often use 3rd party tools like cloudhealth, cloudcheckr which can generate alert for such needs.

i have written a sample python script which when enchanced should be able to solve your need.
All you have to do is convert this python into lambda with notification logic added.. then have cloudwatch event that invoke that lambda every day in morning and send you alert.

gist.github.com/akloya/313d10e6546...

Collapse
 
francoislagier profile image
Francois LAGIER

Thanks for sharing your script! Do you also monitor your EC2 coverage?

In my opinion, Cloud[Health|Checkr|Ability] provides some legit value but it's hard to justify their hefty price.

Collapse
 
akloya profile image
akloya

We use 3rd party tools so i get some build in dashboard with metrics that help.. But if you plan to implement you might have to use AWS Cost Explorer API.