DEV Community

Francois LAGIER
Francois LAGIER

Posted on

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

I'm curious to learn how folks keep track of their RIs.

  • What number do you keep an eye on and how?
    • RI Utilizations? RI Coverage?
  • Do you use any scripts or tools to do so?

Looking forward to learning new tricks

Top comments (5)

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.

Collapse
 
scosta profile image
Saul Costa

Google Cloud just released their committed use discount visualizer which is incredible. Perhaps AWS has something similar?

Collapse
 
francoislagier profile image
Francois LAGIER

Thank you for sharing the link. I'm going to check it out to see how GCP approach the problem.
AWS does have something similar in CostExplorer.