Class: AwsPricing::Ec2PriceList

Inherits:
PriceList show all
Defined in:
lib/ec2-price-list.rb

Instance Attribute Summary

Attributes inherited from PriceList

#regions

Instance Method Summary collapse

Methods inherited from PriceList

fetch_url, #get_instance_type, #get_instance_types, #get_region

Constructor Details

#initializeEc2PriceList


4
5
6
7
8
9
10
11
# File 'lib/ec2-price-list.rb', line 4

def initialize
  super
  InstanceType.populate_lookups
  get_ec2_on_demand_instance_pricing
  get_ec2_legacy_reserved_instance_pricing
  get_ec2_reserved_instance_pricing
  fetch_ec2_ebs_pricing
end