How to calculate the number of hours covered by EC2 Instance Savings Plans

Issue

This Content is from Stack Overflow. Question asked by duyl97

We are using EC2 Saving Plans for some instances. In the bill, we see On Demand Linux Instance Hour (hrs) and usage covered by EC2 Instance Savings Plans (hrs). I wonder how we can calculate the usage covered by SP.
For instance (on August):

  • Commitment: $0.42400/hour
  • $0.125 per On Demand Linux m4.large Instance Hour: 4,464.000 Hrs
  • m4.large Linux instance usage in ap-southeast-1 covered by EC2 Instance Savings Plans: 4,393.599 Hrs



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?