srbartlett / awscosts

Programmatic access to AWS pricing
MIT License
30 stars 28 forks source link

adds support for rhel instances #4

Closed fredkelly closed 11 years ago

fredkelly commented 11 years ago

Also made this change to add support for RedHat pricing. It's not the nicest, so if you have any thoughts please let me know.

fredkelly commented 11 years ago

Will take a look at that VCR issue and update :)

fredkelly commented 11 years ago

Okay, totally missed existing support for this, though, there are some slight differences between http://aws.amazon.com/ec2/pricing/json/rhel-od.json and http://aws.amazon.com/rhel/pricing-on-demand-instances.json

srbartlett commented 11 years ago

Thanks for that. I'll take a look at those differences and let you know.

srbartlett commented 11 years ago

You are correct, there are a few small differences between the above mentioned datasources. The AWS EC2 pricing page (http://aws.amazon.com/ec2/pricing/#on-demand) uses the rhel-od.json datasource which is the same datasource used by awscosts. Lets leave the datasource unchanged for rhel unless you can think of a good reason otherwise.