Class: Fog::Compute::AWS
- Inherits:
-
Service
- Object
- Service
- Fog::Compute::AWS
- Extended by:
- AWS::CredentialFetcher::ServiceMethods
- Defined in:
- lib/fog/aws/compute.rb,
lib/fog/aws/models/compute/tag.rb,
lib/fog/aws/models/compute/vpc.rb,
lib/fog/aws/models/compute/tags.rb,
lib/fog/aws/models/compute/vpcs.rb,
lib/fog/aws/models/compute/image.rb,
lib/fog/aws/models/compute/flavor.rb,
lib/fog/aws/models/compute/images.rb,
lib/fog/aws/models/compute/server.rb,
lib/fog/aws/models/compute/subnet.rb,
lib/fog/aws/models/compute/volume.rb,
lib/fog/aws/models/compute/address.rb,
lib/fog/aws/models/compute/flavors.rb,
lib/fog/aws/models/compute/servers.rb,
lib/fog/aws/models/compute/subnets.rb,
lib/fog/aws/models/compute/volumes.rb,
lib/fog/aws/models/compute/key_pair.rb,
lib/fog/aws/models/compute/snapshot.rb,
lib/fog/aws/models/compute/addresses.rb,
lib/fog/aws/models/compute/key_pairs.rb,
lib/fog/aws/models/compute/snapshots.rb,
lib/fog/aws/models/compute/dhcp_option.rb,
lib/fog/aws/models/compute/network_acl.rb,
lib/fog/aws/models/compute/route_table.rb,
lib/fog/aws/models/compute/dhcp_options.rb,
lib/fog/aws/models/compute/network_acls.rb,
lib/fog/aws/models/compute/route_tables.rb,
lib/fog/aws/models/compute/spot_request.rb,
lib/fog/aws/requests/compute/copy_image.rb,
lib/fog/aws/requests/compute/create_vpc.rb,
lib/fog/aws/requests/compute/delete_vpc.rb,
lib/fog/aws/models/compute/spot_requests.rb,
lib/fog/aws/requests/compute/create_tags.rb,
lib/fog/aws/requests/compute/delete_tags.rb,
lib/fog/aws/models/compute/security_group.rb,
lib/fog/aws/requests/compute/create_image.rb,
lib/fog/aws/requests/compute/create_route.rb,
lib/fog/aws/requests/compute/delete_route.rb,
lib/fog/aws/models/compute/security_groups.rb,
lib/fog/aws/requests/compute/attach_volume.rb,
lib/fog/aws/requests/compute/copy_snapshot.rb,
lib/fog/aws/requests/compute/create_subnet.rb,
lib/fog/aws/requests/compute/create_volume.rb,
lib/fog/aws/requests/compute/delete_subnet.rb,
lib/fog/aws/requests/compute/delete_volume.rb,
lib/fog/aws/requests/compute/describe_tags.rb,
lib/fog/aws/requests/compute/describe_vpcs.rb,
lib/fog/aws/requests/compute/detach_volume.rb,
lib/fog/aws/requests/compute/replace_route.rb,
lib/fog/aws/requests/compute/run_instances.rb,
lib/fog/aws/models/compute/internet_gateway.rb,
lib/fog/aws/requests/compute/register_image.rb,
lib/fog/aws/requests/compute/stop_instances.rb,
lib/fog/aws/models/compute/internet_gateways.rb,
lib/fog/aws/models/compute/network_interface.rb,
lib/fog/aws/requests/compute/create_key_pair.rb,
lib/fog/aws/requests/compute/create_snapshot.rb,
lib/fog/aws/requests/compute/delete_key_pair.rb,
lib/fog/aws/requests/compute/delete_snapshot.rb,
lib/fog/aws/requests/compute/describe_images.rb,
lib/fog/aws/requests/compute/import_key_pair.rb,
lib/fog/aws/requests/compute/release_address.rb,
lib/fog/aws/requests/compute/start_instances.rb,
lib/fog/aws/models/compute/network_interfaces.rb,
lib/fog/aws/requests/compute/allocate_address.rb,
lib/fog/aws/requests/compute/deregister_image.rb,
lib/fog/aws/requests/compute/describe_regions.rb,
lib/fog/aws/requests/compute/describe_subnets.rb,
lib/fog/aws/requests/compute/describe_volumes.rb,
lib/fog/aws/requests/compute/reboot_instances.rb,
lib/fog/aws/requests/compute/associate_address.rb,
lib/fog/aws/requests/compute/get_password_data.rb,
lib/fog/aws/requests/compute/monitor_instances.rb,
lib/fog/aws/requests/compute/create_network_acl.rb,
lib/fog/aws/requests/compute/create_route_table.rb,
lib/fog/aws/requests/compute/delete_network_acl.rb,
lib/fog/aws/requests/compute/delete_route_table.rb,
lib/fog/aws/requests/compute/describe_addresses.rb,
lib/fog/aws/requests/compute/describe_instances.rb,
lib/fog/aws/requests/compute/describe_key_pairs.rb,
lib/fog/aws/requests/compute/describe_snapshots.rb,
lib/fog/aws/requests/compute/get_console_output.rb,
lib/fog/aws/requests/compute/create_dhcp_options.rb,
lib/fog/aws/requests/compute/delete_dhcp_options.rb,
lib/fog/aws/requests/compute/terminate_instances.rb,
lib/fog/aws/requests/compute/unmonitor_instances.rb,
lib/fog/aws/requests/compute/disassociate_address.rb,
lib/fog/aws/requests/compute/modify_vpc_attribute.rb,
lib/fog/aws/requests/compute/associate_route_table.rb,
lib/fog/aws/requests/compute/create_security_group.rb,
lib/fog/aws/requests/compute/delete_security_group.rb,
lib/fog/aws/requests/compute/describe_dhcp_options.rb,
lib/fog/aws/requests/compute/describe_network_acls.rb,
lib/fog/aws/requests/compute/describe_route_tables.rb,
lib/fog/aws/requests/compute/associate_dhcp_options.rb,
lib/fog/aws/requests/compute/create_placement_group.rb,
lib/fog/aws/requests/compute/delete_placement_group.rb,
lib/fog/aws/requests/compute/describe_volume_status.rb,
lib/fog/aws/requests/compute/describe_vpc_attribute.rb,
lib/fog/aws/requests/compute/modify_image_attribute.rb,
lib/fog/aws/requests/compute/request_spot_instances.rb,
lib/fog/aws/requests/compute/attach_internet_gateway.rb,
lib/fog/aws/requests/compute/create_internet_gateway.rb,
lib/fog/aws/requests/compute/delete_internet_gateway.rb,
lib/fog/aws/requests/compute/detach_internet_gateway.rb,
lib/fog/aws/requests/compute/modify_subnet_attribute.rb,
lib/fog/aws/requests/compute/modify_volume_attribute.rb,
lib/fog/aws/requests/compute/attach_network_interface.rb,
lib/fog/aws/requests/compute/create_network_acl_entry.rb,
lib/fog/aws/requests/compute/create_network_interface.rb,
lib/fog/aws/requests/compute/delete_network_acl_entry.rb,
lib/fog/aws/requests/compute/delete_network_interface.rb,
lib/fog/aws/requests/compute/describe_instance_status.rb,
lib/fog/aws/requests/compute/describe_security_groups.rb,
lib/fog/aws/requests/compute/detach_network_interface.rb,
lib/fog/aws/requests/compute/disassociate_route_table.rb,
lib/fog/aws/requests/compute/describe_placement_groups.rb,
lib/fog/aws/requests/compute/modify_instance_attribute.rb,
lib/fog/aws/requests/compute/modify_snapshot_attribute.rb,
lib/fog/aws/requests/compute/replace_network_acl_entry.rb,
lib/fog/aws/requests/compute/describe_internet_gateways.rb,
lib/fog/aws/requests/compute/assign_private_ip_addresses.rb,
lib/fog/aws/requests/compute/describe_account_attributes.rb,
lib/fog/aws/requests/compute/describe_availability_zones.rb,
lib/fog/aws/requests/compute/describe_network_interfaces.rb,
lib/fog/aws/requests/compute/describe_reserved_instances.rb,
lib/fog/aws/requests/compute/describe_spot_price_history.rb,
lib/fog/aws/requests/compute/cancel_spot_instance_requests.rb,
lib/fog/aws/requests/compute/revoke_security_group_ingress.rb,
lib/fog/aws/requests/compute/describe_spot_instance_requests.rb,
lib/fog/aws/requests/compute/replace_network_acl_association.rb,
lib/fog/aws/requests/compute/authorize_security_group_ingress.rb,
lib/fog/aws/requests/compute/create_spot_datafeed_subscription.rb,
lib/fog/aws/requests/compute/delete_spot_datafeed_subscription.rb,
lib/fog/aws/requests/compute/reset_network_interface_attribute.rb,
lib/fog/aws/requests/compute/modify_network_interface_attribute.rb,
lib/fog/aws/requests/compute/describe_spot_datafeed_subscription.rb,
lib/fog/aws/requests/compute/describe_network_interface_attribute.rb,
lib/fog/aws/requests/compute/purchase_reserved_instances_offering.rb,
lib/fog/aws/requests/compute/describe_reserved_instances_offerings.rb
Defined Under Namespace
Classes: Address, Addresses, DhcpOption, DhcpOptions, Flavor, Flavors, Image, Images, InternetGateway, InternetGateways, InvalidURIError, KeyPair, KeyPairs, Mock, NetworkAcl, NetworkAcls, NetworkInterface, NetworkInterfaces, Real, RouteTable, RouteTables, SecurityGroup, SecurityGroups, Server, Servers, Snapshot, Snapshots, SpotRequest, SpotRequests, Subnet, Subnets, Tag, Tags, VPC, Volume, Volumes, Vpcs
Constant Summary collapse
- FLAVORS =
[ { :id => 't1.micro', :name => 'Micro Instance', :bits => 0, :cores => 2, :disk => 0, :ram => 613, :ebs_optimized_available => false, :instance_store_volumes => 0 }, { :id => 't2.micro', :name => 'Micro Instance', :bits => 64, :cores => 1, :disk => 0, :ram => 1024, :ebs_optimized_available => false, :instance_store_volumes => 0 }, { :id => 't2.small', :name => 'Micro Instance', :bits => 64, :cores => 1, :disk => 0, :ram => 2048, :ebs_optimized_available => false, :instance_store_volumes => 0 }, { :id => 't2.medium', :name => 'Micro Instance', :bits => 64, :cores => 2, :disk => 0, :ram => 4096, :ebs_optimized_available => false, :instance_store_volumes => 0 }, { :id => 'm1.small', :name => 'Small Instance', :bits => 32, :cores => 1, :disk => 160, :ram => 1740.8, :ebs_optimized_available => false, :instance_store_volumes => 1 }, { :id => 'm1.medium', :name => 'Medium Instance', :bits => 32, :cores => 2, :disk => 400, :ram => 3750, :ebs_optimized_available => false, :instance_store_volumes => 1 }, { :id => 'm1.large', :name => 'Large Instance', :bits => 64, :cores => 4, :disk => 850, :ram => 7680, :ebs_optimized_available => true, :instance_store_volumes => 2 }, { :id => 'm1.xlarge', :name => 'Extra Large Instance', :bits => 64, :cores => 8, :disk => 1690, :ram => 15360, :ebs_optimized_available => true, :instance_store_volumes => 4 }, { :id => 'c1.medium', :bits => 32, :cores => 5, :disk => 350, :name => 'High-CPU Medium', :ram => 1740.8, :ebs_optimized_available => false, :instance_store_volumes => 1 }, { :id => 'c1.xlarge', :name => 'High-CPU Extra Large', :bits => 64, :cores => 20, :disk => 1690, :ram => 7168, :ebs_optimized_available => true, :instance_store_volumes => 4 }, { :id => 'c3.large', :name => 'C3 Large', :bits => 64, :cores => 7, :disk => 32, :ram => 3750, :ebs_optimized_available => false, :instance_store_volumes => 2 }, { :id => 'c3.xlarge', :name => 'C3 Extra Large', :bits => 64, :cores => 14, :disk => 80, :ram => 7168, :ebs_optimized_available => true, :instance_store_volumes => 2 }, { :id => 'c3.2xlarge', :name => 'C3 Double Extra Large', :bits => 64, :cores => 28, :disk => 160, :ram => 15360, :ebs_optimized_available => true, :instance_store_volumes => 2 }, { :id => 'c3.4xlarge', :name => 'C3 Quadruple Extra Large', :bits => 64, :cores => 55, :disk => 320, :ram => 30720, :ebs_optimized_available => true, :instance_store_volumes => 2 }, { :id => 'c3.8xlarge', :name => 'C3 Eight Extra Large', :bits => 64, :cores => 108, :disk => 640, :ram => 61440, :ebs_optimized_available => false, :instance_store_volumes => 2 }, { :id => 'g2.2xlarge', :name => 'GPU Double Extra Large', :bits => 64, :cores => 26, :disk => 60, :ram => 15360, :ebs_optimized_available => true, :instance_store_volumes => 0 }, { :id => 'hs1.8xlarge', :name => 'High Storage Eight Extra Large', :bits => 64, :cores => 35, :disk => 50331648, :ram => 119808, :ebs_optimized_available => false, :instance_store_volumes => 24 }, { :id => 'm2.xlarge', :name => 'High-Memory Extra Large', :bits => 64, :cores => 6.5, :disk => 420, :ram => 17510.4, :ebs_optimized_available => false, :instance_store_volumes => 1 }, { :id => 'm2.2xlarge', :name => 'High Memory Double Extra Large', :bits => 64, :cores => 13, :disk => 850, :ram => 35020.8, :ebs_optimized_available => true, :instance_store_volumes => 1 }, { :id => 'm2.4xlarge', :name => 'High Memory Quadruple Extra Large', :bits => 64, :cores => 26, :disk => 1690, :ram => 70041.6, :ebs_optimized_available => true, :instance_store_volumes => 2 }, { :id => 'cr1.8xlarge', :name => 'High Memory Eight Extra Large', :bits => 64, :cores => 88, :disk => 240, :ram => 249856, :ebs_optimized_available => false, :instance_store_volumes => 2 }, { :id => 'm3.medium', :name => 'M3 Medium', :bits => 64, :cores => 3, :disk => 4, :ram => 3840, :ebs_optimized_available => false, :instance_store_volumes => 0 }, { :id => 'm3.large', :name => 'M3 Large', :bits => 64, :cores => 6.5, :disk => 32, :ram => 7168, :ebs_optimized_available => false, :instance_store_volumes => 1 }, { :id => 'm3.xlarge', :name => 'M3 Extra Large', :bits => 64, :cores => 13, :disk => 80, :ram => 15360, :ebs_optimized_available => true, :instance_store_volumes => 2 }, { :id => 'm3.2xlarge', :name => 'M3 Double Extra Large', :bits => 64, :cores => 26, :disk => 160, :ram => 30720, :ebs_optimized_available => true, :instance_store_volumes => 2 }, { :id => "hi1.4xlarge", :name => "High I/O Quadruple Extra Large Instance", :bits => 64, :cores => 35, :disk => 2048, :ram => 61952, :ebs_optimized_available => false, :instance_store_volumes => 2 }, { :id => 'cc1.4xlarge', :name => 'Cluster Compute Quadruple Extra Large', :bits => 64, :cores => 33.5, :disk => 1690, :ram => 23552, :ebs_optimized_available => false, :instance_store_volumes => 0 }, { :id => 'cc2.8xlarge', :name => 'Cluster Compute Eight Extra Large', :bits => 64, :cores => 88, :disk => 3370, :ram => 61952, :ebs_optimized_available => false, :instance_store_volumes => 4 }, { :id => 'cg1.4xlarge', :name => 'Cluster GPU Quadruple Extra Large', :bits => 64, :cores => 33.5, :disk => 1690, :ram => 22528, :ebs_optimized_available => false, :instance_store_volumes => 2 }, { :id => 'i2.xlarge', :name => 'I2 Extra Large', :bits => 64, :cores => 14, :disk => 800, :ram => 31232, :ebs_optimized_available => true, :instance_store_volumes => 1 }, { :id => 'i2.2xlarge', :name => 'I2 Double Extra Large', :bits => 64, :cores => 27, :disk => 1600, :ram => 62464, :ebs_optimized_available => true, :instance_store_volumes => 2 }, { :id => 'i2.4xlarge', :name => 'I2 Quadruple Extra Large', :bits => 64, :cores => 53, :disk => 3200, :ram => 124928, :ebs_optimized_available => true, :instance_store_volumes => 4 }, { :id => 'i2.8xlarge', :name => 'I2 Eight Extra Large', :bits => 64, :cores => 104, :disk => 6400, :ram => 249856, :ebs_optimized_available => false, :instance_store_volumes => 8 }, { :id => "r3.large", :name => "R3 Large", :bits => 64, :cores => 2, :ram => 15360, :disk => 32, :ebs_optimized_available => true, :instance_store_volumes => 1 }, { :id => "r3.xlarge", :name => "R3 Extra Large", :bits => 64, :cores => 4, :ram => 31232, :disk => 80, :ebs_optimized_available => true, :instance_store_volumes => 1 }, { :id => "r3.2xlarge", :name => "R3 Double Extra Large", :bits => 64, :cores => 8, :ram => 62464, :disk => 160, :ebs_optimized_available => true, :instance_store_volumes => 1 }, { :id => "r3.4xlarge", :name => "R3 Quadruple Extra Large", :bits => 64, :cores => 16, :ram => 124928, :disk => 320, :ebs_optimized_available => true, :instance_store_volumes => 1 }, { :id => "r3.8xlarge", :name => "R3 Eight Extra Large", :bits => 64, :cores => 32, :ram => 249856, :disk => 640, :ebs_optimized_available => true, :instance_store_volumes => 2 } ]