I need to implement a solution to get the Amazon instance hourly cost for each pricing model (on-demand, reserved, spot instance with predefined duration and spot instance with non-predefined duration).
I have downloaded the file from AWS Price List API to get on-demand and reserved informations about instance.But the file is to big and complicated for treatment. Also i uses the AWS Command-Line Interface (CLI) to get the informations about SpotInstance and it was perfectly what i need.
Is there a solution with the AWS Command-Line Interface (CLI) to get the other two types (on demand and reserved instances)? If yes, what are the command to get it.If not, does anyone had already did the treatment with the file and how? Thank you for your help.