fog-aws 3.0.0 → 3.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (499) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +10 -0
  3. data/.github/workflows/ruby.yml +36 -0
  4. data/.github/workflows/stale.yml +23 -0
  5. data/.gitignore +1 -0
  6. data/CHANGELOG.md +354 -22
  7. data/Gemfile +1 -1
  8. data/LICENSE.md +1 -1
  9. data/README.md +60 -7
  10. data/Rakefile +6 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +8 -0
  13. data/fog-aws.gemspec +5 -4
  14. data/lib/fog/aws.rb +27 -19
  15. data/lib/fog/aws/auto_scaling.rb +1 -0
  16. data/lib/fog/aws/cdn.rb +15 -2
  17. data/lib/fog/aws/compute.rb +36 -23
  18. data/lib/fog/aws/credential_fetcher.rb +62 -8
  19. data/lib/fog/aws/dns.rb +154 -5
  20. data/lib/fog/aws/efs.rb +1 -1
  21. data/lib/fog/aws/elasticache.rb +4 -2
  22. data/lib/fog/aws/elb.rb +3 -2
  23. data/lib/fog/aws/elbv2.rb +72 -0
  24. data/lib/fog/aws/glacier.rb +83 -21
  25. data/lib/fog/aws/kinesis.rb +23 -15
  26. data/lib/fog/aws/models/auto_scaling/group.rb +10 -0
  27. data/lib/fog/aws/models/cdn/distribution.rb +4 -4
  28. data/lib/fog/aws/models/cdn/distribution_helper.rb +2 -2
  29. data/lib/fog/aws/models/cdn/distributions.rb +4 -4
  30. data/lib/fog/aws/models/cdn/distributions_helper.rb +2 -2
  31. data/lib/fog/aws/models/cdn/invalidation.rb +2 -2
  32. data/lib/fog/aws/models/cdn/invalidations.rb +3 -3
  33. data/lib/fog/aws/models/cdn/streaming_distribution.rb +3 -3
  34. data/lib/fog/aws/models/cdn/streaming_distributions.rb +4 -4
  35. data/lib/fog/aws/models/compute/address.rb +3 -2
  36. data/lib/fog/aws/models/compute/addresses.rb +3 -3
  37. data/lib/fog/aws/models/compute/dhcp_option.rb +2 -2
  38. data/lib/fog/aws/models/compute/dhcp_options.rb +7 -7
  39. data/lib/fog/aws/models/compute/flavor.rb +2 -2
  40. data/lib/fog/aws/models/compute/flavors.rb +2719 -397
  41. data/lib/fog/aws/models/compute/image.rb +2 -2
  42. data/lib/fog/aws/models/compute/images.rb +3 -3
  43. data/lib/fog/aws/models/compute/internet_gateway.rb +2 -2
  44. data/lib/fog/aws/models/compute/internet_gateways.rb +7 -7
  45. data/lib/fog/aws/models/compute/key_pair.rb +2 -2
  46. data/lib/fog/aws/models/compute/key_pairs.rb +3 -3
  47. data/lib/fog/aws/models/compute/network_acl.rb +4 -4
  48. data/lib/fog/aws/models/compute/network_acls.rb +6 -6
  49. data/lib/fog/aws/models/compute/network_interface.rb +2 -2
  50. data/lib/fog/aws/models/compute/network_interfaces.rb +4 -4
  51. data/lib/fog/aws/models/compute/route_table.rb +2 -2
  52. data/lib/fog/aws/models/compute/route_tables.rb +7 -7
  53. data/lib/fog/aws/models/compute/security_group.rb +2 -2
  54. data/lib/fog/aws/models/compute/security_groups.rb +3 -3
  55. data/lib/fog/aws/models/compute/server.rb +6 -4
  56. data/lib/fog/aws/models/compute/servers.rb +13 -8
  57. data/lib/fog/aws/models/compute/snapshot.rb +9 -8
  58. data/lib/fog/aws/models/compute/snapshots.rb +3 -3
  59. data/lib/fog/aws/models/compute/spot_request.rb +2 -2
  60. data/lib/fog/aws/models/compute/spot_requests.rb +3 -3
  61. data/lib/fog/aws/models/compute/subnet.rb +2 -2
  62. data/lib/fog/aws/models/compute/subnets.rb +3 -3
  63. data/lib/fog/aws/models/compute/tag.rb +2 -2
  64. data/lib/fog/aws/models/compute/tags.rb +3 -3
  65. data/lib/fog/aws/models/compute/volume.rb +3 -3
  66. data/lib/fog/aws/models/compute/volumes.rb +3 -3
  67. data/lib/fog/aws/models/compute/vpc.rb +10 -4
  68. data/lib/fog/aws/models/compute/vpcs.rb +3 -3
  69. data/lib/fog/aws/models/dns/record.rb +2 -2
  70. data/lib/fog/aws/models/dns/records.rb +4 -4
  71. data/lib/fog/aws/models/dns/zone.rb +3 -3
  72. data/lib/fog/aws/models/dns/zones.rb +4 -4
  73. data/lib/fog/aws/models/efs/file_system.rb +4 -0
  74. data/lib/fog/aws/models/rds/cluster.rb +9 -1
  75. data/lib/fog/aws/models/rds/server.rb +66 -63
  76. data/lib/fog/aws/models/storage/directories.rb +3 -3
  77. data/lib/fog/aws/models/storage/directory.rb +40 -6
  78. data/lib/fog/aws/models/storage/file.rb +132 -7
  79. data/lib/fog/aws/models/storage/files.rb +36 -6
  80. data/lib/fog/aws/models/storage/version.rb +2 -2
  81. data/lib/fog/aws/models/storage/versions.rb +3 -3
  82. data/lib/fog/aws/parsers/cdn/distribution.rb +2 -2
  83. data/lib/fog/aws/parsers/cdn/get_distribution_list.rb +2 -2
  84. data/lib/fog/aws/parsers/cdn/get_invalidation.rb +2 -2
  85. data/lib/fog/aws/parsers/cdn/get_invalidation_list.rb +2 -2
  86. data/lib/fog/aws/parsers/cdn/get_streaming_distribution_list.rb +2 -2
  87. data/lib/fog/aws/parsers/cdn/post_invalidation.rb +2 -2
  88. data/lib/fog/aws/parsers/cdn/streaming_distribution.rb +1 -1
  89. data/lib/fog/aws/parsers/compute/allocate_address.rb +2 -2
  90. data/lib/fog/aws/parsers/compute/assign_private_ip_addresses.rb +2 -2
  91. data/lib/fog/aws/parsers/compute/associate_address.rb +2 -2
  92. data/lib/fog/aws/parsers/compute/associate_route_table.rb +2 -2
  93. data/lib/fog/aws/parsers/compute/attach_network_interface.rb +2 -2
  94. data/lib/fog/aws/parsers/compute/attach_volume.rb +2 -2
  95. data/lib/fog/aws/parsers/compute/basic.rb +2 -2
  96. data/lib/fog/aws/parsers/compute/cancel_spot_instance_requests.rb +2 -2
  97. data/lib/fog/aws/parsers/compute/copy_image.rb +2 -2
  98. data/lib/fog/aws/parsers/compute/copy_snapshot.rb +2 -2
  99. data/lib/fog/aws/parsers/compute/create_dhcp_options.rb +2 -2
  100. data/lib/fog/aws/parsers/compute/create_image.rb +2 -2
  101. data/lib/fog/aws/parsers/compute/create_internet_gateway.rb +2 -2
  102. data/lib/fog/aws/parsers/compute/create_key_pair.rb +2 -2
  103. data/lib/fog/aws/parsers/compute/create_network_acl.rb +2 -2
  104. data/lib/fog/aws/parsers/compute/create_network_interface.rb +2 -2
  105. data/lib/fog/aws/parsers/compute/create_route_table.rb +2 -2
  106. data/lib/fog/aws/parsers/compute/create_security_group.rb +2 -2
  107. data/lib/fog/aws/parsers/compute/create_snapshot.rb +3 -3
  108. data/lib/fog/aws/parsers/compute/create_subnet.rb +35 -8
  109. data/lib/fog/aws/parsers/compute/create_volume.rb +2 -2
  110. data/lib/fog/aws/parsers/compute/create_vpc.rb +2 -2
  111. data/lib/fog/aws/parsers/compute/deregister_image.rb +2 -2
  112. data/lib/fog/aws/parsers/compute/describe_account_attributes.rb +2 -2
  113. data/lib/fog/aws/parsers/compute/describe_addresses.rb +32 -11
  114. data/lib/fog/aws/parsers/compute/describe_availability_zones.rb +2 -2
  115. data/lib/fog/aws/parsers/compute/describe_classic_link_instances.rb +2 -2
  116. data/lib/fog/aws/parsers/compute/describe_dhcp_options.rb +2 -2
  117. data/lib/fog/aws/parsers/compute/describe_image_attribute.rb +122 -0
  118. data/lib/fog/aws/parsers/compute/describe_images.rb +2 -2
  119. data/lib/fog/aws/parsers/compute/describe_instance_attribute.rb +2 -2
  120. data/lib/fog/aws/parsers/compute/describe_instance_status.rb +2 -2
  121. data/lib/fog/aws/parsers/compute/describe_instances.rb +2 -2
  122. data/lib/fog/aws/parsers/compute/describe_internet_gateways.rb +2 -2
  123. data/lib/fog/aws/parsers/compute/describe_key_pairs.rb +2 -2
  124. data/lib/fog/aws/parsers/compute/describe_network_acls.rb +2 -2
  125. data/lib/fog/aws/parsers/compute/describe_network_interface_attribute.rb +2 -2
  126. data/lib/fog/aws/parsers/compute/describe_network_interfaces.rb +2 -2
  127. data/lib/fog/aws/parsers/compute/describe_placement_groups.rb +2 -2
  128. data/lib/fog/aws/parsers/compute/describe_regions.rb +2 -2
  129. data/lib/fog/aws/parsers/compute/describe_reserved_instances.rb +2 -2
  130. data/lib/fog/aws/parsers/compute/describe_reserved_instances_offerings.rb +2 -2
  131. data/lib/fog/aws/parsers/compute/describe_route_tables.rb +2 -2
  132. data/lib/fog/aws/parsers/compute/describe_security_groups.rb +3 -3
  133. data/lib/fog/aws/parsers/compute/describe_snapshots.rb +2 -2
  134. data/lib/fog/aws/parsers/compute/describe_spot_price_history.rb +2 -2
  135. data/lib/fog/aws/parsers/compute/describe_subnets.rb +35 -8
  136. data/lib/fog/aws/parsers/compute/describe_tags.rb +2 -2
  137. data/lib/fog/aws/parsers/compute/describe_volume_status.rb +2 -2
  138. data/lib/fog/aws/parsers/compute/describe_volumes.rb +2 -2
  139. data/lib/fog/aws/parsers/compute/describe_volumes_modifications.rb +2 -2
  140. data/lib/fog/aws/parsers/compute/describe_vpc_attribute.rb +2 -2
  141. data/lib/fog/aws/parsers/compute/describe_vpc_classic_link.rb +2 -2
  142. data/lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb +2 -2
  143. data/lib/fog/aws/parsers/compute/describe_vpcs.rb +2 -2
  144. data/lib/fog/aws/parsers/compute/detach_volume.rb +2 -2
  145. data/lib/fog/aws/parsers/compute/get_console_output.rb +2 -2
  146. data/lib/fog/aws/parsers/compute/get_password_data.rb +2 -2
  147. data/lib/fog/aws/parsers/compute/import_key_pair.rb +2 -2
  148. data/lib/fog/aws/parsers/compute/modify_subnet_attribute.rb +2 -2
  149. data/lib/fog/aws/parsers/compute/modify_volume.rb +2 -2
  150. data/lib/fog/aws/parsers/compute/monitor_unmonitor_instances.rb +2 -2
  151. data/lib/fog/aws/parsers/compute/move_address_to_vpc.rb +2 -2
  152. data/lib/fog/aws/parsers/compute/network_acl_parser.rb +2 -2
  153. data/lib/fog/aws/parsers/compute/network_interface_parser.rb +2 -2
  154. data/lib/fog/aws/parsers/compute/purchase_reserved_instances_offering.rb +2 -2
  155. data/lib/fog/aws/parsers/compute/register_image.rb +2 -2
  156. data/lib/fog/aws/parsers/compute/replace_network_acl_association.rb +2 -2
  157. data/lib/fog/aws/parsers/compute/restore_address_to_classic.rb +2 -2
  158. data/lib/fog/aws/parsers/compute/run_instances.rb +2 -2
  159. data/lib/fog/aws/parsers/compute/spot_datafeed_subscription.rb +2 -2
  160. data/lib/fog/aws/parsers/compute/spot_instance_requests.rb +2 -2
  161. data/lib/fog/aws/parsers/compute/start_stop_instances.rb +2 -2
  162. data/lib/fog/aws/parsers/compute/terminate_instances.rb +2 -2
  163. data/lib/fog/aws/parsers/dns/change_resource_record_sets.rb +2 -2
  164. data/lib/fog/aws/parsers/dns/create_hosted_zone.rb +3 -3
  165. data/lib/fog/aws/parsers/dns/delete_hosted_zone.rb +2 -2
  166. data/lib/fog/aws/parsers/dns/get_change.rb +2 -2
  167. data/lib/fog/aws/parsers/dns/get_hosted_zone.rb +5 -5
  168. data/lib/fog/aws/parsers/dns/health_check.rb +2 -2
  169. data/lib/fog/aws/parsers/dns/list_health_checks.rb +2 -2
  170. data/lib/fog/aws/parsers/dns/list_hosted_zones.rb +5 -3
  171. data/lib/fog/aws/parsers/dns/list_resource_record_sets.rb +2 -2
  172. data/lib/fog/aws/parsers/elb/describe_load_balancers.rb +3 -3
  173. data/lib/fog/aws/parsers/elbv2/create_load_balancer.rb +88 -0
  174. data/lib/fog/aws/parsers/elbv2/describe_listeners.rb +110 -0
  175. data/lib/fog/aws/parsers/elbv2/describe_load_balancers.rb +88 -0
  176. data/lib/fog/aws/parsers/elbv2/describe_tags.rb +53 -0
  177. data/lib/fog/aws/parsers/elbv2/empty.rb +10 -0
  178. data/lib/fog/aws/parsers/rds/db_parser.rb +41 -2
  179. data/lib/fog/aws/parsers/storage/access_control_list.rb +2 -2
  180. data/lib/fog/aws/parsers/storage/complete_multipart_upload.rb +2 -2
  181. data/lib/fog/aws/parsers/storage/copy_object.rb +2 -2
  182. data/lib/fog/aws/parsers/storage/cors_configuration.rb +2 -2
  183. data/lib/fog/aws/parsers/storage/delete_multiple_objects.rb +2 -2
  184. data/lib/fog/aws/parsers/storage/get_bucket.rb +2 -2
  185. data/lib/fog/aws/parsers/storage/get_bucket_lifecycle.rb +2 -2
  186. data/lib/fog/aws/parsers/storage/get_bucket_location.rb +2 -2
  187. data/lib/fog/aws/parsers/storage/get_bucket_logging.rb +2 -2
  188. data/lib/fog/aws/parsers/storage/get_bucket_notification.rb +2 -2
  189. data/lib/fog/aws/parsers/storage/get_bucket_object_versions.rb +2 -2
  190. data/lib/fog/aws/parsers/storage/get_bucket_tagging.rb +2 -2
  191. data/lib/fog/aws/parsers/storage/get_bucket_versioning.rb +2 -2
  192. data/lib/fog/aws/parsers/storage/get_bucket_website.rb +2 -2
  193. data/lib/fog/aws/parsers/storage/get_object_tagging.rb +33 -0
  194. data/lib/fog/aws/parsers/storage/get_request_payment.rb +2 -2
  195. data/lib/fog/aws/parsers/storage/get_service.rb +2 -2
  196. data/lib/fog/aws/parsers/storage/initiate_multipart_upload.rb +2 -2
  197. data/lib/fog/aws/parsers/storage/list_multipart_uploads.rb +2 -2
  198. data/lib/fog/aws/parsers/storage/list_parts.rb +2 -2
  199. data/lib/fog/aws/parsers/storage/upload_part_copy_object.rb +18 -0
  200. data/lib/fog/aws/parsers/sts/assume_role_with_web_identity.rb +1 -1
  201. data/lib/fog/aws/requests/auto_scaling/set_instance_protection.rb +67 -0
  202. data/lib/fog/aws/requests/cdn/delete_distribution.rb +6 -6
  203. data/lib/fog/aws/requests/cdn/delete_streaming_distribution.rb +6 -6
  204. data/lib/fog/aws/requests/cdn/get_distribution.rb +5 -5
  205. data/lib/fog/aws/requests/cdn/get_distribution_list.rb +3 -3
  206. data/lib/fog/aws/requests/cdn/get_invalidation.rb +5 -5
  207. data/lib/fog/aws/requests/cdn/get_invalidation_list.rb +4 -4
  208. data/lib/fog/aws/requests/cdn/get_streaming_distribution.rb +5 -5
  209. data/lib/fog/aws/requests/cdn/get_streaming_distribution_list.rb +3 -3
  210. data/lib/fog/aws/requests/cdn/post_distribution.rb +6 -6
  211. data/lib/fog/aws/requests/cdn/post_invalidation.rb +5 -5
  212. data/lib/fog/aws/requests/cdn/post_streaming_distribution.rb +6 -6
  213. data/lib/fog/aws/requests/cdn/put_distribution_config.rb +7 -7
  214. data/lib/fog/aws/requests/cdn/put_streaming_distribution_config.rb +7 -7
  215. data/lib/fog/aws/requests/cloud_watch/put_metric_alarm.rb +2 -2
  216. data/lib/fog/aws/requests/compute/allocate_address.rb +4 -4
  217. data/lib/fog/aws/requests/compute/assign_private_ip_addresses.rb +5 -5
  218. data/lib/fog/aws/requests/compute/associate_address.rb +7 -7
  219. data/lib/fog/aws/requests/compute/associate_dhcp_options.rb +4 -4
  220. data/lib/fog/aws/requests/compute/associate_route_table.rb +5 -5
  221. data/lib/fog/aws/requests/compute/attach_classic_link_vpc.rb +7 -7
  222. data/lib/fog/aws/requests/compute/attach_internet_gateway.rb +4 -4
  223. data/lib/fog/aws/requests/compute/attach_network_interface.rb +6 -6
  224. data/lib/fog/aws/requests/compute/attach_volume.rb +7 -7
  225. data/lib/fog/aws/requests/compute/authorize_security_group_egress.rb +6 -6
  226. data/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +11 -11
  227. data/lib/fog/aws/requests/compute/cancel_spot_instance_requests.rb +4 -4
  228. data/lib/fog/aws/requests/compute/copy_image.rb +3 -3
  229. data/lib/fog/aws/requests/compute/copy_snapshot.rb +3 -3
  230. data/lib/fog/aws/requests/compute/create_dhcp_options.rb +3 -3
  231. data/lib/fog/aws/requests/compute/create_image.rb +3 -3
  232. data/lib/fog/aws/requests/compute/create_internet_gateway.rb +3 -3
  233. data/lib/fog/aws/requests/compute/create_key_pair.rb +4 -4
  234. data/lib/fog/aws/requests/compute/create_network_acl.rb +4 -4
  235. data/lib/fog/aws/requests/compute/create_network_acl_entry.rb +5 -5
  236. data/lib/fog/aws/requests/compute/create_network_interface.rb +6 -6
  237. data/lib/fog/aws/requests/compute/create_placement_group.rb +3 -3
  238. data/lib/fog/aws/requests/compute/create_route.rb +10 -10
  239. data/lib/fog/aws/requests/compute/create_route_table.rb +4 -4
  240. data/lib/fog/aws/requests/compute/create_security_group.rb +4 -4
  241. data/lib/fog/aws/requests/compute/create_snapshot.rb +3 -3
  242. data/lib/fog/aws/requests/compute/create_spot_datafeed_subscription.rb +3 -3
  243. data/lib/fog/aws/requests/compute/create_subnet.rb +6 -6
  244. data/lib/fog/aws/requests/compute/create_tags.rb +3 -3
  245. data/lib/fog/aws/requests/compute/create_volume.rb +11 -11
  246. data/lib/fog/aws/requests/compute/create_vpc.rb +7 -7
  247. data/lib/fog/aws/requests/compute/delete_dhcp_options.rb +4 -4
  248. data/lib/fog/aws/requests/compute/delete_internet_gateway.rb +4 -4
  249. data/lib/fog/aws/requests/compute/delete_key_pair.rb +3 -3
  250. data/lib/fog/aws/requests/compute/delete_network_acl.rb +5 -5
  251. data/lib/fog/aws/requests/compute/delete_network_acl_entry.rb +5 -5
  252. data/lib/fog/aws/requests/compute/delete_network_interface.rb +5 -5
  253. data/lib/fog/aws/requests/compute/delete_placement_group.rb +3 -3
  254. data/lib/fog/aws/requests/compute/delete_route.rb +6 -6
  255. data/lib/fog/aws/requests/compute/delete_route_table.rb +5 -5
  256. data/lib/fog/aws/requests/compute/delete_security_group.rb +9 -9
  257. data/lib/fog/aws/requests/compute/delete_snapshot.rb +4 -4
  258. data/lib/fog/aws/requests/compute/delete_spot_datafeed_subscription.rb +3 -3
  259. data/lib/fog/aws/requests/compute/delete_subnet.rb +4 -4
  260. data/lib/fog/aws/requests/compute/delete_tags.rb +3 -3
  261. data/lib/fog/aws/requests/compute/delete_volume.rb +5 -5
  262. data/lib/fog/aws/requests/compute/delete_vpc.rb +4 -4
  263. data/lib/fog/aws/requests/compute/deregister_image.rb +4 -4
  264. data/lib/fog/aws/requests/compute/describe_account_attributes.rb +3 -3
  265. data/lib/fog/aws/requests/compute/describe_addresses.rb +3 -3
  266. data/lib/fog/aws/requests/compute/describe_availability_zones.rb +3 -3
  267. data/lib/fog/aws/requests/compute/describe_classic_link_instances.rb +3 -3
  268. data/lib/fog/aws/requests/compute/describe_dhcp_options.rb +3 -3
  269. data/lib/fog/aws/requests/compute/describe_image_attribute.rb +74 -0
  270. data/lib/fog/aws/requests/compute/describe_images.rb +3 -3
  271. data/lib/fog/aws/requests/compute/describe_instance_attribute.rb +4 -4
  272. data/lib/fog/aws/requests/compute/describe_instance_status.rb +3 -3
  273. data/lib/fog/aws/requests/compute/describe_instances.rb +4 -4
  274. data/lib/fog/aws/requests/compute/describe_internet_gateways.rb +3 -3
  275. data/lib/fog/aws/requests/compute/describe_key_pairs.rb +3 -3
  276. data/lib/fog/aws/requests/compute/describe_network_acls.rb +3 -3
  277. data/lib/fog/aws/requests/compute/describe_network_interface_attribute.rb +5 -5
  278. data/lib/fog/aws/requests/compute/describe_network_interfaces.rb +3 -3
  279. data/lib/fog/aws/requests/compute/describe_placement_groups.rb +3 -3
  280. data/lib/fog/aws/requests/compute/describe_regions.rb +3 -3
  281. data/lib/fog/aws/requests/compute/describe_reserved_instances.rb +3 -3
  282. data/lib/fog/aws/requests/compute/describe_reserved_instances_offerings.rb +3 -3
  283. data/lib/fog/aws/requests/compute/describe_route_tables.rb +3 -3
  284. data/lib/fog/aws/requests/compute/describe_security_groups.rb +15 -4
  285. data/lib/fog/aws/requests/compute/describe_snapshots.rb +3 -3
  286. data/lib/fog/aws/requests/compute/describe_spot_datafeed_subscription.rb +3 -3
  287. data/lib/fog/aws/requests/compute/describe_spot_instance_requests.rb +3 -3
  288. data/lib/fog/aws/requests/compute/describe_spot_price_history.rb +5 -5
  289. data/lib/fog/aws/requests/compute/describe_subnets.rb +3 -3
  290. data/lib/fog/aws/requests/compute/describe_tags.rb +3 -3
  291. data/lib/fog/aws/requests/compute/describe_volume_status.rb +3 -3
  292. data/lib/fog/aws/requests/compute/describe_volumes.rb +3 -3
  293. data/lib/fog/aws/requests/compute/describe_volumes_modifications.rb +3 -3
  294. data/lib/fog/aws/requests/compute/describe_vpc_attribute.rb +5 -5
  295. data/lib/fog/aws/requests/compute/describe_vpc_classic_link.rb +4 -4
  296. data/lib/fog/aws/requests/compute/describe_vpc_classic_link_dns_support.rb +3 -3
  297. data/lib/fog/aws/requests/compute/describe_vpcs.rb +3 -3
  298. data/lib/fog/aws/requests/compute/detach_classic_link_vpc.rb +5 -5
  299. data/lib/fog/aws/requests/compute/detach_internet_gateway.rb +4 -4
  300. data/lib/fog/aws/requests/compute/detach_network_interface.rb +4 -4
  301. data/lib/fog/aws/requests/compute/detach_volume.rb +5 -5
  302. data/lib/fog/aws/requests/compute/disable_vpc_classic_link.rb +4 -4
  303. data/lib/fog/aws/requests/compute/disable_vpc_classic_link_dns_support.rb +4 -4
  304. data/lib/fog/aws/requests/compute/disassociate_address.rb +5 -5
  305. data/lib/fog/aws/requests/compute/disassociate_route_table.rb +5 -5
  306. data/lib/fog/aws/requests/compute/enable_vpc_classic_link.rb +4 -4
  307. data/lib/fog/aws/requests/compute/enable_vpc_classic_link_dns_support.rb +4 -4
  308. data/lib/fog/aws/requests/compute/get_console_output.rb +4 -4
  309. data/lib/fog/aws/requests/compute/get_password_data.rb +4 -4
  310. data/lib/fog/aws/requests/compute/import_key_pair.rb +4 -4
  311. data/lib/fog/aws/requests/compute/modify_image_attribute.rb +4 -4
  312. data/lib/fog/aws/requests/compute/modify_instance_attribute.rb +3 -3
  313. data/lib/fog/aws/requests/compute/modify_instance_placement.rb +33 -0
  314. data/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb +8 -8
  315. data/lib/fog/aws/requests/compute/modify_snapshot_attribute.rb +3 -3
  316. data/lib/fog/aws/requests/compute/modify_subnet_attribute.rb +3 -3
  317. data/lib/fog/aws/requests/compute/modify_volume.rb +5 -5
  318. data/lib/fog/aws/requests/compute/modify_volume_attribute.rb +4 -4
  319. data/lib/fog/aws/requests/compute/modify_vpc_attribute.rb +7 -7
  320. data/lib/fog/aws/requests/compute/monitor_instances.rb +4 -4
  321. data/lib/fog/aws/requests/compute/move_address_to_vpc.rb +4 -4
  322. data/lib/fog/aws/requests/compute/purchase_reserved_instances_offering.rb +3 -3
  323. data/lib/fog/aws/requests/compute/reboot_instances.rb +4 -4
  324. data/lib/fog/aws/requests/compute/register_image.rb +4 -4
  325. data/lib/fog/aws/requests/compute/release_address.rb +5 -5
  326. data/lib/fog/aws/requests/compute/replace_network_acl_association.rb +5 -5
  327. data/lib/fog/aws/requests/compute/replace_network_acl_entry.rb +5 -5
  328. data/lib/fog/aws/requests/compute/replace_route.rb +10 -10
  329. data/lib/fog/aws/requests/compute/request_spot_instances.rb +8 -8
  330. data/lib/fog/aws/requests/compute/reset_network_interface_attribute.rb +6 -6
  331. data/lib/fog/aws/requests/compute/restore_address_to_classic.rb +5 -5
  332. data/lib/fog/aws/requests/compute/revoke_security_group_egress.rb +4 -4
  333. data/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb +4 -4
  334. data/lib/fog/aws/requests/compute/run_instances.rb +24 -4
  335. data/lib/fog/aws/requests/compute/start_instances.rb +4 -4
  336. data/lib/fog/aws/requests/compute/stop_instances.rb +15 -7
  337. data/lib/fog/aws/requests/compute/terminate_instances.rb +4 -4
  338. data/lib/fog/aws/requests/compute/unmonitor_instances.rb +4 -4
  339. data/lib/fog/aws/requests/dns/change_resource_record_sets.rb +6 -139
  340. data/lib/fog/aws/requests/dns/create_health_check.rb +3 -3
  341. data/lib/fog/aws/requests/dns/create_hosted_zone.rb +4 -4
  342. data/lib/fog/aws/requests/dns/delete_health_check.rb +2 -2
  343. data/lib/fog/aws/requests/dns/delete_hosted_zone.rb +4 -4
  344. data/lib/fog/aws/requests/dns/get_change.rb +4 -4
  345. data/lib/fog/aws/requests/dns/get_health_check.rb +3 -3
  346. data/lib/fog/aws/requests/dns/get_hosted_zone.rb +4 -4
  347. data/lib/fog/aws/requests/dns/list_health_checks.rb +3 -3
  348. data/lib/fog/aws/requests/dns/list_hosted_zones.rb +3 -3
  349. data/lib/fog/aws/requests/dns/list_resource_record_sets.rb +5 -5
  350. data/lib/fog/aws/requests/dynamodb/update_item.rb +6 -5
  351. data/lib/fog/aws/requests/efs/create_file_system.rb +15 -3
  352. data/lib/fog/aws/requests/elb/create_load_balancer.rb +7 -7
  353. data/lib/fog/aws/requests/elb/deregister_instances_from_load_balancer.rb +1 -1
  354. data/lib/fog/aws/requests/elb/describe_instance_health.rb +1 -1
  355. data/lib/fog/aws/requests/elb/describe_tags.rb +1 -1
  356. data/lib/fog/aws/requests/elb/register_instances_with_load_balancer.rb +1 -1
  357. data/lib/fog/aws/requests/elbv2/add_tags.rb +45 -0
  358. data/lib/fog/aws/requests/elbv2/create_load_balancer.rb +160 -0
  359. data/lib/fog/aws/requests/elbv2/describe_listeners.rb +38 -0
  360. data/lib/fog/aws/requests/elbv2/describe_load_balancers.rb +100 -0
  361. data/lib/fog/aws/requests/elbv2/describe_tags.rb +50 -0
  362. data/lib/fog/aws/requests/elbv2/remove_tags.rb +45 -0
  363. data/lib/fog/aws/requests/lambda/invoke.rb +7 -7
  364. data/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +1 -1
  365. data/lib/fog/aws/requests/rds/create_db_instance.rb +1 -1
  366. data/lib/fog/aws/requests/rds/create_db_subnet_group.rb +2 -2
  367. data/lib/fog/aws/requests/rds/modify_db_instance.rb +1 -1
  368. data/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +1 -1
  369. data/lib/fog/aws/requests/storage/abort_multipart_upload.rb +3 -3
  370. data/lib/fog/aws/requests/storage/acl_utils.rb +3 -3
  371. data/lib/fog/aws/requests/storage/complete_multipart_upload.rb +4 -4
  372. data/lib/fog/aws/requests/storage/copy_object.rb +3 -3
  373. data/lib/fog/aws/requests/storage/cors_utils.rb +3 -3
  374. data/lib/fog/aws/requests/storage/delete_bucket.rb +2 -2
  375. data/lib/fog/aws/requests/storage/delete_bucket_cors.rb +2 -2
  376. data/lib/fog/aws/requests/storage/delete_bucket_lifecycle.rb +2 -2
  377. data/lib/fog/aws/requests/storage/delete_bucket_policy.rb +2 -2
  378. data/lib/fog/aws/requests/storage/delete_bucket_tagging.rb +2 -2
  379. data/lib/fog/aws/requests/storage/delete_bucket_website.rb +2 -2
  380. data/lib/fog/aws/requests/storage/delete_multiple_objects.rb +21 -11
  381. data/lib/fog/aws/requests/storage/delete_object.rb +2 -2
  382. data/lib/fog/aws/requests/storage/delete_object_url.rb +2 -2
  383. data/lib/fog/aws/requests/storage/get_bucket.rb +3 -3
  384. data/lib/fog/aws/requests/storage/get_bucket_acl.rb +4 -4
  385. data/lib/fog/aws/requests/storage/get_bucket_cors.rb +4 -4
  386. data/lib/fog/aws/requests/storage/get_bucket_lifecycle.rb +3 -3
  387. data/lib/fog/aws/requests/storage/get_bucket_location.rb +5 -6
  388. data/lib/fog/aws/requests/storage/get_bucket_logging.rb +3 -3
  389. data/lib/fog/aws/requests/storage/get_bucket_notification.rb +3 -3
  390. data/lib/fog/aws/requests/storage/get_bucket_object_versions.rb +3 -3
  391. data/lib/fog/aws/requests/storage/get_bucket_policy.rb +2 -2
  392. data/lib/fog/aws/requests/storage/get_bucket_tagging.rb +3 -3
  393. data/lib/fog/aws/requests/storage/get_bucket_versioning.rb +3 -3
  394. data/lib/fog/aws/requests/storage/get_bucket_website.rb +3 -3
  395. data/lib/fog/aws/requests/storage/get_object.rb +2 -2
  396. data/lib/fog/aws/requests/storage/get_object_acl.rb +4 -4
  397. data/lib/fog/aws/requests/storage/get_object_http_url.rb +2 -2
  398. data/lib/fog/aws/requests/storage/get_object_https_url.rb +2 -2
  399. data/lib/fog/aws/requests/storage/get_object_tagging.rb +41 -0
  400. data/lib/fog/aws/requests/storage/get_object_torrent.rb +2 -2
  401. data/lib/fog/aws/requests/storage/get_object_url.rb +2 -2
  402. data/lib/fog/aws/requests/storage/get_request_payment.rb +3 -3
  403. data/lib/fog/aws/requests/storage/get_service.rb +5 -5
  404. data/lib/fog/aws/requests/storage/head_bucket.rb +2 -2
  405. data/lib/fog/aws/requests/storage/head_object.rb +2 -2
  406. data/lib/fog/aws/requests/storage/head_object_url.rb +2 -2
  407. data/lib/fog/aws/requests/storage/initiate_multipart_upload.rb +4 -4
  408. data/lib/fog/aws/requests/storage/list_multipart_uploads.rb +3 -3
  409. data/lib/fog/aws/requests/storage/list_parts.rb +3 -3
  410. data/lib/fog/aws/requests/storage/post_object_hidden_fields.rb +2 -2
  411. data/lib/fog/aws/requests/storage/post_object_restore.rb +2 -2
  412. data/lib/fog/aws/requests/storage/put_bucket.rb +2 -2
  413. data/lib/fog/aws/requests/storage/put_bucket_acl.rb +4 -4
  414. data/lib/fog/aws/requests/storage/put_bucket_cors.rb +4 -4
  415. data/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb +2 -2
  416. data/lib/fog/aws/requests/storage/put_bucket_logging.rb +2 -2
  417. data/lib/fog/aws/requests/storage/put_bucket_notification.rb +2 -2
  418. data/lib/fog/aws/requests/storage/put_bucket_policy.rb +2 -2
  419. data/lib/fog/aws/requests/storage/put_bucket_tagging.rb +2 -2
  420. data/lib/fog/aws/requests/storage/put_bucket_versioning.rb +2 -2
  421. data/lib/fog/aws/requests/storage/put_bucket_website.rb +2 -2
  422. data/lib/fog/aws/requests/storage/put_object.rb +9 -7
  423. data/lib/fog/aws/requests/storage/put_object_acl.rb +4 -4
  424. data/lib/fog/aws/requests/storage/put_object_tagging.rb +42 -0
  425. data/lib/fog/aws/requests/storage/put_object_url.rb +2 -2
  426. data/lib/fog/aws/requests/storage/put_request_payment.rb +2 -2
  427. data/lib/fog/aws/requests/storage/shared_mock_methods.rb +4 -3
  428. data/lib/fog/aws/requests/storage/sync_clock.rb +2 -2
  429. data/lib/fog/aws/requests/storage/upload_part.rb +3 -3
  430. data/lib/fog/aws/requests/storage/upload_part_copy.rb +119 -0
  431. data/lib/fog/aws/requests/sts/assume_role_with_web_identity.rb +7 -6
  432. data/lib/fog/aws/service_mapper.rb +5 -5
  433. data/lib/fog/aws/storage.rb +50 -19
  434. data/lib/fog/aws/version.rb +1 -1
  435. data/tests/credentials_tests.rb +102 -39
  436. data/tests/helper.rb +2 -2
  437. data/tests/helpers/collection_helper.rb +3 -4
  438. data/tests/helpers/compute/flavors_helper.rb +1 -5
  439. data/tests/helpers/compute/server_helper.rb +1 -3
  440. data/tests/helpers/compute/servers_helper.rb +0 -2
  441. data/tests/helpers/dns_helper.rb +32 -31
  442. data/tests/helpers/formats_helper.rb +58 -56
  443. data/tests/helpers/formats_helper_tests.rb +22 -25
  444. data/tests/helpers/mock_helper.rb +96 -96
  445. data/tests/helpers/model_helper.rb +4 -5
  446. data/tests/helpers/responds_to_helper.rb +1 -1
  447. data/tests/helpers/schema_validator_tests.rb +21 -24
  448. data/tests/helpers/succeeds_helper.rb +2 -2
  449. data/tests/models/compute/address_tests.rb +1 -1
  450. data/tests/models/compute/network_acl_tests.rb +4 -4
  451. data/tests/models/compute/security_group_tests.rb +1 -1
  452. data/tests/models/compute/volume_tests.rb +1 -1
  453. data/tests/models/elb/model_tests.rb +1 -1
  454. data/tests/models/storage/directory_tests.rb +113 -2
  455. data/tests/models/storage/files_tests.rb +32 -0
  456. data/tests/parsers/compute/describe_images_tests.rb +2 -2
  457. data/tests/parsers/elb/describe_load_balancers.rb +1 -1
  458. data/tests/parsers/elbv2/create_load_balancer_tests.rb +48 -0
  459. data/tests/parsers/elbv2/describe_listeners_tests.rb +76 -0
  460. data/tests/parsers/elbv2/describe_load_balancers_tests.rb +54 -0
  461. data/tests/parsers/elbv2/describe_tags_tests.rb +35 -0
  462. data/tests/requests/auto_scaling/auto_scaling_tests.rb +8 -0
  463. data/tests/requests/compute/address_tests.rb +9 -9
  464. data/tests/requests/compute/assign_private_ip_tests.rb +3 -3
  465. data/tests/requests/compute/image_tests.rb +11 -2
  466. data/tests/requests/compute/instance_attrib_tests.rb +1 -1
  467. data/tests/requests/compute/instance_tests.rb +5 -5
  468. data/tests/requests/compute/internet_gateway_tests.rb +1 -1
  469. data/tests/requests/compute/key_pair_tests.rb +1 -1
  470. data/tests/requests/compute/network_acl_tests.rb +2 -2
  471. data/tests/requests/compute/network_interface_tests.rb +6 -6
  472. data/tests/requests/compute/placement_group_tests.rb +2 -2
  473. data/tests/requests/compute/region_tests.rb +4 -4
  474. data/tests/requests/compute/route_tests.rb +24 -24
  475. data/tests/requests/compute/security_group_tests.rb +14 -14
  476. data/tests/requests/compute/snapshot_tests.rb +1 -1
  477. data/tests/requests/compute/spot_datafeed_subscription_tests.rb +1 -1
  478. data/tests/requests/compute/subnet_tests.rb +3 -3
  479. data/tests/requests/compute/tag_tests.rb +3 -3
  480. data/tests/requests/compute/volume_tests.rb +11 -11
  481. data/tests/requests/compute/vpc_tests.rb +9 -3
  482. data/tests/requests/dns/change_resource_record_sets_tests.rb +3 -3
  483. data/tests/requests/efs/helper.rb +2 -0
  484. data/tests/requests/elbv2/helper.rb +66 -0
  485. data/tests/requests/elbv2/load_balancer_tests.rb +50 -0
  486. data/tests/requests/glacier/tree_hash_tests.rb +29 -0
  487. data/tests/requests/storage/acl_utils_tests.rb +24 -24
  488. data/tests/requests/storage/bucket_tests.rb +1 -1
  489. data/tests/requests/storage/cors_utils_tests.rb +14 -14
  490. data/tests/requests/storage/multipart_copy_tests.rb +93 -0
  491. data/tests/requests/storage/object_tests.rb +7 -0
  492. data/tests/requests/storage/versioning_tests.rb +38 -0
  493. data/tests/requests/sts/assume_role_with_web_identity_tests.rb +2 -0
  494. data/tests/signaturev4_tests.rb +21 -22
  495. data/tests/signed_params_tests.rb +7 -7
  496. data/tests/storage_tests.rb +1 -1
  497. metadata +61 -17
  498. data/.travis.yml +0 -55
  499. data/gemfiles/Gemfile-ruby-2.0 +0 -7
@@ -125,23 +125,26 @@ module Fog
125
125
  end
126
126
 
127
127
  class Mock
128
- def self.mutex
129
- @mutex ||= Mutex.new
130
- end
131
- def mutex; self.class.mutex; end
128
+ @mutex = Mutex.new
132
129
 
133
130
  def self.data
134
- @data ||= Hash.new do |hash, region|
135
- hash[region] = Hash.new do |region_hash, key|
136
- region_hash[key] = {
137
- :kinesis_streams => {}
138
- }
131
+ @mutex.synchronize do
132
+ @data ||= Hash.new do |hash, region|
133
+ hash[region] = Hash.new do |region_hash, key|
134
+ region_hash[key] = {
135
+ :kinesis_streams => {}
136
+ }
137
+ end
139
138
  end
139
+
140
+ yield @data if block_given?
140
141
  end
141
142
  end
142
143
 
143
144
  def self.reset
144
- @data = nil
145
+ @mutex.synchronize do
146
+ @data = nil
147
+ end
145
148
  end
146
149
 
147
150
  def initialize(options={})
@@ -153,31 +156,36 @@ module Fog
153
156
  end
154
157
 
155
158
  def data
156
- self.class.data[@region][@aws_access_key_id]
159
+ self.class.data do |data|
160
+ data[@region][@aws_access_key_id]
161
+ end
157
162
  end
158
163
 
159
164
  def reset_data
160
- self.class.data[@region].delete(@aws_access_key_id)
165
+ self.class.data do |data|
166
+ data[@region].delete(@aws_access_key_id)
167
+ end
161
168
  end
162
169
 
163
170
  def self.next_sequence_number
164
- mutex.synchronize do
171
+ @mutex.synchronize do
165
172
  @sequence_number ||= -1
166
173
  @sequence_number += 1
167
174
  @sequence_number.to_s
168
175
  end
169
176
  end
177
+
170
178
  def next_sequence_number; self.class.next_sequence_number; end
171
179
 
172
180
  def self.next_shard_id
173
- mutex.synchronize do
181
+ @mutex.synchronize do
174
182
  @shard_id ||= -1
175
183
  @shard_id += 1
176
184
  "shardId-#{@shard_id.to_s.rjust(12, "0")}"
177
185
  end
178
186
  end
187
+
179
188
  def next_shard_id; self.class.next_shard_id; end
180
-
181
189
  end
182
190
 
183
191
  end
@@ -99,6 +99,16 @@ module Fog
99
99
  reload
100
100
  end
101
101
 
102
+ def set_instance_protection(instance_ids, protected_from_scale_in)
103
+ requires :id
104
+ service.set_instance_protection(
105
+ id,
106
+ 'InstanceIds' => instance_ids,
107
+ 'ProtectedFromScaleIn' => protected_from_scale_in
108
+ )
109
+ reload
110
+ end
111
+
102
112
  def instances
103
113
  Fog::AWS::AutoScaling::Instances.new(:service => service).load(attributes[:instances])
104
114
  end
@@ -2,10 +2,10 @@ require 'fog/aws/models/cdn/invalidations'
2
2
  require 'fog/aws/models/cdn/distribution_helper'
3
3
 
4
4
  module Fog
5
- module CDN
6
- class AWS
5
+ module AWS
6
+ class CDN
7
7
  class Distribution < Fog::Model
8
- include Fog::CDN::AWS::DistributionHelper
8
+ include Fog::AWS::CDN::DistributionHelper
9
9
 
10
10
  identity :id, :aliases => 'Id'
11
11
 
@@ -33,7 +33,7 @@ module Fog
33
33
 
34
34
  def invalidations
35
35
  @invalidations ||= begin
36
- Fog::CDN::AWS::Invalidations.new(
36
+ Fog::AWS::CDN::Invalidations.new(
37
37
  :distribution => self,
38
38
  :service => service
39
39
  )
@@ -1,6 +1,6 @@
1
1
  module Fog
2
- module CDN
3
- class AWS
2
+ module AWS
3
+ class CDN
4
4
  module DistributionHelper
5
5
  def destroy
6
6
  requires :identity, :etag, :caller_reference
@@ -2,12 +2,12 @@ require 'fog/aws/models/cdn/distribution'
2
2
  require 'fog/aws/models/cdn/distributions_helper'
3
3
 
4
4
  module Fog
5
- module CDN
6
- class AWS
5
+ module AWS
6
+ class CDN
7
7
  class Distributions < Fog::Collection
8
- include Fog::CDN::AWS::DistributionsHelper
8
+ include Fog::AWS::CDN::DistributionsHelper
9
9
 
10
- model Fog::CDN::AWS::Distribution
10
+ model Fog::AWS::CDN::Distribution
11
11
 
12
12
  attribute :marker, :aliases => 'Marker'
13
13
  attribute :max_items, :aliases => 'MaxItems'
@@ -1,6 +1,6 @@
1
1
  module Fog
2
- module CDN
3
- class AWS
2
+ module AWS
3
+ class CDN
4
4
  module DistributionsHelper
5
5
 
6
6
  def all(options = {})
@@ -1,6 +1,6 @@
1
1
  module Fog
2
- module CDN
3
- class AWS
2
+ module AWS
3
+ class CDN
4
4
  class Invalidation < Fog::Model
5
5
  identity :id, :aliases => 'Id'
6
6
 
@@ -1,8 +1,8 @@
1
1
  require 'fog/aws/models/cdn/invalidation'
2
2
 
3
3
  module Fog
4
- module CDN
5
- class AWS
4
+ module AWS
5
+ class CDN
6
6
  class Invalidations < Fog::Collection
7
7
  attribute :is_truncated, :aliases => ['IsTruncated']
8
8
  attribute :max_items, :aliases => ['MaxItems']
@@ -11,7 +11,7 @@ module Fog
11
11
 
12
12
  attribute :distribution
13
13
 
14
- model Fog::CDN::AWS::Invalidation
14
+ model Fog::AWS::CDN::Invalidation
15
15
 
16
16
  def all(options = {})
17
17
  requires :distribution
@@ -2,10 +2,10 @@ require 'fog/aws/models/cdn/invalidations'
2
2
  require 'fog/aws/models/cdn/distribution_helper'
3
3
 
4
4
  module Fog
5
- module CDN
6
- class AWS
5
+ module AWS
6
+ class CDN
7
7
  class StreamingDistribution < Fog::Model
8
- include Fog::CDN::AWS::DistributionHelper
8
+ include Fog::AWS::CDN::DistributionHelper
9
9
 
10
10
  identity :id, :aliases => 'Id'
11
11
 
@@ -2,12 +2,12 @@ require 'fog/aws/models/cdn/streaming_distribution'
2
2
  require 'fog/aws/models/cdn/distributions_helper'
3
3
 
4
4
  module Fog
5
- module CDN
6
- class AWS
5
+ module AWS
6
+ class CDN
7
7
  class StreamingDistributions < Fog::Collection
8
- include Fog::CDN::AWS::DistributionsHelper
8
+ include Fog::AWS::CDN::DistributionsHelper
9
9
 
10
- model Fog::CDN::AWS::StreamingDistribution
10
+ model Fog::AWS::CDN::StreamingDistribution
11
11
 
12
12
  attribute :marker, :aliases => 'Marker'
13
13
  attribute :max_items, :aliases => 'MaxItems'
@@ -1,6 +1,6 @@
1
1
  module Fog
2
- module Compute
3
- class AWS
2
+ module AWS
3
+ class Compute
4
4
  class Address < Fog::Model
5
5
  identity :public_ip, :aliases => 'publicIp'
6
6
 
@@ -10,6 +10,7 @@ module Fog
10
10
  attribute :server_id, :aliases => 'instanceId'
11
11
  attribute :network_interface_id, :aliases => 'networkInterfaceId'
12
12
  attribute :network_interface_owner_id, :aliases => 'networkInterfaceOwnerId'
13
+ attribute :tags, :aliases => 'tagSet'
13
14
  attribute :domain
14
15
 
15
16
  def initialize(attributes = {})
@@ -1,13 +1,13 @@
1
1
  require 'fog/aws/models/compute/address'
2
2
 
3
3
  module Fog
4
- module Compute
5
- class AWS
4
+ module AWS
5
+ class Compute
6
6
  class Addresses < Fog::Collection
7
7
  attribute :filters
8
8
  attribute :server
9
9
 
10
- model Fog::Compute::AWS::Address
10
+ model Fog::AWS::Compute::Address
11
11
 
12
12
  # Used to create an IP address
13
13
  #
@@ -1,6 +1,6 @@
1
1
  module Fog
2
- module Compute
3
- class AWS
2
+ module AWS
3
+ class Compute
4
4
  class DhcpOption < Fog::Model
5
5
  identity :id, :aliases => 'dhcpOptionsId'
6
6
  attribute :dhcp_configuration_set, :aliases => 'dhcpConfigurationSet'
@@ -1,12 +1,12 @@
1
1
  require 'fog/aws/models/compute/dhcp_option'
2
2
 
3
3
  module Fog
4
- module Compute
5
- class AWS
4
+ module AWS
5
+ class Compute
6
6
  class DhcpOptions < Fog::Collection
7
7
  attribute :filters
8
8
 
9
- model Fog::Compute::AWS::DhcpOption
9
+ model Fog::AWS::Compute::DhcpOption
10
10
 
11
11
  # Creates a new dhcp option
12
12
  #
@@ -17,7 +17,7 @@ module Fog
17
17
  # Returns the details of the new DHCP options
18
18
  #
19
19
  #>> AWS.dhcp_options.new
20
- #=> <Fog::Compute::AWS::DhcpOption
20
+ #=> <Fog::AWS::Compute::DhcpOption
21
21
  #id=nil,
22
22
  #dhcp_configuration_set=nil,
23
23
  #tag_set=nil
@@ -38,10 +38,10 @@ module Fog
38
38
  # Returns an array of all DhcpOptions
39
39
  #
40
40
  #>> AWS.dhcp_options.all
41
- #<Fog::Compute::AWS::DhcpOptions
41
+ #<Fog::AWS::Compute::DhcpOptions
42
42
  #filters={}
43
43
  #[
44
- #<Fog::Compute::AWS::DhcpOption
44
+ #<Fog::AWS::Compute::DhcpOption
45
45
  #id="dopt-some-id",
46
46
  #dhcp_configuration_set={"vpcId"=>"vpc-some-id", "state"=>"available"},
47
47
  #tag_set={}
@@ -68,7 +68,7 @@ module Fog
68
68
  # ==== Returns
69
69
  #
70
70
  #>> AWS.dhcp_options.get("dopt-12345678")
71
- #=> <Fog::Compute::AWS::DhcpOption
71
+ #=> <Fog::AWS::Compute::DhcpOption
72
72
  #id="dopt-12345678",
73
73
  #dhcp_configuration_set={"vpcId"=>"vpc-12345678", "state"=>"available"},
74
74
  #tag_set={}
@@ -1,6 +1,6 @@
1
1
  module Fog
2
- module Compute
3
- class AWS
2
+ module AWS
3
+ class Compute
4
4
  class Flavor < Fog::Model
5
5
  identity :id
6
6
 
@@ -1,16 +1,78 @@
1
1
  require 'fog/aws/models/compute/flavor'
2
2
 
3
+ # To compute RAM from AWS doc https://aws.amazon.com/fr/ec2/instance-types
4
+ # we can use this formula: RAM (in MB) = AWS_RAM (in GiB) * 1073.742 MB/GiB
3
5
  module Fog
4
- module Compute
5
- class AWS
6
+ module AWS
7
+ class Compute
6
8
  FLAVORS = [
7
9
  {
8
- :id => 't1.micro',
9
- :name => 'Micro Instance',
10
- :bits => 0,
10
+ :id => 'a1.medium',
11
+ :name => 'A1 Medium Instance',
12
+ :bits => 64,
13
+ :cores => 1,
14
+ :disk => 0,
15
+ :ram => 2147,
16
+ :ebs_optimized_available => false,
17
+ :instance_store_volumes => 0
18
+ },
19
+ {
20
+ :id => 'a1.large',
21
+ :name => 'A1 Large Instance',
22
+ :bits => 64,
11
23
  :cores => 2,
12
24
  :disk => 0,
13
- :ram => 613,
25
+ :ram => 4295,
26
+ :ebs_optimized_available => false,
27
+ :instance_store_volumes => 0
28
+ },
29
+ {
30
+ :id => 'a1.xlarge',
31
+ :name => 'A1 Extra Large Instance',
32
+ :bits => 64,
33
+ :cores => 4,
34
+ :disk => 0,
35
+ :ram => 8590,
36
+ :ebs_optimized_available => false,
37
+ :instance_store_volumes => 0
38
+ },
39
+ {
40
+ :id => 'a1.2xlarge',
41
+ :name => 'A1 Double Extra Large Instance',
42
+ :bits => 64,
43
+ :cores => 8,
44
+ :disk => 0,
45
+ :ram => 17180,
46
+ :ebs_optimized_available => false,
47
+ :instance_store_volumes => 0
48
+ },
49
+ {
50
+ :id => 'a1.4xlarge',
51
+ :name => 'A1 Quadruple Extra Large Instance',
52
+ :bits => 64,
53
+ :cores => 16,
54
+ :disk => 0,
55
+ :ram => 34360,
56
+ :ebs_optimized_available => false,
57
+ :instance_store_volumes => 0
58
+ },
59
+ {
60
+ :id => 'a1.metal',
61
+ :name => 'A1 Metal',
62
+ :bits => 64,
63
+ :cores => 16,
64
+ :disk => 0,
65
+ :ram => 34360,
66
+ :ebs_optimized_available => false,
67
+ :instance_store_volumes => 0
68
+ },
69
+ {
70
+ :id => 't1.micro',
71
+ :name => 'T1 Micro Instance',
72
+ :bits => 32,
73
+ :cores => 1,
74
+ :disk => 0,
75
+ :ram => 658,
14
76
  :ebs_optimized_available => false,
15
77
  :instance_store_volumes => 0
16
78
  },
@@ -20,805 +82,2905 @@ module Fog
20
82
  :bits => 64,
21
83
  :cores => 1,
22
84
  :disk => 0,
23
- :ram => 512,
85
+ :ram => 536,
24
86
  :ebs_optimized_available => false,
25
87
  :instance_store_volumes => 0
26
88
  },
27
89
  {
28
90
  :id => 't2.micro',
29
- :name => 'Micro Instance',
91
+ :name => 'T2 Micro Instance',
30
92
  :bits => 64,
31
93
  :cores => 1,
32
94
  :disk => 0,
33
- :ram => 1024,
95
+ :ram => 1073,
34
96
  :ebs_optimized_available => false,
35
97
  :instance_store_volumes => 0
36
98
  },
37
99
  {
38
100
  :id => 't2.small',
39
- :name => 'Micro Instance',
101
+ :name => 'T2 Small Instance',
40
102
  :bits => 64,
41
103
  :cores => 1,
42
104
  :disk => 0,
43
- :ram => 2048,
105
+ :ram => 2147,
44
106
  :ebs_optimized_available => false,
45
107
  :instance_store_volumes => 0
46
108
  },
47
109
  {
48
110
  :id => 't2.medium',
49
- :name => 'Micro Instance',
111
+ :name => 'T2 Medium Instance',
50
112
  :bits => 64,
51
113
  :cores => 2,
52
114
  :disk => 0,
53
- :ram => 4096,
115
+ :ram => 4294,
54
116
  :ebs_optimized_available => false,
55
117
  :instance_store_volumes => 0
56
118
  },
57
119
  {
58
120
  :id => 't2.large',
59
- :name => 'Micro Instance',
121
+ :name => 'T2 Large Instance',
60
122
  :bits => 64,
61
123
  :cores => 2,
62
124
  :disk => 0,
63
- :ram => 8192,
125
+ :ram => 8589,
64
126
  :ebs_optimized_available => false,
65
127
  :instance_store_volumes => 0
66
128
  },
67
129
  {
68
130
  :id => 't2.xlarge',
69
- :name => 'Micro Instance',
131
+ :name => 'T2 Extra Large Instance',
70
132
  :bits => 64,
71
133
  :cores => 4,
72
134
  :disk => 0,
73
- :ram => 16384,
135
+ :ram => 17179,
74
136
  :ebs_optimized_available => false,
75
137
  :instance_store_volumes => 0
76
138
  },
77
139
  {
78
140
  :id => 't2.2xlarge',
79
- :name => 'Micro Instance',
141
+ :name => 'T2 Double Extra Large Instance',
80
142
  :bits => 64,
81
143
  :cores => 8,
82
144
  :disk => 0,
83
- :ram => 32768,
145
+ :ram => 34359,
84
146
  :ebs_optimized_available => false,
85
147
  :instance_store_volumes => 0
86
148
  },
87
149
  {
88
- :id => 'm1.small',
89
- :name => 'Small Instance',
90
- :bits => 32,
91
- :cores => 1,
92
- :disk => 160,
93
- :ram => 1740.8,
94
- :ebs_optimized_available => false,
95
- :instance_store_volumes => 1
96
- },
97
- {
98
- :id => 'm1.medium',
99
- :name => 'Medium Instance',
100
- :bits => 32,
150
+ :id => 't3.nano',
151
+ :name => 'T3 Nano',
152
+ :bits => 64,
101
153
  :cores => 2,
102
- :disk => 400,
103
- :ram => 3750,
104
- :ebs_optimized_available => false,
105
- :instance_store_volumes => 1
154
+ :disk => 0,
155
+ :ram => 536,
156
+ :ebs_optimized_available => true,
157
+ :instance_store_volumes => 0
106
158
  },
107
159
  {
108
- :id => 'm1.large',
109
- :name => 'Large Instance',
160
+ :id => 't3.micro',
161
+ :name => 'T3 Micro',
110
162
  :bits => 64,
111
- :cores => 4,
112
- :disk => 850,
113
- :ram => 7680,
163
+ :cores => 2,
164
+ :disk => 0,
165
+ :ram => 1073,
114
166
  :ebs_optimized_available => true,
115
- :instance_store_volumes => 2
167
+ :instance_store_volumes => 0
116
168
  },
117
169
  {
118
- :id => 'm1.xlarge',
119
- :name => 'Extra Large Instance',
170
+ :id => 't3.small',
171
+ :name => 'T3 Small',
120
172
  :bits => 64,
121
- :cores => 8,
122
- :disk => 1690,
123
- :ram => 15360,
173
+ :cores => 2,
174
+ :disk => 0,
175
+ :ram => 2147,
124
176
  :ebs_optimized_available => true,
125
- :instance_store_volumes => 4
126
- },
127
- {
128
- :id => 'c1.medium',
129
- :bits => 32,
130
- :cores => 5,
131
- :disk => 350,
132
- :name => 'High-CPU Medium',
133
- :ram => 1740.8,
134
- :ebs_optimized_available => false,
135
- :instance_store_volumes => 1
177
+ :instance_store_volumes => 0
136
178
  },
137
179
  {
138
- :id => 'c1.xlarge',
139
- :name => 'High-CPU Extra Large',
180
+ :id => 't3.medium',
181
+ :name => 'T3 Medium',
140
182
  :bits => 64,
141
- :cores => 20,
142
- :disk => 1690,
143
- :ram => 7168,
183
+ :cores => 2,
184
+ :disk => 0,
185
+ :ram => 4294,
144
186
  :ebs_optimized_available => true,
145
- :instance_store_volumes => 4
187
+ :instance_store_volumes => 0
146
188
  },
147
189
  {
148
- :id => 'c3.large',
149
- :name => 'C3 Large',
190
+ :id => 't3.large',
191
+ :name => 'T3 Large',
150
192
  :bits => 64,
151
193
  :cores => 2,
152
- :disk => 32,
153
- :ram => 3750,
154
- :ebs_optimized_available => false,
155
- :instance_store_volumes => 2
194
+ :disk => 0,
195
+ :ram => 8589,
196
+ :ebs_optimized_available => true,
197
+ :instance_store_volumes => 0
156
198
  },
157
199
  {
158
- :id => 'c3.xlarge',
159
- :name => 'C3 Extra Large',
200
+ :id => 't3.xlarge',
201
+ :name => 'T3 Extra Large',
160
202
  :bits => 64,
161
203
  :cores => 4,
162
- :disk => 80,
163
- :ram => 7168,
204
+ :disk => 0,
205
+ :ram => 17179,
164
206
  :ebs_optimized_available => true,
165
- :instance_store_volumes => 2
207
+ :instance_store_volumes => 0
166
208
  },
167
209
  {
168
- :id => 'c3.2xlarge',
169
- :name => 'C3 Double Extra Large',
210
+ :id => 't3.2xlarge',
211
+ :name => 'T3 Double Extra Large',
170
212
  :bits => 64,
171
213
  :cores => 8,
172
- :disk => 160,
173
- :ram => 15360,
214
+ :disk => 0,
215
+ :ram => 34359,
174
216
  :ebs_optimized_available => true,
175
- :instance_store_volumes => 2
217
+ :instance_store_volumes => 0
176
218
  },
177
219
  {
178
- :id => 'c3.4xlarge',
179
- :name => 'C3 Quadruple Extra Large',
220
+ :id => 't3a.nano',
221
+ :name => 'T3a Nano',
180
222
  :bits => 64,
181
- :cores => 16,
182
- :disk => 320,
183
- :ram => 30720,
223
+ :cores => 2,
224
+ :disk => 0,
225
+ :ram => 536,
184
226
  :ebs_optimized_available => true,
185
- :instance_store_volumes => 2
227
+ :instance_store_volumes => 0
186
228
  },
187
229
  {
188
- :id => 'c3.8xlarge',
189
- :name => 'C3 Eight Extra Large',
230
+ :id => 't3a.micro',
231
+ :name => 'T3a Micro',
190
232
  :bits => 64,
191
- :cores => 16,
192
- :disk => 640,
193
- :ram => 61440,
194
- :ebs_optimized_available => false,
195
- :instance_store_volumes => 2
233
+ :cores => 2,
234
+ :disk => 0,
235
+ :ram => 1073,
236
+ :ebs_optimized_available => true,
237
+ :instance_store_volumes => 0
196
238
  },
197
239
  {
198
- :id => 'c4.large',
199
- :name => 'C4 Large',
240
+ :id => 't3a.small',
241
+ :name => 'T3a Small',
200
242
  :bits => 64,
201
243
  :cores => 2,
202
244
  :disk => 0,
203
- :ram => 3750,
245
+ :ram => 2147,
204
246
  :ebs_optimized_available => true,
205
247
  :instance_store_volumes => 0
206
248
  },
207
249
  {
208
- :id => 'c4.xlarge',
209
- :name => 'C4 Extra Large',
250
+ :id => 't3a.medium',
251
+ :name => 'T3a Medium',
210
252
  :bits => 64,
211
- :cores => 4,
253
+ :cores => 2,
212
254
  :disk => 0,
213
- :ram => 7168,
255
+ :ram => 4294,
214
256
  :ebs_optimized_available => true,
215
257
  :instance_store_volumes => 0
216
258
  },
217
259
  {
218
- :id => 'c4.2xlarge',
219
- :name => 'C4 Double Extra Large',
260
+ :id => 't3a.large',
261
+ :name => 'T3a Large',
220
262
  :bits => 64,
221
- :cores => 8,
263
+ :cores => 2,
222
264
  :disk => 0,
223
- :ram => 15360,
265
+ :ram => 8589,
224
266
  :ebs_optimized_available => true,
225
267
  :instance_store_volumes => 0
226
268
  },
227
269
  {
228
- :id => 'c4.4xlarge',
229
- :name => 'C4 Quadruple Extra Large',
270
+ :id => 't3a.xlarge',
271
+ :name => 'T3a Extra Large',
230
272
  :bits => 64,
231
- :cores => 16,
273
+ :cores => 4,
232
274
  :disk => 0,
233
- :ram => 30720,
275
+ :ram => 17179,
234
276
  :ebs_optimized_available => true,
235
277
  :instance_store_volumes => 0
236
278
  },
237
279
  {
238
- :id => 'c4.8xlarge',
239
- :name => 'C4 Eight Extra Large',
280
+ :id => 't3a.2xlarge',
281
+ :name => 'T3a Double Extra Large',
240
282
  :bits => 64,
241
- :cores => 36,
283
+ :cores => 8,
242
284
  :disk => 0,
243
- :ram => 61440,
285
+ :ram => 34359,
244
286
  :ebs_optimized_available => true,
245
287
  :instance_store_volumes => 0
246
288
  },
247
289
  {
248
- :id => 'c5.large',
249
- :name => 'C5 Large',
290
+ :id => 'm6g.medium',
291
+ :name => 'M6G Medium',
292
+ :bits => 64,
293
+ :cores => 1,
294
+ :disk => 0,
295
+ :ram => 4295,
296
+ :ebs_optimized_available => true,
297
+ :instance_store_volumes => 0
298
+ },
299
+ {
300
+ :id => 'm6g.large',
301
+ :name => 'M6G Large',
250
302
  :bits => 64,
251
303
  :cores => 2,
252
304
  :disk => 0,
253
- :ram => 4096,
305
+ :ram => 8590,
254
306
  :ebs_optimized_available => true,
255
307
  :instance_store_volumes => 0
256
308
  },
257
309
  {
258
- :id => 'c5.xlarge',
259
- :name => 'C5 Extra Large',
310
+ :id => 'm6g.xlarge',
311
+ :name => 'M6G Extra Large',
260
312
  :bits => 64,
261
313
  :cores => 4,
262
314
  :disk => 0,
263
- :ram => 8192,
315
+ :ram => 17180,
264
316
  :ebs_optimized_available => true,
265
317
  :instance_store_volumes => 0
266
318
  },
267
319
  {
268
- :id => 'c5.2xlarge',
269
- :name => 'C5 Double Extra Large',
320
+ :id => 'm6g.2xlarge',
321
+ :name => 'M6G Double Extra Large',
270
322
  :bits => 64,
271
323
  :cores => 8,
272
324
  :disk => 0,
273
- :ram => 16384,
325
+ :ram => 34360,
274
326
  :ebs_optimized_available => true,
275
327
  :instance_store_volumes => 0
276
328
  },
277
329
  {
278
- :id => 'c5.4xlarge',
279
- :name => 'C5 Quadruple Extra Large',
330
+ :id => 'm6g.4xlarge',
331
+ :name => 'M6G Quadruple Extra Large',
280
332
  :bits => 64,
281
333
  :cores => 16,
282
334
  :disk => 0,
283
- :ram => 32768,
335
+ :ram => 68719,
284
336
  :ebs_optimized_available => true,
285
337
  :instance_store_volumes => 0
286
338
  },
287
339
  {
288
- :id => 'c5.9xlarge',
289
- :name => 'C5 Nine Extra Large',
340
+ :id => 'm6g.8xlarge',
341
+ :name => 'M6G Octuple Extra Large',
290
342
  :bits => 64,
291
- :cores => 36,
343
+ :cores => 32,
292
344
  :disk => 0,
293
- :ram => 73728,
345
+ :ram => 137439,
294
346
  :ebs_optimized_available => true,
295
347
  :instance_store_volumes => 0
296
348
  },
297
349
  {
298
- :id => 'c5.18xlarge',
299
- :name => 'C5 Eighteen Extra Large',
350
+ :id => 'm6g.12xlarge',
351
+ :name => 'M6G Twelve Extra Large',
300
352
  :bits => 64,
301
- :cores => 72,
353
+ :cores => 48,
302
354
  :disk => 0,
303
- :ram => 147456,
355
+ :ram => 206158,
304
356
  :ebs_optimized_available => true,
305
357
  :instance_store_volumes => 0
306
358
  },
307
359
  {
308
- :id => 'g2.2xlarge',
309
- :name => 'GPU Double Extra Large',
360
+ :id => 'm6g.16xlarge',
361
+ :name => 'M6G Sixteen Extra Large',
310
362
  :bits => 64,
311
- :cores => 8,
312
- :disk => 60,
313
- :ram => 15360,
363
+ :cores => 64,
364
+ :disk => 0,
365
+ :ram => 274878,
314
366
  :ebs_optimized_available => true,
315
- :instance_store_volumes => 1
367
+ :instance_store_volumes => 0
316
368
  },
317
369
  {
318
- :id => 'g2.8xlarge',
319
- :name => 'GPU Eight Extra Large',
370
+ :id => 'm6g.metal',
371
+ :name => 'M6G Metal',
320
372
  :bits => 64,
321
- :cores => 32,
322
- :disk => 240,
323
- :ram => 61440,
373
+ :cores => 64,
374
+ :disk => 0,
375
+ :ram => 274878,
324
376
  :ebs_optimized_available => true,
325
- :instance_store_volumes => 2
326
- },
327
- {
328
- :id => 'hs1.8xlarge',
329
- :name => 'High Storage Eight Extra Large',
330
- :bits => 64,
331
- :cores => 35,
332
- :disk => 50331648,
333
- :ram => 119808,
334
- :ebs_optimized_available => false,
335
- :instance_store_volumes => 24
377
+ :instance_store_volumes => 0
336
378
  },
337
379
  {
338
- :id => 'm2.xlarge',
339
- :name => 'High-Memory Extra Large',
380
+ :id => 'm6gd.medium',
381
+ :name => 'M6GD Medium',
340
382
  :bits => 64,
341
- :cores => 6.5,
342
- :disk => 420,
343
- :ram => 17510.4,
344
- :ebs_optimized_available => false,
383
+ :cores => 1,
384
+ :disk => 59,
385
+ :ram => 4295,
386
+ :ebs_optimized_available => true,
345
387
  :instance_store_volumes => 1
346
388
  },
347
389
  {
348
- :id => 'm2.2xlarge',
349
- :name => 'High Memory Double Extra Large',
390
+ :id => 'm6gd.large',
391
+ :name => 'M6GD Large',
350
392
  :bits => 64,
351
- :cores => 13,
352
- :disk => 850,
353
- :ram => 35020.8,
393
+ :cores => 2,
394
+ :disk => 118,
395
+ :ram => 8590,
354
396
  :ebs_optimized_available => true,
355
397
  :instance_store_volumes => 1
356
398
  },
357
399
  {
358
- :id => 'm2.4xlarge',
359
- :name => 'High Memory Quadruple Extra Large',
400
+ :id => 'm6gd.xlarge',
401
+ :name => 'M6GD Extra Large',
360
402
  :bits => 64,
361
- :cores => 26,
362
- :disk => 1690,
363
- :ram => 70041.6,
403
+ :cores => 4,
404
+ :disk => 237,
405
+ :ram => 17180,
364
406
  :ebs_optimized_available => true,
365
- :instance_store_volumes => 2
407
+ :instance_store_volumes => 1
366
408
  },
367
409
  {
368
- :id => 'cr1.8xlarge',
369
- :name => 'High Memory Eight Extra Large',
410
+ :id => 'm6gd.2xlarge',
411
+ :name => 'M6GD Double Extra Large',
370
412
  :bits => 64,
371
- :cores => 88,
372
- :disk => 240,
373
- :ram => 249856,
374
- :ebs_optimized_available => false,
375
- :instance_store_volumes => 2
413
+ :cores => 8,
414
+ :disk => 474,
415
+ :ram => 34360,
416
+ :ebs_optimized_available => true,
417
+ :instance_store_volumes => 1
376
418
  },
377
419
  {
378
- :id => 'm3.medium',
379
- :name => 'M3 Medium',
420
+ :id => 'm6gd.4xlarge',
421
+ :name => 'M6GD Quadruple Extra Large',
380
422
  :bits => 64,
381
- :cores => 1,
382
- :disk => 4,
383
- :ram => 3840,
384
- :ebs_optimized_available => false,
423
+ :cores => 16,
424
+ :disk => 950,
425
+ :ram => 68719,
426
+ :ebs_optimized_available => true,
385
427
  :instance_store_volumes => 1
386
428
  },
387
429
  {
388
- :id => 'm3.large',
389
- :name => 'M3 Large',
430
+ :id => 'm6gd.8xlarge',
431
+ :name => 'M6GD Octuple Extra Large',
390
432
  :bits => 64,
391
- :cores => 2,
392
- :disk => 32,
393
- :ram => 7680,
394
- :ebs_optimized_available => false,
433
+ :cores => 32,
434
+ :disk => 1900,
435
+ :ram => 137439,
436
+ :ebs_optimized_available => true,
395
437
  :instance_store_volumes => 1
396
438
  },
397
439
  {
398
- :id => 'm3.xlarge',
399
- :name => 'M3 Extra Large',
440
+ :id => 'm6gd.12xlarge',
441
+ :name => 'M6GD Twelve Extra Large',
400
442
  :bits => 64,
401
- :cores => 4,
402
- :disk => 80,
403
- :ram => 15360,
443
+ :cores => 48,
444
+ :disk => 2850,
445
+ :ram => 206158,
404
446
  :ebs_optimized_available => true,
405
447
  :instance_store_volumes => 2
406
448
  },
407
449
  {
408
- :id => 'm3.2xlarge',
409
- :name => 'M3 Double Extra Large',
450
+ :id => 'm6gd.16xlarge',
451
+ :name => 'M6GD Sixteen Extra Large',
410
452
  :bits => 64,
411
- :cores => 8,
412
- :disk => 160,
413
- :ram => 30720,
453
+ :cores => 64,
454
+ :disk => 3800,
455
+ :ram => 274878,
414
456
  :ebs_optimized_available => true,
415
457
  :instance_store_volumes => 2
416
458
  },
417
459
  {
418
- :id => "hi1.4xlarge",
419
- :name => "High I/O Quadruple Extra Large Instance",
460
+ :id => 'm6gd.metal',
461
+ :name => 'M6GD Metal',
420
462
  :bits => 64,
421
- :cores => 35,
422
- :disk => 2048,
423
- :ram => 61952,
424
- :ebs_optimized_available => false,
463
+ :cores => 64,
464
+ :disk => 3800,
465
+ :ram => 274878,
466
+ :ebs_optimized_available => true,
425
467
  :instance_store_volumes => 2
426
468
  },
427
469
  {
428
- :id => 'cc1.4xlarge',
429
- :name => 'Cluster Compute Quadruple Extra Large',
470
+ :id => 'm1.small',
471
+ :name => 'M1 Small Instance',
472
+ :bits => 32,
473
+ :cores => 1,
474
+ :disk => 160,
475
+ :ram => 1825,
476
+ :ebs_optimized_available => false,
477
+ :instance_store_volumes => 1
478
+ },
479
+ {
480
+ :id => 'm1.medium',
481
+ :name => 'M1 Medium Instance',
482
+ :bits => 32,
483
+ :cores => 1,
484
+ :disk => 400,
485
+ :ram => 4026,
486
+ :ebs_optimized_available => false,
487
+ :instance_store_volumes => 1
488
+ },
489
+ {
490
+ :id => 'm1.large',
491
+ :name => 'M1 Large Instance',
430
492
  :bits => 64,
431
- :cores => 33.5,
493
+ :cores => 2,
494
+ :disk => 850,
495
+ :ram => 8053,
496
+ :ebs_optimized_available => true,
497
+ :instance_store_volumes => 2
498
+ },
499
+ {
500
+ :id => 'm1.xlarge',
501
+ :name => 'M1 Extra Large Instance',
502
+ :bits => 64,
503
+ :cores => 4,
432
504
  :disk => 1690,
433
- :ram => 23552,
505
+ :ram => 16106,
506
+ :ebs_optimized_available => true,
507
+ :instance_store_volumes => 4
508
+ },
509
+ {
510
+ :id => 'c1.medium',
511
+ :bits => 32,
512
+ :cores => 2,
513
+ :disk => 350,
514
+ :name => 'High-CPU Medium',
515
+ :ram => 1825,
434
516
  :ebs_optimized_available => false,
435
- :instance_store_volumes => 0
517
+ :instance_store_volumes => 1
436
518
  },
437
519
  {
438
- :id => 'cc2.8xlarge',
439
- :name => 'Cluster Compute Eight Extra Large',
520
+ :id => 'c1.xlarge',
521
+ :name => 'High-CPU Extra Large',
440
522
  :bits => 64,
441
- :cores => 88,
442
- :disk => 3370,
443
- :ram => 61952,
444
- :ebs_optimized_available => false,
523
+ :cores => 8,
524
+ :disk => 1690,
525
+ :ram => 7516,
526
+ :ebs_optimized_available => true,
445
527
  :instance_store_volumes => 4
446
528
  },
447
529
  {
448
- :id => 'cg1.4xlarge',
449
- :name => 'Cluster GPU Quadruple Extra Large',
530
+ :id => 'c3.large',
531
+ :name => 'C3 Large',
450
532
  :bits => 64,
451
- :cores => 33.5,
452
- :disk => 1690,
453
- :ram => 22528,
533
+ :cores => 2,
534
+ :disk => 32,
535
+ :ram => 4026,
454
536
  :ebs_optimized_available => false,
455
537
  :instance_store_volumes => 2
456
538
  },
457
539
  {
458
- :id => 'i2.xlarge',
459
- :name => 'I2 Extra Large',
540
+ :id => 'c3.xlarge',
541
+ :name => 'C3 Extra Large',
460
542
  :bits => 64,
461
543
  :cores => 4,
462
- :disk => 800,
463
- :ram => 31232,
544
+ :disk => 80,
545
+ :ram => 8053,
464
546
  :ebs_optimized_available => true,
465
- :instance_store_volumes => 1
547
+ :instance_store_volumes => 2
466
548
  },
467
549
  {
468
- :id => 'i2.2xlarge',
469
- :name => 'I2 Double Extra Large',
550
+ :id => 'c3.2xlarge',
551
+ :name => 'C3 Double Extra Large',
470
552
  :bits => 64,
471
553
  :cores => 8,
472
- :disk => 1600,
473
- :ram => 62464,
554
+ :disk => 160,
555
+ :ram => 16106,
474
556
  :ebs_optimized_available => true,
475
557
  :instance_store_volumes => 2
476
558
  },
477
559
  {
478
- :id => 'i2.4xlarge',
479
- :name => 'I2 Quadruple Extra Large',
560
+ :id => 'c3.4xlarge',
561
+ :name => 'C3 Quadruple Extra Large',
480
562
  :bits => 64,
481
563
  :cores => 16,
482
- :disk => 3200,
483
- :ram => 124928,
564
+ :disk => 320,
565
+ :ram => 32212,
484
566
  :ebs_optimized_available => true,
485
- :instance_store_volumes => 4
567
+ :instance_store_volumes => 2
486
568
  },
487
569
  {
488
- :id => 'i2.8xlarge',
489
- :name => 'I2 Eight Extra Large',
570
+ :id => 'c3.8xlarge',
571
+ :name => 'C3 Eight Extra Large',
490
572
  :bits => 64,
491
573
  :cores => 32,
492
- :disk => 6400,
493
- :ram => 249856,
574
+ :disk => 640,
575
+ :ram => 64424,
494
576
  :ebs_optimized_available => false,
495
- :instance_store_volumes => 8
577
+ :instance_store_volumes => 2
496
578
  },
497
579
  {
498
- :id => 'i3.large',
499
- :name => 'I3 Large',
580
+ :id => 'c4.large',
581
+ :name => 'C4 Large',
500
582
  :bits => 64,
501
583
  :cores => 2,
502
- :disk => 475,
503
- :ram => 15616,
584
+ :disk => 0,
585
+ :ram => 4026,
504
586
  :ebs_optimized_available => true,
505
- :instance_store_volumes => 1
587
+ :instance_store_volumes => 0
506
588
  },
507
589
  {
508
- :id => 'i3.xlarge',
509
- :name => 'I3 Extra Large',
590
+ :id => 'c4.xlarge',
591
+ :name => 'C4 Extra Large',
510
592
  :bits => 64,
511
593
  :cores => 4,
512
- :disk => 950,
513
- :ram => 31232,
594
+ :disk => 0,
595
+ :ram => 8053,
514
596
  :ebs_optimized_available => true,
515
- :instance_store_volumes => 1
597
+ :instance_store_volumes => 0
516
598
  },
517
599
  {
518
- :id => 'i3.2xlarge',
519
- :name => 'I3 Double Extra Large',
600
+ :id => 'c4.2xlarge',
601
+ :name => 'C4 Double Extra Large',
520
602
  :bits => 64,
521
603
  :cores => 8,
522
- :disk => 1900,
523
- :ram => 62464,
604
+ :disk => 0,
605
+ :ram => 16106,
524
606
  :ebs_optimized_available => true,
525
- :instance_store_volumes => 1
607
+ :instance_store_volumes => 0
526
608
  },
527
609
  {
528
- :id => 'i3.4xlarge',
529
- :name => 'I3 Quadruple Extra Large',
610
+ :id => 'c4.4xlarge',
611
+ :name => 'C4 Quadruple Extra Large',
530
612
  :bits => 64,
531
613
  :cores => 16,
532
- :disk => 3800,
533
- :ram => 124928,
614
+ :disk => 0,
615
+ :ram => 32212,
534
616
  :ebs_optimized_available => true,
535
- :instance_store_volumes => 2
617
+ :instance_store_volumes => 0
536
618
  },
537
619
  {
538
- :id => 'i3.8xlarge',
539
- :name => 'I3 Eight Extra Large',
620
+ :id => 'c4.8xlarge',
621
+ :name => 'C4 Eight Extra Large',
540
622
  :bits => 64,
541
- :cores => 32,
542
- :disk => 7600,
543
- :ram => 249856,
623
+ :cores => 36,
624
+ :disk => 0,
625
+ :ram => 64424,
544
626
  :ebs_optimized_available => true,
545
- :instance_store_volumes => 4
627
+ :instance_store_volumes => 0
546
628
  },
547
629
  {
548
- :id => 'i3.16xlarge',
549
- :name => 'I3 Sixteen Extra Large',
630
+ :id => 'c5.large',
631
+ :name => 'C5 Large',
550
632
  :bits => 64,
551
- :cores => 32,
552
- :disk => 15200,
553
- :ram => 499712,
633
+ :cores => 2,
634
+ :disk => 0,
635
+ :ram => 4294,
554
636
  :ebs_optimized_available => true,
555
- :instance_store_volumes => 8
637
+ :instance_store_volumes => 0
556
638
  },
557
639
  {
558
- :id => "r3.large",
559
- :name => "R3 Large",
640
+ :id => 'c5.xlarge',
641
+ :name => 'C5 Extra Large',
642
+ :bits => 64,
643
+ :cores => 4,
644
+ :disk => 0,
645
+ :ram => 8589,
646
+ :ebs_optimized_available => true,
647
+ :instance_store_volumes => 0
648
+ },
649
+ {
650
+ :id => 'c5.2xlarge',
651
+ :name => 'C5 Double Extra Large',
652
+ :bits => 64,
653
+ :cores => 8,
654
+ :disk => 0,
655
+ :ram => 17179,
656
+ :ebs_optimized_available => true,
657
+ :instance_store_volumes => 0
658
+ },
659
+ {
660
+ :id => 'c5.4xlarge',
661
+ :name => 'C5 Quadruple Extra Large',
662
+ :bits => 64,
663
+ :cores => 16,
664
+ :disk => 0,
665
+ :ram => 34359,
666
+ :ebs_optimized_available => true,
667
+ :instance_store_volumes => 0
668
+ },
669
+ {
670
+ :id => 'c5.9xlarge',
671
+ :name => 'C5 Nine Extra Large',
672
+ :bits => 64,
673
+ :cores => 36,
674
+ :disk => 0,
675
+ :ram => 77309,
676
+ :ebs_optimized_available => true,
677
+ :instance_store_volumes => 0
678
+ },
679
+ {
680
+ :id => 'c5.12xlarge',
681
+ :name => 'C5 Twelve Extra Large',
682
+ :bits => 64,
683
+ :cores => 48,
684
+ :disk => 0,
685
+ :ram => 103079,
686
+ :ebs_optimized_available => true,
687
+ :instance_store_volumes => 0
688
+ },
689
+ {
690
+ :id => 'c5.18xlarge',
691
+ :name => 'C5 Eighteen Extra Large',
692
+ :bits => 64,
693
+ :cores => 72,
694
+ :disk => 0,
695
+ :ram => 154618,
696
+ :ebs_optimized_available => true,
697
+ :instance_store_volumes => 0
698
+ },
699
+ {
700
+ :id => 'c5.24xlarge',
701
+ :name => 'C5 Twenty-Four Extra Large',
702
+ :bits => 64,
703
+ :cores => 96,
704
+ :disk => 0,
705
+ :ram => 206158,
706
+ :ebs_optimized_available => true,
707
+ :instance_store_volumes => 0
708
+ },
709
+ {
710
+ :id => 'c5.metal',
711
+ :name => 'C5 Metal',
712
+ :bits => 64,
713
+ :cores => 96,
714
+ :disk => 0,
715
+ :ram => 206158,
716
+ :ebs_optimized_available => true,
717
+ :instance_store_volumes => 0
718
+ },
719
+ {
720
+ :id => 'c5d.large',
721
+ :name => 'C5d Large',
560
722
  :bits => 64,
561
723
  :cores => 2,
562
- :ram => 15616,
563
- :disk => 32,
564
- :ebs_optimized_available => false,
724
+ :disk => 50,
725
+ :ram => 4294,
726
+ :ebs_optimized_available => true,
565
727
  :instance_store_volumes => 1
566
728
  },
567
729
  {
568
- :id => "r3.xlarge",
569
- :name => "R3 Extra Large",
730
+ :id => 'c5d.xlarge',
731
+ :name => 'C5d Extra Large',
570
732
  :bits => 64,
571
733
  :cores => 4,
572
- :ram => 31232,
573
- :disk => 80,
734
+ :disk => 100,
735
+ :ram => 8589,
574
736
  :ebs_optimized_available => true,
575
737
  :instance_store_volumes => 1
576
738
  },
577
739
  {
578
- :id => "r3.2xlarge",
579
- :name => "R3 Double Extra Large",
740
+ :id => 'c5d.2xlarge',
741
+ :name => 'C5d Double Extra Large',
580
742
  :bits => 64,
581
743
  :cores => 8,
582
- :ram => 62464,
583
- :disk => 160,
744
+ :disk => 200,
745
+ :ram => 17179,
746
+ :ebs_optimized_available => true,
747
+ :instance_store_volumes => 1
748
+ },
749
+ {
750
+ :id => 'c5d.4xlarge',
751
+ :name => 'C5d Quadruple Extra Large',
752
+ :bits => 64,
753
+ :cores => 16,
754
+ :disk => 400,
755
+ :ram => 34359,
584
756
  :ebs_optimized_available => true,
585
757
  :instance_store_volumes => 1
586
758
  },
587
759
  {
588
- :id => "r3.4xlarge",
589
- :name => "R3 Quadruple Extra Large",
760
+ :id => 'c5d.9xlarge',
761
+ :name => 'C5d Nine Extra Large',
762
+ :bits => 64,
763
+ :cores => 36,
764
+ :disk => 900,
765
+ :ram => 77309,
766
+ :ebs_optimized_available => true,
767
+ :instance_store_volumes => 1
768
+ },
769
+ {
770
+ :id => 'c5d.12xlarge',
771
+ :name => 'C5d Twelve Extra Large',
772
+ :bits => 64,
773
+ :cores => 48,
774
+ :disk => 1800,
775
+ :ram => 103079,
776
+ :ebs_optimized_available => true,
777
+ :instance_store_volumes => 2
778
+ },
779
+ {
780
+ :id => 'c5d.18xlarge',
781
+ :name => 'C5d Eighteen Extra Large',
782
+ :bits => 64,
783
+ :cores => 72,
784
+ :disk => 1800,
785
+ :ram => 154618,
786
+ :ebs_optimized_available => true,
787
+ :instance_store_volumes => 2
788
+ },
789
+ {
790
+ :id => 'c5d.24xlarge',
791
+ :name => 'C5d Twenty-four Extra Large',
792
+ :bits => 64,
793
+ :cores => 96,
794
+ :disk => 3600,
795
+ :ram => 206158,
796
+ :ebs_optimized_available => true,
797
+ :instance_store_volumes => 4
798
+ },
799
+ {
800
+ :id => 'c5d.metal',
801
+ :name => 'C5d Metal',
802
+ :bits => 64,
803
+ :cores => 96,
804
+ :disk => 3600,
805
+ :ram => 206158,
806
+ :ebs_optimized_available => true,
807
+ :instance_store_volumes => 4
808
+ },
809
+ {
810
+ :id => 'c5n.large',
811
+ :name => 'C5n Large',
812
+ :bits => 64,
813
+ :cores => 2,
814
+ :disk => 0,
815
+ :ram => 5637,
816
+ :ebs_optimized_available => true,
817
+ :instance_store_volumes => 0
818
+ },
819
+ {
820
+ :id => 'c5n.xlarge',
821
+ :name => 'C5n Extra Large',
822
+ :bits => 64,
823
+ :cores => 4,
824
+ :disk => 0,
825
+ :ram => 11274,
826
+ :ebs_optimized_available => true,
827
+ :instance_store_volumes => 0
828
+ },
829
+ {
830
+ :id => 'c5n.2xlarge',
831
+ :name => 'C5n Double Extra Large',
832
+ :bits => 64,
833
+ :cores => 8,
834
+ :disk => 0,
835
+ :ram => 22549,
836
+ :ebs_optimized_available => true,
837
+ :instance_store_volumes => 0
838
+ },
839
+ {
840
+ :id => 'c5n.4xlarge',
841
+ :name => 'C5n Quadruple Extra Large',
842
+ :bits => 64,
843
+ :cores => 16,
844
+ :disk => 0,
845
+ :ram => 45097,
846
+ :ebs_optimized_available => true,
847
+ :instance_store_volumes => 0
848
+ },
849
+ {
850
+ :id => 'c5n.9xlarge',
851
+ :name => 'C5n Nine Extra Large',
852
+ :bits => 64,
853
+ :cores => 36,
854
+ :disk => 0,
855
+ :ram => 103079,
856
+ :ebs_optimized_available => true,
857
+ :instance_store_volumes => 0
858
+ },
859
+ {
860
+ :id => 'c5n.18xlarge',
861
+ :name => 'C5n Eighteen Extra Large',
862
+ :bits => 64,
863
+ :cores => 72,
864
+ :disk => 0,
865
+ :ram => 206158,
866
+ :ebs_optimized_available => true,
867
+ :instance_store_volumes => 0
868
+ },
869
+ {
870
+ :id => 'c5n.metal',
871
+ :name => 'C5n Metal',
872
+ :bits => 64,
873
+ :cores => 72,
874
+ :disk => 0,
875
+ :ram => 206158,
876
+ :ebs_optimized_available => true,
877
+ :instance_store_volumes => 0
878
+ },
879
+ {
880
+ :id => 'c6g.medium',
881
+ :name => 'C6G Medium',
882
+ :bits => 64,
883
+ :cores => 1,
884
+ :disk => 0,
885
+ :ram => 2147,
886
+ :ebs_optimized_available => true,
887
+ :instance_store_volumes => 0
888
+ },
889
+ {
890
+ :id => 'c6g.large',
891
+ :name => 'C6G Large',
892
+ :bits => 64,
893
+ :cores => 2,
894
+ :disk => 0,
895
+ :ram => 4295,
896
+ :ebs_optimized_available => true,
897
+ :instance_store_volumes => 0
898
+ },
899
+ {
900
+ :id => 'c6g.xlarge',
901
+ :name => 'C6G Extra Large',
902
+ :bits => 64,
903
+ :cores => 4,
904
+ :disk => 0,
905
+ :ram => 8590,
906
+ :ebs_optimized_available => true,
907
+ :instance_store_volumes => 0
908
+ },
909
+ {
910
+ :id => 'c6g.2xlarge',
911
+ :name => 'C6G Double Extra Large',
912
+ :bits => 64,
913
+ :cores => 8,
914
+ :disk => 0,
915
+ :ram => 17180,
916
+ :ebs_optimized_available => true,
917
+ :instance_store_volumes => 0
918
+ },
919
+ {
920
+ :id => 'c6g.4xlarge',
921
+ :name => 'C6G Quadruple Extra Large',
922
+ :bits => 64,
923
+ :cores => 16,
924
+ :disk => 0,
925
+ :ram => 34360,
926
+ :ebs_optimized_available => true,
927
+ :instance_store_volumes => 0
928
+ },
929
+ {
930
+ :id => 'c6g.8xlarge',
931
+ :name => 'C6G Octuple Extra Large',
932
+ :bits => 64,
933
+ :cores => 32,
934
+ :disk => 0,
935
+ :ram => 68719,
936
+ :ebs_optimized_available => true,
937
+ :instance_store_volumes => 0
938
+ },
939
+ {
940
+ :id => 'c6g.12xlarge',
941
+ :name => 'C6G Twelve Extra Large',
942
+ :bits => 64,
943
+ :cores => 48,
944
+ :disk => 0,
945
+ :ram => 103079,
946
+ :ebs_optimized_available => true,
947
+ :instance_store_volumes => 0
948
+ },
949
+ {
950
+ :id => 'c6g.16xlarge',
951
+ :name => 'C6G Sixteen Extra Large',
952
+ :bits => 64,
953
+ :cores => 64,
954
+ :disk => 0,
955
+ :ram => 137439,
956
+ :ebs_optimized_available => true,
957
+ :instance_store_volumes => 0
958
+ },
959
+ {
960
+ :id => 'c6g.metal',
961
+ :name => 'C6G Metal',
962
+ :bits => 64,
963
+ :cores => 64,
964
+ :disk => 0,
965
+ :ram => 137439,
966
+ :ebs_optimized_available => true,
967
+ :instance_store_volumes => 0
968
+ },
969
+ {
970
+ :id => 'c6gd.medium',
971
+ :name => 'C6GD Medium',
972
+ :bits => 64,
973
+ :cores => 1,
974
+ :disk => 59,
975
+ :ram => 2147,
976
+ :ebs_optimized_available => true,
977
+ :instance_store_volumes => 1
978
+ },
979
+ {
980
+ :id => 'c6gd.large',
981
+ :name => 'C6GD Large',
982
+ :bits => 64,
983
+ :cores => 2,
984
+ :disk => 118,
985
+ :ram => 4295,
986
+ :ebs_optimized_available => true,
987
+ :instance_store_volumes => 1
988
+ },
989
+ {
990
+ :id => 'c6gd.xlarge',
991
+ :name => 'C6GD Extra Large',
992
+ :bits => 64,
993
+ :cores => 4,
994
+ :disk => 237,
995
+ :ram => 8590,
996
+ :ebs_optimized_available => true,
997
+ :instance_store_volumes => 1
998
+ },
999
+ {
1000
+ :id => 'c6gd.2xlarge',
1001
+ :name => 'C6GD Double Extra Large',
1002
+ :bits => 64,
1003
+ :cores => 8,
1004
+ :disk => 474,
1005
+ :ram => 17180,
1006
+ :ebs_optimized_available => true,
1007
+ :instance_store_volumes => 1
1008
+ },
1009
+ {
1010
+ :id => 'c6gd.4xlarge',
1011
+ :name => 'C6GD Quadruple Extra Large',
1012
+ :bits => 64,
1013
+ :cores => 16,
1014
+ :disk => 950,
1015
+ :ram => 34360,
1016
+ :ebs_optimized_available => true,
1017
+ :instance_store_volumes => 1
1018
+ },
1019
+ {
1020
+ :id => 'c6gd.8xlarge',
1021
+ :name => 'C6GD Octuple Extra Large',
1022
+ :bits => 64,
1023
+ :cores => 32,
1024
+ :disk => 1900,
1025
+ :ram => 68719,
1026
+ :ebs_optimized_available => true,
1027
+ :instance_store_volumes => 1
1028
+ },
1029
+ {
1030
+ :id => 'c6gd.12xlarge',
1031
+ :name => 'C6GD Twelve Extra Large',
1032
+ :bits => 64,
1033
+ :cores => 48,
1034
+ :disk => 2850,
1035
+ :ram => 103079,
1036
+ :ebs_optimized_available => true,
1037
+ :instance_store_volumes => 2
1038
+ },
1039
+ {
1040
+ :id => 'c6gd.16xlarge',
1041
+ :name => 'C6GD Sixteen Extra Large',
1042
+ :bits => 64,
1043
+ :cores => 64,
1044
+ :disk => 3800,
1045
+ :ram => 137439,
1046
+ :ebs_optimized_available => true,
1047
+ :instance_store_volumes => 2
1048
+ },
1049
+ {
1050
+ :id => 'c6gd.metal',
1051
+ :name => 'C6GD Metal',
1052
+ :bits => 64,
1053
+ :cores => 64,
1054
+ :disk => 3800,
1055
+ :ram => 137439,
1056
+ :ebs_optimized_available => true,
1057
+ :instance_store_volumes => 2
1058
+ },
1059
+ {
1060
+ :id => 'g2.2xlarge',
1061
+ :name => 'GPU Double Extra Large',
1062
+ :bits => 64,
1063
+ :cores => 8,
1064
+ :disk => 60,
1065
+ :ram => 16106,
1066
+ :ebs_optimized_available => true,
1067
+ :instance_store_volumes => 1
1068
+ },
1069
+ {
1070
+ :id => 'g2.8xlarge',
1071
+ :name => 'GPU Eight Extra Large',
1072
+ :bits => 64,
1073
+ :cores => 32,
1074
+ :disk => 240,
1075
+ :ram => 64424,
1076
+ :ebs_optimized_available => true,
1077
+ :instance_store_volumes => 2
1078
+ },
1079
+ {
1080
+ :id => 'hs1.8xlarge',
1081
+ :name => 'High Storage Eight Extra Large',
1082
+ :bits => 64,
1083
+ :cores => 16,
1084
+ :disk => 50331648,
1085
+ :ram => 125627,
1086
+ :ebs_optimized_available => false,
1087
+ :instance_store_volumes => 24
1088
+ },
1089
+ {
1090
+ :id => 'm2.xlarge',
1091
+ :name => 'High-Memory Extra Large',
1092
+ :bits => 64,
1093
+ :cores => 2,
1094
+ :disk => 420,
1095
+ :ram => 18360,
1096
+ :ebs_optimized_available => false,
1097
+ :instance_store_volumes => 1
1098
+ },
1099
+ {
1100
+ :id => 'm2.2xlarge',
1101
+ :name => 'High Memory Double Extra Large',
1102
+ :bits => 64,
1103
+ :cores => 4,
1104
+ :disk => 850,
1105
+ :ram => 36721,
1106
+ :ebs_optimized_available => true,
1107
+ :instance_store_volumes => 1
1108
+ },
1109
+ {
1110
+ :id => 'm2.4xlarge',
1111
+ :name => 'High Memory Quadruple Extra Large',
1112
+ :bits => 64,
1113
+ :cores => 8,
1114
+ :disk => 1690,
1115
+ :ram => 73443,
1116
+ :ebs_optimized_available => true,
1117
+ :instance_store_volumes => 2
1118
+ },
1119
+ {
1120
+ :id => 'cr1.8xlarge',
1121
+ :name => 'High Memory Eight Extra Large',
1122
+ :bits => 64,
1123
+ :cores => 32,
1124
+ :disk => 240,
1125
+ :ram => 261993,
1126
+ :ebs_optimized_available => false,
1127
+ :instance_store_volumes => 2
1128
+ },
1129
+ {
1130
+ :id => 'm3.medium',
1131
+ :name => 'M3 Medium',
1132
+ :bits => 64,
1133
+ :cores => 1,
1134
+ :disk => 4,
1135
+ :ram => 4026,
1136
+ :ebs_optimized_available => false,
1137
+ :instance_store_volumes => 1
1138
+ },
1139
+ {
1140
+ :id => 'm3.large',
1141
+ :name => 'M3 Large',
1142
+ :bits => 64,
1143
+ :cores => 2,
1144
+ :disk => 32,
1145
+ :ram => 8053,
1146
+ :ebs_optimized_available => false,
1147
+ :instance_store_volumes => 1
1148
+ },
1149
+ {
1150
+ :id => 'm3.xlarge',
1151
+ :name => 'M3 Extra Large',
1152
+ :bits => 64,
1153
+ :cores => 4,
1154
+ :disk => 80,
1155
+ :ram => 16106,
1156
+ :ebs_optimized_available => true,
1157
+ :instance_store_volumes => 2
1158
+ },
1159
+ {
1160
+ :id => 'm3.2xlarge',
1161
+ :name => 'M3 Double Extra Large',
1162
+ :bits => 64,
1163
+ :cores => 8,
1164
+ :disk => 160,
1165
+ :ram => 32212,
1166
+ :ebs_optimized_available => true,
1167
+ :instance_store_volumes => 2
1168
+ },
1169
+ {
1170
+ :id => "hi1.4xlarge",
1171
+ :name => "High I/O Quadruple Extra Large Instance",
1172
+ :bits => 64,
1173
+ :cores => 35,
1174
+ :disk => 2048,
1175
+ :ram => 61952,
1176
+ :ebs_optimized_available => false,
1177
+ :instance_store_volumes => 2
1178
+ },
1179
+ {
1180
+ :id => 'cc1.4xlarge',
1181
+ :name => 'Cluster Compute Quadruple Extra Large',
1182
+ :bits => 64,
1183
+ :cores => 33.5,
1184
+ :disk => 1690,
1185
+ :ram => 23552,
1186
+ :ebs_optimized_available => false,
1187
+ :instance_store_volumes => 0
1188
+ },
1189
+ {
1190
+ :id => 'cc2.8xlarge',
1191
+ :name => 'Cluster Compute Eight Extra Large',
1192
+ :bits => 64,
1193
+ :cores => 32,
1194
+ :disk => 3370,
1195
+ :ram => 64961,
1196
+ :ebs_optimized_available => false,
1197
+ :instance_store_volumes => 4
1198
+ },
1199
+ {
1200
+ :id => 'cg1.4xlarge',
1201
+ :name => 'Cluster GPU Quadruple Extra Large',
1202
+ :bits => 64,
1203
+ :cores => 33.5,
1204
+ :disk => 1690,
1205
+ :ram => 22528,
1206
+ :ebs_optimized_available => false,
1207
+ :instance_store_volumes => 2
1208
+ },
1209
+ {
1210
+ :id => 'i2.xlarge',
1211
+ :name => 'I2 Extra Large',
1212
+ :bits => 64,
1213
+ :cores => 4,
1214
+ :disk => 800,
1215
+ :ram => 32749,
1216
+ :ebs_optimized_available => true,
1217
+ :instance_store_volumes => 1
1218
+ },
1219
+ {
1220
+ :id => 'i2.2xlarge',
1221
+ :name => 'I2 Double Extra Large',
1222
+ :bits => 64,
1223
+ :cores => 8,
1224
+ :disk => 1600,
1225
+ :ram => 65498,
1226
+ :ebs_optimized_available => true,
1227
+ :instance_store_volumes => 2
1228
+ },
1229
+ {
1230
+ :id => 'i2.4xlarge',
1231
+ :name => 'I2 Quadruple Extra Large',
1232
+ :bits => 64,
1233
+ :cores => 16,
1234
+ :disk => 3200,
1235
+ :ram => 130996,
1236
+ :ebs_optimized_available => true,
1237
+ :instance_store_volumes => 4
1238
+ },
1239
+ {
1240
+ :id => 'i2.8xlarge',
1241
+ :name => 'I2 Eight Extra Large',
1242
+ :bits => 64,
1243
+ :cores => 32,
1244
+ :disk => 6400,
1245
+ :ram => 261993,
1246
+ :ebs_optimized_available => false,
1247
+ :instance_store_volumes => 8
1248
+ },
1249
+ {
1250
+ :id => 'i3.large',
1251
+ :name => 'I3 Large',
1252
+ :bits => 64,
1253
+ :cores => 2,
1254
+ :disk => 475,
1255
+ :ram => 16374,
1256
+ :ebs_optimized_available => true,
1257
+ :instance_store_volumes => 1
1258
+ },
1259
+ {
1260
+ :id => 'i3.xlarge',
1261
+ :name => 'I3 Extra Large',
1262
+ :bits => 64,
1263
+ :cores => 4,
1264
+ :disk => 950,
1265
+ :ram => 32749,
1266
+ :ebs_optimized_available => true,
1267
+ :instance_store_volumes => 1
1268
+ },
1269
+ {
1270
+ :id => 'i3.2xlarge',
1271
+ :name => 'I3 Double Extra Large',
1272
+ :bits => 64,
1273
+ :cores => 8,
1274
+ :disk => 1900,
1275
+ :ram => 65498,
1276
+ :ebs_optimized_available => true,
1277
+ :instance_store_volumes => 1
1278
+ },
1279
+ {
1280
+ :id => 'i3.4xlarge',
1281
+ :name => 'I3 Quadruple Extra Large',
1282
+ :bits => 64,
1283
+ :cores => 16,
1284
+ :disk => 3800,
1285
+ :ram => 130996,
1286
+ :ebs_optimized_available => true,
1287
+ :instance_store_volumes => 2
1288
+ },
1289
+ {
1290
+ :id => 'i3.8xlarge',
1291
+ :name => 'I3 Eight Extra Large',
1292
+ :bits => 64,
1293
+ :cores => 32,
1294
+ :disk => 7600,
1295
+ :ram => 261993,
1296
+ :ebs_optimized_available => true,
1297
+ :instance_store_volumes => 4
1298
+ },
1299
+ {
1300
+ :id => 'i3.16xlarge',
1301
+ :name => 'I3 Sixteen Extra Large',
1302
+ :bits => 64,
1303
+ :cores => 64,
1304
+ :disk => 15200,
1305
+ :ram => 523986,
1306
+ :ebs_optimized_available => true,
1307
+ :instance_store_volumes => 8
1308
+ },
1309
+ {
1310
+ :id => 'i3.metal',
1311
+ :name => 'I3 Metal',
1312
+ :bits => 64,
1313
+ :cores => 72,
1314
+ :disk => 15200,
1315
+ :ram => 549756,
1316
+ :ebs_optimized_available => true,
1317
+ :instance_store_volumes => 8
1318
+ },
1319
+ {
1320
+ :id => 'i3en.large',
1321
+ :name => 'I3en Large',
1322
+ :bits => 64,
1323
+ :cores => 2,
1324
+ :disk => 1250,
1325
+ :ram => 17180,
1326
+ :ebs_optimized_available => true,
1327
+ :instance_store_volumes => 1
1328
+ },
1329
+ {
1330
+ :id => 'i3en.xlarge',
1331
+ :name => 'I3en Extra Large',
1332
+ :bits => 64,
1333
+ :cores => 4,
1334
+ :disk => 2500,
1335
+ :ram => 34360,
1336
+ :ebs_optimized_available => true,
1337
+ :instance_store_volumes => 1
1338
+ },
1339
+ {
1340
+ :id => 'i3en.2xlarge',
1341
+ :name => 'I3en Double Extra Large',
1342
+ :bits => 64,
1343
+ :cores => 8,
1344
+ :disk => 5000,
1345
+ :ram => 68719,
1346
+ :ebs_optimized_available => true,
1347
+ :instance_store_volumes => 2
1348
+ },
1349
+ {
1350
+ :id => 'i3en.3xlarge',
1351
+ :name => 'I3en Triple Extra Large',
1352
+ :bits => 64,
1353
+ :cores => 8,
1354
+ :disk => 7500,
1355
+ :ram => 103079,
1356
+ :ebs_optimized_available => true,
1357
+ :instance_store_volumes => 1
1358
+ },
1359
+ {
1360
+ :id => 'i3en.6xlarge',
1361
+ :name => 'I3en Sextuple Extra Large',
1362
+ :bits => 64,
1363
+ :cores => 24,
1364
+ :disk => 15000,
1365
+ :ram => 206158,
1366
+ :ebs_optimized_available => true,
1367
+ :instance_store_volumes => 2
1368
+ },
1369
+ {
1370
+ :id => 'i3en.12xlarge',
1371
+ :name => 'I3en Twelve Extra Large',
1372
+ :bits => 64,
1373
+ :cores => 24,
1374
+ :disk => 15000,
1375
+ :ram => 206158,
1376
+ :ebs_optimized_available => true,
1377
+ :instance_store_volumes => 2
1378
+ },
1379
+ {
1380
+ :id => 'i3en.16xlarge',
1381
+ :name => 'I3en Sixteen Extra Large',
1382
+ :bits => 64,
1383
+ :cores => 48,
1384
+ :disk => 30000,
1385
+ :ram => 412317,
1386
+ :ebs_optimized_available => true,
1387
+ :instance_store_volumes => 4
1388
+ },
1389
+ {
1390
+ :id => 'i3en.24xlarge',
1391
+ :name => 'I3en Twenty-four Extra Large',
1392
+ :bits => 64,
1393
+ :cores => 96,
1394
+ :disk => 60000,
1395
+ :ram => 824634,
1396
+ :ebs_optimized_available => true,
1397
+ :instance_store_volumes => 8
1398
+ },
1399
+ {
1400
+ :id => 'i3en.metal',
1401
+ :name => 'I3en Metal',
1402
+ :bits => 64,
1403
+ :cores => 96,
1404
+ :disk => 60000,
1405
+ :ram => 824634,
1406
+ :ebs_optimized_available => true,
1407
+ :instance_store_volumes => 8
1408
+ },
1409
+ {
1410
+ :id => "r3.large",
1411
+ :name => "R3 Large",
1412
+ :bits => 64,
1413
+ :cores => 2,
1414
+ :ram => 16374,
1415
+ :disk => 32,
1416
+ :ebs_optimized_available => false,
1417
+ :instance_store_volumes => 1
1418
+ },
1419
+ {
1420
+ :id => "r3.xlarge",
1421
+ :name => "R3 Extra Large",
1422
+ :bits => 64,
1423
+ :cores => 4,
1424
+ :ram => 32749,
1425
+ :disk => 80,
1426
+ :ebs_optimized_available => true,
1427
+ :instance_store_volumes => 1
1428
+ },
1429
+ {
1430
+ :id => "r3.2xlarge",
1431
+ :name => "R3 Double Extra Large",
1432
+ :bits => 64,
1433
+ :cores => 8,
1434
+ :ram => 65498,
1435
+ :disk => 160,
1436
+ :ebs_optimized_available => true,
1437
+ :instance_store_volumes => 1
1438
+ },
1439
+ {
1440
+ :id => "r3.4xlarge",
1441
+ :name => "R3 Quadruple Extra Large",
1442
+ :bits => 64,
1443
+ :cores => 16,
1444
+ :ram => 130996,
1445
+ :disk => 320,
1446
+ :ebs_optimized_available => true,
1447
+ :instance_store_volumes => 1
1448
+ },
1449
+ {
1450
+ :id => "r3.8xlarge",
1451
+ :name => "R3 Eight Extra Large",
1452
+ :bits => 64,
1453
+ :cores => 32,
1454
+ :ram => 261993,
1455
+ :disk => 640,
1456
+ :ebs_optimized_available => false,
1457
+ :instance_store_volumes => 2
1458
+ },
1459
+ {
1460
+ :id => "r4.large",
1461
+ :name => "R4 Large",
1462
+ :bits => 64,
1463
+ :cores => 2,
1464
+ :ram => 16374,
1465
+ :disk => 0,
1466
+ :ebs_optimized_available => true,
1467
+ :instance_store_volumes => 0
1468
+ },
1469
+ {
1470
+ :id => "r4.xlarge",
1471
+ :name => "R4 Extra Large",
1472
+ :bits => 64,
1473
+ :cores => 4,
1474
+ :ram => 32749,
1475
+ :disk => 0,
1476
+ :ebs_optimized_available => true,
1477
+ :instance_store_volumes => 0
1478
+ },
1479
+ {
1480
+ :id => "r4.2xlarge",
1481
+ :name => "R4 Double Extra Large",
1482
+ :bits => 64,
1483
+ :cores => 8,
1484
+ :ram => 65498,
1485
+ :disk => 0,
1486
+ :ebs_optimized_available => true,
1487
+ :instance_store_volumes => 0
1488
+ },
1489
+ {
1490
+ :id => "r4.4xlarge",
1491
+ :name => "R4 Quadruple Extra Large",
1492
+ :bits => 64,
1493
+ :cores => 16,
1494
+ :ram => 130996,
1495
+ :disk => 0,
1496
+ :ebs_optimized_available => true,
1497
+ :instance_store_volumes => 0
1498
+ },
1499
+ {
1500
+ :id => "r4.8xlarge",
1501
+ :name => "R4 Eight Extra Large",
1502
+ :bits => 64,
1503
+ :cores => 32,
1504
+ :ram => 261993,
1505
+ :disk => 0,
1506
+ :ebs_optimized_available => true,
1507
+ :instance_store_volumes => 0
1508
+ },
1509
+ {
1510
+ :id => "r4.16xlarge",
1511
+ :name => "R4 Sixteen Extra Large",
1512
+ :bits => 64,
1513
+ :cores => 64,
1514
+ :ram => 523986,
1515
+ :disk => 0,
1516
+ :ebs_optimized_available => true,
1517
+ :instance_store_volumes => 0
1518
+ },
1519
+ {
1520
+ :id => "r5.large",
1521
+ :name => "R5 Large",
1522
+ :bits => 64,
1523
+ :cores => 2,
1524
+ :ram => 17179,
1525
+ :disk => 0,
1526
+ :ebs_optimized_available => true,
1527
+ :instance_store_volumes => 0
1528
+ },
1529
+ {
1530
+ :id => "r5.xlarge",
1531
+ :name => "R5 Extra Large",
1532
+ :bits => 64,
1533
+ :cores => 4,
1534
+ :ram => 34359,
1535
+ :disk => 0,
1536
+ :ebs_optimized_available => true,
1537
+ :instance_store_volumes => 0
1538
+ },
1539
+ {
1540
+ :id => "r5.2xlarge",
1541
+ :name => "R5 Double Extra Large",
1542
+ :bits => 64,
1543
+ :cores => 8,
1544
+ :ram => 68719,
1545
+ :disk => 0,
1546
+ :ebs_optimized_available => true,
1547
+ :instance_store_volumes => 0
1548
+ },
1549
+ {
1550
+ :id => "r5.4xlarge",
1551
+ :name => "R5 Quadruple Extra Large",
1552
+ :bits => 64,
1553
+ :cores => 16,
1554
+ :ram => 137438,
1555
+ :disk => 0,
1556
+ :ebs_optimized_available => true,
1557
+ :instance_store_volumes => 0
1558
+ },
1559
+ {
1560
+ :id => "r5.8xlarge",
1561
+ :name => "R5 Octuple Extra Large",
1562
+ :bits => 64,
1563
+ :cores => 32,
1564
+ :ram => 274878,
1565
+ :disk => 0,
1566
+ :ebs_optimized_available => true,
1567
+ :instance_store_volumes => 0
1568
+ },
1569
+ {
1570
+ :id => "r5.12xlarge",
1571
+ :name => "R5 Twelve Extra Large",
1572
+ :bits => 64,
1573
+ :cores => 48,
1574
+ :ram => 412316,
1575
+ :disk => 0,
1576
+ :ebs_optimized_available => true,
1577
+ :instance_store_volumes => 0
1578
+ },
1579
+ {
1580
+ :id => "r5.16xlarge",
1581
+ :name => "R5 Sixteen Extra Large",
1582
+ :bits => 64,
1583
+ :cores => 64,
1584
+ :ram => 549756,
1585
+ :disk => 0,
1586
+ :ebs_optimized_available => true,
1587
+ :instance_store_volumes => 0
1588
+ },
1589
+ {
1590
+ :id => "r5.24xlarge",
1591
+ :name => "R5 Twenty Four Extra Large",
1592
+ :bits => 64,
1593
+ :cores => 96,
1594
+ :ram => 824633,
1595
+ :disk => 0,
1596
+ :ebs_optimized_available => true,
1597
+ :instance_store_volumes => 0
1598
+ },
1599
+ {
1600
+ :id => "r5.metal",
1601
+ :name => "R5 Metal",
1602
+ :bits => 64,
1603
+ :cores => 96,
1604
+ :ram => 824633,
1605
+ :disk => 0,
1606
+ :ebs_optimized_available => true,
1607
+ :instance_store_volumes => 0
1608
+ },
1609
+ {
1610
+ :id => "r5d.large",
1611
+ :name => "R5d Large",
1612
+ :bits => 64,
1613
+ :cores => 2,
1614
+ :ram => 17179,
1615
+ :disk => 75,
1616
+ :ebs_optimized_available => true,
1617
+ :instance_store_volumes => 1
1618
+ },
1619
+ {
1620
+ :id => "r5d.xlarge",
1621
+ :name => "R5d Extra Large",
1622
+ :bits => 64,
1623
+ :cores => 4,
1624
+ :ram => 34359,
1625
+ :disk => 150,
1626
+ :ebs_optimized_available => true,
1627
+ :instance_store_volumes => 1
1628
+ },
1629
+ {
1630
+ :id => "r5d.2xlarge",
1631
+ :name => "R5d Double Extra Large",
1632
+ :bits => 64,
1633
+ :cores => 8,
1634
+ :ram => 68719,
1635
+ :disk => 300,
1636
+ :ebs_optimized_available => true,
1637
+ :instance_store_volumes => 1
1638
+ },
1639
+ {
1640
+ :id => "r5d.4xlarge",
1641
+ :name => "R5d Quadruple Extra Large",
1642
+ :bits => 64,
1643
+ :cores => 16,
1644
+ :ram => 137438,
1645
+ :disk => 600,
1646
+ :ebs_optimized_available => true,
1647
+ :instance_store_volumes => 2
1648
+ },
1649
+ {
1650
+ :id => "r5d.8xlarge",
1651
+ :name => "R5d Octuple Extra Large",
1652
+ :bits => 64,
1653
+ :cores => 16,
1654
+ :ram => 137438,
1655
+ :disk => 600,
1656
+ :ebs_optimized_available => true,
1657
+ :instance_store_volumes => 2
1658
+ },
1659
+ {
1660
+ :id => "r5d.12xlarge",
1661
+ :name => "R5d Twelve Extra Large",
1662
+ :bits => 64,
1663
+ :cores => 48,
1664
+ :ram => 412316,
1665
+ :disk => 1800,
1666
+ :ebs_optimized_available => true,
1667
+ :instance_store_volumes => 2
1668
+ },
1669
+ {
1670
+ :id => "r5d.16xlarge",
1671
+ :name => "R5d Sixteen Extra Large",
1672
+ :bits => 64,
1673
+ :cores => 64,
1674
+ :ram => 549756,
1675
+ :disk => 2400,
1676
+ :ebs_optimized_available => true,
1677
+ :instance_store_volumes => 4
1678
+ },
1679
+ {
1680
+ :id => "r5d.24xlarge",
1681
+ :name => "R5d Twenty Four Extra Large",
1682
+ :bits => 64,
1683
+ :cores => 96,
1684
+ :ram => 824633,
1685
+ :disk => 3600,
1686
+ :ebs_optimized_available => true,
1687
+ :instance_store_volumes => 4
1688
+ },
1689
+ {
1690
+ :id => "r5d.metal",
1691
+ :name => "R5d Metal",
1692
+ :bits => 64,
1693
+ :cores => 96,
1694
+ :ram => 824633,
1695
+ :disk => 3600,
1696
+ :ebs_optimized_available => true,
1697
+ :instance_store_volumes => 4
1698
+ },
1699
+ {
1700
+ :id => "r5a.large",
1701
+ :name => "R5 (AMD) Large",
1702
+ :bits => 64,
1703
+ :cores => 2,
1704
+ :ram => 17179,
1705
+ :disk => 0,
1706
+ :ebs_optimized_available => true,
1707
+ :instance_store_volumes => 0
1708
+ },
1709
+ {
1710
+ :id => "r5a.xlarge",
1711
+ :name => "R5 (AMD) Extra Large",
1712
+ :bits => 64,
1713
+ :cores => 4,
1714
+ :ram => 34359,
1715
+ :disk => 0,
1716
+ :ebs_optimized_available => true,
1717
+ :instance_store_volumes => 0
1718
+ },
1719
+ {
1720
+ :id => "r5a.2xlarge",
1721
+ :name => "R5 (AMD) Double Extra Large",
1722
+ :bits => 64,
1723
+ :cores => 8,
1724
+ :ram => 68719,
1725
+ :disk => 0,
1726
+ :ebs_optimized_available => true,
1727
+ :instance_store_volumes => 0
1728
+ },
1729
+ {
1730
+ :id => "r5a.4xlarge",
1731
+ :name => "R5 (AMD) Quadruple Extra Large",
1732
+ :bits => 64,
1733
+ :cores => 16,
1734
+ :ram => 137438,
1735
+ :disk => 0,
1736
+ :ebs_optimized_available => true,
1737
+ :instance_store_volumes => 0
1738
+ },
1739
+ {
1740
+ :id => "r5a.12xlarge",
1741
+ :name => "R5 (AMD) Twelve Extra Large",
1742
+ :bits => 64,
1743
+ :cores => 48,
1744
+ :ram => 412316,
1745
+ :disk => 0,
1746
+ :ebs_optimized_available => true,
1747
+ :instance_store_volumes => 0
1748
+ },
1749
+ {
1750
+ :id => "r5a.24xlarge",
1751
+ :name => "R5 (AMD) Twenty Four Extra Large",
1752
+ :bits => 64,
1753
+ :cores => 96,
1754
+ :ram => 824633,
1755
+ :disk => 0,
1756
+ :ebs_optimized_available => true,
1757
+ :instance_store_volumes => 0
1758
+ },
1759
+ {
1760
+ :id => "r5ad.large",
1761
+ :name => "R5d (AMD) Large",
1762
+ :bits => 64,
1763
+ :cores => 2,
1764
+ :ram => 17179,
1765
+ :disk => 75,
1766
+ :ebs_optimized_available => true,
1767
+ :instance_store_volumes => 1
1768
+ },
1769
+ {
1770
+ :id => "r5ad.xlarge",
1771
+ :name => "R5d (AMD) Extra Large",
1772
+ :bits => 64,
1773
+ :cores => 4,
1774
+ :ram => 34359,
1775
+ :disk => 150,
1776
+ :ebs_optimized_available => true,
1777
+ :instance_store_volumes => 1
1778
+ },
1779
+ {
1780
+ :id => "r5ad.2xlarge",
1781
+ :name => "R5d (AMD) Double Extra Large",
1782
+ :bits => 64,
1783
+ :cores => 8,
1784
+ :ram => 68719,
1785
+ :disk => 300,
1786
+ :ebs_optimized_available => true,
1787
+ :instance_store_volumes => 1
1788
+ },
1789
+ {
1790
+ :id => "r5ad.4xlarge",
1791
+ :name => "R5d (AMD) Quadruple Extra Large",
1792
+ :bits => 64,
1793
+ :cores => 16,
1794
+ :ram => 137438,
1795
+ :disk => 600,
1796
+ :ebs_optimized_available => true,
1797
+ :instance_store_volumes => 2
1798
+ },
1799
+ {
1800
+ :id => "r5ad.12xlarge",
1801
+ :name => "R5d (AMD) Twelve Extra Large",
1802
+ :bits => 64,
1803
+ :cores => 48,
1804
+ :ram => 412316,
1805
+ :disk => 1800,
1806
+ :ebs_optimized_available => true,
1807
+ :instance_store_volumes => 2
1808
+ },
1809
+ {
1810
+ :id => "r5ad.24xlarge",
1811
+ :name => "R5d (AMD) Twenty Four Extra Large",
1812
+ :bits => 64,
1813
+ :cores => 96,
1814
+ :ram => 824633,
1815
+ :disk => 3600,
1816
+ :ebs_optimized_available => true,
1817
+ :instance_store_volumes => 4
1818
+ },
1819
+ {
1820
+ :id => "r5n.large",
1821
+ :name => "R5n Large",
1822
+ :bits => 64,
1823
+ :cores => 2,
1824
+ :ram => 17179,
1825
+ :disk => 0,
1826
+ :ebs_optimized_available => true,
1827
+ :instance_store_volumes => 0
1828
+ },
1829
+ {
1830
+ :id => "r5n.xlarge",
1831
+ :name => "R5n Extra Large",
1832
+ :bits => 64,
1833
+ :cores => 4,
1834
+ :ram => 34359,
1835
+ :disk => 0,
1836
+ :ebs_optimized_available => true,
1837
+ :instance_store_volumes => 0
1838
+ },
1839
+ {
1840
+ :id => "r5n.2xlarge",
1841
+ :name => "R5n Double Extra Large",
1842
+ :bits => 64,
1843
+ :cores => 8,
1844
+ :ram => 68719,
1845
+ :disk => 0,
1846
+ :ebs_optimized_available => true,
1847
+ :instance_store_volumes => 0
1848
+ },
1849
+ {
1850
+ :id => "r5n.4xlarge",
1851
+ :name => "R5n Quadruple Extra Large",
1852
+ :bits => 64,
1853
+ :cores => 16,
1854
+ :ram => 137438,
1855
+ :disk => 0,
1856
+ :ebs_optimized_available => true,
1857
+ :instance_store_volumes => 0
1858
+ },
1859
+ {
1860
+ :id => "r5n.8xlarge",
1861
+ :name => "R5n Octuple Extra Large",
1862
+ :bits => 64,
1863
+ :cores => 32,
1864
+ :ram => 274878,
1865
+ :disk => 0,
1866
+ :ebs_optimized_available => true,
1867
+ :instance_store_volumes => 0
1868
+ },
1869
+ {
1870
+ :id => "r5n.12xlarge",
1871
+ :name => "R5n Twelve Extra Large",
1872
+ :bits => 64,
1873
+ :cores => 48,
1874
+ :ram => 412316,
1875
+ :disk => 0,
1876
+ :ebs_optimized_available => true,
1877
+ :instance_store_volumes => 0
1878
+ },
1879
+ {
1880
+ :id => "r5n.16xlarge",
1881
+ :name => "R5n Sixteen Extra Large",
1882
+ :bits => 64,
1883
+ :cores => 64,
1884
+ :ram => 549756,
1885
+ :disk => 0,
1886
+ :ebs_optimized_available => true,
1887
+ :instance_store_volumes => 0
1888
+ },
1889
+ {
1890
+ :id => "r5n.24xlarge",
1891
+ :name => "R5n Twenty Four Extra Large",
1892
+ :bits => 64,
1893
+ :cores => 96,
1894
+ :ram => 824633,
1895
+ :disk => 0,
1896
+ :ebs_optimized_available => true,
1897
+ :instance_store_volumes => 0
1898
+ },
1899
+ {
1900
+ :id => "r5dn.large",
1901
+ :name => "R5dn Large",
1902
+ :bits => 64,
1903
+ :cores => 2,
1904
+ :ram => 17179,
1905
+ :disk => 75,
1906
+ :ebs_optimized_available => true,
1907
+ :instance_store_volumes => 1
1908
+ },
1909
+ {
1910
+ :id => "r5dn.xlarge",
1911
+ :name => "R5dn Extra Large",
1912
+ :bits => 64,
1913
+ :cores => 4,
1914
+ :ram => 34359,
1915
+ :disk => 150,
1916
+ :ebs_optimized_available => true,
1917
+ :instance_store_volumes => 1
1918
+ },
1919
+ {
1920
+ :id => "r5dn.2xlarge",
1921
+ :name => "R5dn Double Extra Large",
1922
+ :bits => 64,
1923
+ :cores => 8,
1924
+ :ram => 68719,
1925
+ :disk => 300,
1926
+ :ebs_optimized_available => true,
1927
+ :instance_store_volumes => 1
1928
+ },
1929
+ {
1930
+ :id => "r5dn.4xlarge",
1931
+ :name => "R5dn Quadruple Extra Large",
1932
+ :bits => 64,
1933
+ :cores => 16,
1934
+ :ram => 137438,
1935
+ :disk => 600,
1936
+ :ebs_optimized_available => true,
1937
+ :instance_store_volumes => 2
1938
+ },
1939
+ {
1940
+ :id => "r5dn.8xlarge",
1941
+ :name => "R5dn Octuple Extra Large",
1942
+ :bits => 64,
1943
+ :cores => 32,
1944
+ :ram => 274878,
1945
+ :disk => 1200,
1946
+ :ebs_optimized_available => true,
1947
+ :instance_store_volumes => 2
1948
+ },
1949
+ {
1950
+ :id => "r5dn.12xlarge",
1951
+ :name => "R5dn Twelve Extra Large",
1952
+ :bits => 64,
1953
+ :cores => 48,
1954
+ :ram => 412316,
1955
+ :disk => 1800,
1956
+ :ebs_optimized_available => true,
1957
+ :instance_store_volumes => 2
1958
+ },
1959
+ {
1960
+ :id => "r5dn.16xlarge",
1961
+ :name => "R5dn Sixteen Extra Large",
1962
+ :bits => 64,
1963
+ :cores => 64,
1964
+ :ram => 549756,
1965
+ :disk => 2400,
1966
+ :ebs_optimized_available => true,
1967
+ :instance_store_volumes => 4
1968
+ },
1969
+ {
1970
+ :id => "r5dn.24xlarge",
1971
+ :name => "R5dn Twenty Four Extra Large",
1972
+ :bits => 64,
1973
+ :cores => 96,
1974
+ :ram => 824633,
1975
+ :disk => 3600,
1976
+ :ebs_optimized_available => true,
1977
+ :instance_store_volumes => 4
1978
+ },
1979
+ {
1980
+ :id => 'r6g.medium',
1981
+ :name => 'R6G Medium',
1982
+ :bits => 64,
1983
+ :cores => 1,
1984
+ :disk => 0,
1985
+ :ram => 8590,
1986
+ :ebs_optimized_available => true,
1987
+ :instance_store_volumes => 0
1988
+ },
1989
+ {
1990
+ :id => 'r6g.large',
1991
+ :name => 'R6G Large',
1992
+ :bits => 64,
1993
+ :cores => 2,
1994
+ :disk => 0,
1995
+ :ram => 17180,
1996
+ :ebs_optimized_available => true,
1997
+ :instance_store_volumes => 0
1998
+ },
1999
+ {
2000
+ :id => 'r6g.xlarge',
2001
+ :name => 'R6G Extra Large',
2002
+ :bits => 64,
2003
+ :cores => 4,
2004
+ :disk => 0,
2005
+ :ram => 34360,
2006
+ :ebs_optimized_available => true,
2007
+ :instance_store_volumes => 0
2008
+ },
2009
+ {
2010
+ :id => 'r6g.2xlarge',
2011
+ :name => 'R6G Double Extra Large',
2012
+ :bits => 64,
2013
+ :cores => 8,
2014
+ :disk => 0,
2015
+ :ram => 68719,
2016
+ :ebs_optimized_available => true,
2017
+ :instance_store_volumes => 0
2018
+ },
2019
+ {
2020
+ :id => 'r6g.4xlarge',
2021
+ :name => 'R6G Quadruple Extra Large',
2022
+ :bits => 64,
2023
+ :cores => 16,
2024
+ :disk => 0,
2025
+ :ram => 137439,
2026
+ :ebs_optimized_available => true,
2027
+ :instance_store_volumes => 0
2028
+ },
2029
+ {
2030
+ :id => 'r6g.8xlarge',
2031
+ :name => 'R6G Octuple Extra Large',
2032
+ :bits => 64,
2033
+ :cores => 32,
2034
+ :disk => 0,
2035
+ :ram => 274878,
2036
+ :ebs_optimized_available => true,
2037
+ :instance_store_volumes => 0
2038
+ },
2039
+ {
2040
+ :id => 'r6g.12xlarge',
2041
+ :name => 'R6G Twelve Extra Large',
2042
+ :bits => 64,
2043
+ :cores => 48,
2044
+ :disk => 0,
2045
+ :ram => 412317,
2046
+ :ebs_optimized_available => true,
2047
+ :instance_store_volumes => 0
2048
+ },
2049
+ {
2050
+ :id => 'r6g.16xlarge',
2051
+ :name => 'R6G Sixteen Extra Large',
2052
+ :bits => 64,
2053
+ :cores => 64,
2054
+ :disk => 0,
2055
+ :ram => 549756,
2056
+ :ebs_optimized_available => true,
2057
+ :instance_store_volumes => 0
2058
+ },
2059
+ {
2060
+ :id => 'r6g.metal',
2061
+ :name => 'R6G Metal',
2062
+ :bits => 64,
2063
+ :cores => 64,
2064
+ :disk => 0,
2065
+ :ram => 549756,
2066
+ :ebs_optimized_available => true,
2067
+ :instance_store_volumes => 0
2068
+ },
2069
+ {
2070
+ :id => 'r6gd.medium',
2071
+ :name => 'R6GD Medium',
2072
+ :bits => 64,
2073
+ :cores => 1,
2074
+ :disk => 59,
2075
+ :ram => 8590,
2076
+ :ebs_optimized_available => true,
2077
+ :instance_store_volumes => 1
2078
+ },
2079
+ {
2080
+ :id => 'r6gd.large',
2081
+ :name => 'R6GD Large',
2082
+ :bits => 64,
2083
+ :cores => 2,
2084
+ :disk => 118,
2085
+ :ram => 17180,
2086
+ :ebs_optimized_available => true,
2087
+ :instance_store_volumes => 1
2088
+ },
2089
+ {
2090
+ :id => 'r6gd.xlarge',
2091
+ :name => 'R6GD Extra Large',
2092
+ :bits => 64,
2093
+ :cores => 4,
2094
+ :disk => 237,
2095
+ :ram => 34360,
2096
+ :ebs_optimized_available => true,
2097
+ :instance_store_volumes => 1
2098
+ },
2099
+ {
2100
+ :id => 'r6gd.2xlarge',
2101
+ :name => 'R6GD Double Extra Large',
2102
+ :bits => 64,
2103
+ :cores => 8,
2104
+ :disk => 474,
2105
+ :ram => 68719,
2106
+ :ebs_optimized_available => true,
2107
+ :instance_store_volumes => 1
2108
+ },
2109
+ {
2110
+ :id => 'r6gd.4xlarge',
2111
+ :name => 'R6GD Quadruple Extra Large',
2112
+ :bits => 64,
2113
+ :cores => 16,
2114
+ :disk => 950,
2115
+ :ram => 137439,
2116
+ :ebs_optimized_available => true,
2117
+ :instance_store_volumes => 1
2118
+ },
2119
+ {
2120
+ :id => 'r6gd.8xlarge',
2121
+ :name => 'R6GD Octuple Extra Large',
2122
+ :bits => 64,
2123
+ :cores => 32,
2124
+ :disk => 1900,
2125
+ :ram => 274878,
2126
+ :ebs_optimized_available => true,
2127
+ :instance_store_volumes => 1
2128
+ },
2129
+ {
2130
+ :id => 'r6gd.12xlarge',
2131
+ :name => 'R6GD Twelve Extra Large',
2132
+ :bits => 64,
2133
+ :cores => 48,
2134
+ :disk => 2850,
2135
+ :ram => 412317,
2136
+ :ebs_optimized_available => true,
2137
+ :instance_store_volumes => 2
2138
+ },
2139
+ {
2140
+ :id => 'r6gd.16xlarge',
2141
+ :name => 'R6GD Sixteen Extra Large',
2142
+ :bits => 64,
2143
+ :cores => 64,
2144
+ :disk => 3800,
2145
+ :ram => 549756,
2146
+ :ebs_optimized_available => true,
2147
+ :instance_store_volumes => 2
2148
+ },
2149
+ {
2150
+ :id => 'r6gd.metal',
2151
+ :name => 'R6GD Metal',
2152
+ :bits => 64,
2153
+ :cores => 64,
2154
+ :disk => 3800,
2155
+ :ram => 549756,
2156
+ :ebs_optimized_available => true,
2157
+ :instance_store_volumes => 2
2158
+ },
2159
+ {
2160
+ :id => "x1.16xlarge",
2161
+ :name => "X1 Sixteen Extra Large",
2162
+ :bits => 64,
2163
+ :cores => 64,
2164
+ :ram => 1047972,
2165
+ :disk => 1920,
2166
+ :ebs_optimized_available => true,
2167
+ :instance_store_volumes => 1
2168
+ },
2169
+ {
2170
+ :id => "x1.32xlarge",
2171
+ :name => "X1 Thirty-two Extra Large",
2172
+ :bits => 64,
2173
+ :cores => 128,
2174
+ :ram => 2095944,
2175
+ :disk => 3840,
2176
+ :ebs_optimized_available => true,
2177
+ :instance_store_volumes => 2
2178
+ },
2179
+ {
2180
+ :id => "x1e.xlarge",
2181
+ :name => "X1e Extra Large",
2182
+ :bits => 64,
2183
+ :cores => 4,
2184
+ :ram => 130997,
2185
+ :disk => 120,
2186
+ :ebs_optimized_available => true,
2187
+ :instance_store_volumes => 1
2188
+ },
2189
+ {
2190
+ :id => "x1e.2xlarge",
2191
+ :name => "X1e Double Extra Large",
2192
+ :bits => 64,
2193
+ :cores => 8,
2194
+ :ram => 261993,
2195
+ :disk => 240,
2196
+ :ebs_optimized_available => true,
2197
+ :instance_store_volumes => 1
2198
+ },
2199
+ {
2200
+ :id => "x1e.4xlarge",
2201
+ :name => "X1e Quadruple Extra Large",
2202
+ :bits => 64,
2203
+ :cores => 16,
2204
+ :ram => 523986,
2205
+ :disk => 480,
2206
+ :ebs_optimized_available => true,
2207
+ :instance_store_volumes => 1
2208
+ },
2209
+ {
2210
+ :id => "x1e.8xlarge",
2211
+ :name => "X1e Octuple Extra Large",
2212
+ :bits => 64,
2213
+ :cores => 32,
2214
+ :ram => 1043677,
2215
+ :disk => 960,
2216
+ :ebs_optimized_available => true,
2217
+ :instance_store_volumes => 1
2218
+ },
2219
+ {
2220
+ :id => "x1e.16xlarge",
2221
+ :name => "X1e Sixteen Extra Large",
2222
+ :bits => 64,
2223
+ :cores => 64,
2224
+ :ram => 2095944,
2225
+ :disk => 1920,
2226
+ :ebs_optimized_available => true,
2227
+ :instance_store_volumes => 1
2228
+ },
2229
+ {
2230
+ :id => "x1e.32xlarge",
2231
+ :name => "X1e Thirty-two Extra Large",
2232
+ :bits => 64,
2233
+ :cores => 128,
2234
+ :ram => 3118147,
2235
+ :disk => 3840,
2236
+ :ebs_optimized_available => true,
2237
+ :instance_store_volumes => 2
2238
+ },
2239
+ {
2240
+ :id => "u-6tb1.metal",
2241
+ :name => "U 6TB Metal",
2242
+ :bits => 64,
2243
+ :cores => 448,
2244
+ :ram => 6597071,
2245
+ :disk => 0,
2246
+ :ebs_optimized_available => true,
2247
+ :instance_store_volumes => 0
2248
+ },
2249
+ {
2250
+ :id => "u-9tb1.metal",
2251
+ :name => "U 9 TB Metal",
2252
+ :bits => 64,
2253
+ :cores => 448,
2254
+ :ram => 9895606,
2255
+ :disk => 0,
2256
+ :ebs_optimized_available => true,
2257
+ :instance_store_volumes => 0
2258
+ },
2259
+ {
2260
+ :id => "u-12tb1.metal",
2261
+ :name => "U 12 TB Metal",
2262
+ :bits => 64,
2263
+ :cores => 448,
2264
+ :ram => 13194141,
2265
+ :disk => 0,
2266
+ :ebs_optimized_available => true,
2267
+ :instance_store_volumes => 0
2268
+ },
2269
+ {
2270
+ :id => "u-18tb1.metal",
2271
+ :name => "U 18 TB Metal",
2272
+ :bits => 64,
2273
+ :cores => 448,
2274
+ :ram => 19791212,
2275
+ :disk => 0,
2276
+ :ebs_optimized_available => true,
2277
+ :instance_store_volumes => 0
2278
+ },
2279
+ {
2280
+ :id => "u-24tb1.metal",
2281
+ :name => "U 24 TB Metal",
2282
+ :bits => 64,
2283
+ :cores => 448,
2284
+ :ram => 26388283,
2285
+ :disk => 0,
2286
+ :ebs_optimized_available => true,
2287
+ :instance_store_volumes => 0
2288
+ },
2289
+ {
2290
+ :id => "z1d.large",
2291
+ :name => "Z1d Large",
2292
+ :bits => 64,
2293
+ :cores => 2,
2294
+ :ram => 17180,
2295
+ :disk => 75,
2296
+ :ebs_optimized_available => true,
2297
+ :instance_store_volumes => 1
2298
+ },
2299
+ {
2300
+ :id => "z1d.xlarge",
2301
+ :name => "Z1d Extra Large",
2302
+ :bits => 64,
2303
+ :cores => 4,
2304
+ :ram => 34359,
2305
+ :disk => 150,
2306
+ :ebs_optimized_available => true,
2307
+ :instance_store_volumes => 1
2308
+ },
2309
+ {
2310
+ :id => "z1d.2xlarge",
2311
+ :name => "Z1d Double Extra Large",
2312
+ :bits => 64,
2313
+ :cores => 8,
2314
+ :ram => 68719,
2315
+ :disk => 300,
2316
+ :ebs_optimized_available => true,
2317
+ :instance_store_volumes => 1
2318
+ },
2319
+ {
2320
+ :id => "z1d.3xlarge",
2321
+ :name => "Z1d Triple Extra Large",
2322
+ :bits => 64,
2323
+ :cores => 12,
2324
+ :ram => 103079,
2325
+ :disk => 450,
2326
+ :ebs_optimized_available => true,
2327
+ :instance_store_volumes => 1
2328
+ },
2329
+ {
2330
+ :id => "z1d.6xlarge",
2331
+ :name => "Z1d Sextuple Large",
2332
+ :bits => 64,
2333
+ :cores => 24,
2334
+ :ram => 206158,
2335
+ :disk => 900,
2336
+ :ebs_optimized_available => true,
2337
+ :instance_store_volumes => 1
2338
+ },
2339
+ {
2340
+ :id => "z1d.12xlarge",
2341
+ :name => "Z1d Twelve Extra Large",
2342
+ :bits => 64,
2343
+ :cores => 48,
2344
+ :ram => 412316,
2345
+ :disk => 1800,
2346
+ :ebs_optimized_available => true,
2347
+ :instance_store_volumes => 2
2348
+ },
2349
+ {
2350
+ :id => "z1d.metal",
2351
+ :name => "Z1d Metal",
2352
+ :bits => 64,
2353
+ :cores => 48,
2354
+ :ram => 412316,
2355
+ :disk => 1800,
2356
+ :ebs_optimized_available => true,
2357
+ :instance_store_volumes => 2
2358
+ },
2359
+ {
2360
+ :id => "d2.xlarge",
2361
+ :name => "D2 Extra Large",
2362
+ :bits => 64,
2363
+ :cores => 4,
2364
+ :ram => 32749,
2365
+ :disk => 6000,
2366
+ :ebs_optimized_available => true,
2367
+ :instance_store_volumes => 3
2368
+ },
2369
+ {
2370
+ :id => "d2.2xlarge",
2371
+ :name => "D2 Double Extra Large",
2372
+ :bits => 64,
2373
+ :cores => 8,
2374
+ :ram => 65498,
2375
+ :disk => 12000,
2376
+ :ebs_optimized_available => true,
2377
+ :instance_store_volumes => 6
2378
+ },
2379
+ {
2380
+ :id => "d2.4xlarge",
2381
+ :name => "D2 Quadruple Extra Large",
2382
+ :bits => 64,
2383
+ :cores => 16,
2384
+ :ram => 130996,
2385
+ :disk => 24000,
2386
+ :ebs_optimized_available => true,
2387
+ :instance_store_volumes => 12
2388
+ },
2389
+ {
2390
+ :id => "d2.8xlarge",
2391
+ :name => "D2 Eight Extra Large",
2392
+ :bits => 64,
2393
+ :cores => 36,
2394
+ :ram => 261993,
2395
+ :disk => 48000,
2396
+ :ebs_optimized_available => true,
2397
+ :instance_store_volumes => 24
2398
+ },
2399
+ {
2400
+ :id => "h1.2xlarge",
2401
+ :name => "H1 Double Extra Large",
2402
+ :bits => 64,
2403
+ :cores => 8,
2404
+ :ram => 34360,
2405
+ :disk => 2000,
2406
+ :ebs_optimized_available => true,
2407
+ :instance_store_volumes => 1
2408
+ },
2409
+ {
2410
+ :id => "h1.4xlarge",
2411
+ :name => "H1 Quadruple Extra Large",
2412
+ :bits => 64,
2413
+ :cores => 16,
2414
+ :ram => 68719,
2415
+ :disk => 4000,
2416
+ :ebs_optimized_available => true,
2417
+ :instance_store_volumes => 2
2418
+ },
2419
+ {
2420
+ :id => "h1.8xlarge",
2421
+ :name => "H1 Octuple Extra Large",
2422
+ :bits => 64,
2423
+ :cores => 32,
2424
+ :ram => 137439,
2425
+ :disk => 8000,
2426
+ :ebs_optimized_available => true,
2427
+ :instance_store_volumes => 4
2428
+ },
2429
+ {
2430
+ :id => "h1.16xlarge",
2431
+ :name => "H1 Sixteen Extra Large",
2432
+ :bits => 64,
2433
+ :cores => 64,
2434
+ :ram => 274878,
2435
+ :disk => 16000,
2436
+ :ebs_optimized_available => true,
2437
+ :instance_store_volumes => 8
2438
+ },
2439
+ {
2440
+ :id => "m4.large",
2441
+ :name => "M4 Large",
2442
+ :bits => 64,
2443
+ :cores => 2,
2444
+ :ram => 8589,
2445
+ :disk => 0,
2446
+ :ebs_optimized_available => true,
2447
+ :instance_store_volumes => 0
2448
+ },
2449
+ {
2450
+ :id => "m4.xlarge",
2451
+ :name => "M4 Extra Large",
2452
+ :bits => 64,
2453
+ :cores => 4,
2454
+ :ram => 17179,
2455
+ :disk => 0,
2456
+ :ebs_optimized_available => true,
2457
+ :instance_store_volumes => 0
2458
+ },
2459
+ {
2460
+ :id => "m4.2xlarge",
2461
+ :name => "M4 Double Extra Large",
2462
+ :bits => 64,
2463
+ :cores => 8,
2464
+ :ram => 34359,
2465
+ :disk => 0,
2466
+ :ebs_optimized_available => true,
2467
+ :instance_store_volumes => 0
2468
+ },
2469
+ {
2470
+ :id => "m4.4xlarge",
2471
+ :name => "M4 Quadruple Extra Large",
2472
+ :bits => 64,
2473
+ :cores => 16,
2474
+ :ram => 68719,
2475
+ :disk => 0,
2476
+ :ebs_optimized_available => true,
2477
+ :instance_store_volumes => 0
2478
+ },
2479
+ {
2480
+ :id => "m4.10xlarge",
2481
+ :name => "M4 Ten Extra Large",
2482
+ :bits => 64,
2483
+ :cores => 40,
2484
+ :ram => 171798,
2485
+ :disk => 0,
2486
+ :ebs_optimized_available => true,
2487
+ :instance_store_volumes => 0
2488
+ },
2489
+ {
2490
+ :id => "m4.16xlarge",
2491
+ :name => "M4 Sixteen Extra Large",
2492
+ :bits => 64,
2493
+ :cores => 64,
2494
+ :ram => 262144,
2495
+ :disk => 0,
2496
+ :ebs_optimized_available => true,
2497
+ :instance_store_volumes => 0
2498
+ },
2499
+ {
2500
+ :id => "m5.large",
2501
+ :name => "M5 Large",
2502
+ :bits => 64,
2503
+ :cores => 2,
2504
+ :ram => 8589,
2505
+ :disk => 0,
2506
+ :ebs_optimized_available => true,
2507
+ :instance_store_volumes => 0
2508
+ },
2509
+ {
2510
+ :id => "m5.xlarge",
2511
+ :name => "M5 Extra Large",
2512
+ :bits => 64,
2513
+ :cores => 4,
2514
+ :ram => 17179,
2515
+ :disk => 0,
2516
+ :ebs_optimized_available => true,
2517
+ :instance_store_volumes => 0
2518
+ },
2519
+ {
2520
+ :id => "m5.2xlarge",
2521
+ :name => "M5 Double Extra Large",
2522
+ :bits => 64,
2523
+ :cores => 8,
2524
+ :ram => 34359,
2525
+ :disk => 0,
2526
+ :ebs_optimized_available => true,
2527
+ :instance_store_volumes => 0
2528
+ },
2529
+ {
2530
+ :id => "m5.4xlarge",
2531
+ :name => "M5 Quadruple Extra Large",
2532
+ :bits => 64,
2533
+ :cores => 16,
2534
+ :ram => 68719,
2535
+ :disk => 0,
2536
+ :ebs_optimized_available => true,
2537
+ :instance_store_volumes => 0
2538
+ },
2539
+ {
2540
+ :id => "m5.8xlarge",
2541
+ :name => "M5 Octuple Extra Large",
2542
+ :bits => 64,
2543
+ :cores => 32,
2544
+ :ram => 137439,
2545
+ :disk => 0,
2546
+ :ebs_optimized_available => true,
2547
+ :instance_store_volumes => 0
2548
+ },
2549
+ {
2550
+ :id => "m5.12xlarge",
2551
+ :name => "M5 Twelve Extra Large",
2552
+ :bits => 64,
2553
+ :cores => 48,
2554
+ :ram => 206158,
2555
+ :disk => 0,
2556
+ :ebs_optimized_available => true,
2557
+ :instance_store_volumes => 0
2558
+ },
2559
+ {
2560
+ :id => "m5.16xlarge",
2561
+ :name => "M5 Sixteen Extra Large",
2562
+ :bits => 64,
2563
+ :cores => 64,
2564
+ :ram => 274878,
2565
+ :disk => 0,
2566
+ :ebs_optimized_available => true,
2567
+ :instance_store_volumes => 0
2568
+ },
2569
+ {
2570
+ :id => "m5.24xlarge",
2571
+ :name => "M5 Twenty Four Extra Large",
2572
+ :bits => 64,
2573
+ :cores => 96,
2574
+ :ram => 412316,
2575
+ :disk => 0,
2576
+ :ebs_optimized_available => true,
2577
+ :instance_store_volumes => 0
2578
+ },
2579
+ {
2580
+ :id => "m5.metal",
2581
+ :name => "M5 Metal",
2582
+ :bits => 64,
2583
+ :cores => 96,
2584
+ :ram => 412316,
2585
+ :disk => 0,
2586
+ :ebs_optimized_available => true,
2587
+ :instance_store_volumes => 0
2588
+ },
2589
+ {
2590
+ :id => "m5d.large",
2591
+ :name => "M5d Large",
2592
+ :bits => 64,
2593
+ :cores => 2,
2594
+ :ram => 8589,
2595
+ :disk => 75,
2596
+ :ebs_optimized_available => true,
2597
+ :instance_store_volumes => 1
2598
+ },
2599
+ {
2600
+ :id => "m5d.xlarge",
2601
+ :name => "M5d Extra Large",
2602
+ :bits => 64,
2603
+ :cores => 4,
2604
+ :ram => 17179,
2605
+ :disk => 150,
2606
+ :ebs_optimized_available => true,
2607
+ :instance_store_volumes => 1
2608
+ },
2609
+ {
2610
+ :id => "m5d.2xlarge",
2611
+ :name => "M5d Double Extra Large",
2612
+ :bits => 64,
2613
+ :cores => 8,
2614
+ :ram => 34359,
2615
+ :disk => 300,
2616
+ :ebs_optimized_available => true,
2617
+ :instance_store_volumes => 1
2618
+ },
2619
+ {
2620
+ :id => "m5d.4xlarge",
2621
+ :name => "M5d Quadruple Extra Large",
2622
+ :bits => 64,
2623
+ :cores => 16,
2624
+ :ram => 68719,
2625
+ :disk => 600,
2626
+ :ebs_optimized_available => true,
2627
+ :instance_store_volumes => 2
2628
+ },
2629
+ {
2630
+ :id => "m5d.8xlarge",
2631
+ :name => "M5d Octuple Extra Large",
2632
+ :bits => 64,
2633
+ :cores => 32,
2634
+ :ram => 137439,
2635
+ :disk => 1200,
2636
+ :ebs_optimized_available => true,
2637
+ :instance_store_volumes => 2
2638
+ },
2639
+ {
2640
+ :id => "m5d.12xlarge",
2641
+ :name => "M5d Twelve Extra Large",
2642
+ :bits => 64,
2643
+ :cores => 48,
2644
+ :ram => 206158,
2645
+ :disk => 1800,
2646
+ :ebs_optimized_available => true,
2647
+ :instance_store_volumes => 2
2648
+ },
2649
+ {
2650
+ :id => "m5d.16xlarge",
2651
+ :name => "M5d Sixteen Extra Large",
2652
+ :bits => 64,
2653
+ :cores => 64,
2654
+ :ram => 274878,
2655
+ :disk => 2400,
2656
+ :ebs_optimized_available => true,
2657
+ :instance_store_volumes => 4
2658
+ },
2659
+ {
2660
+ :id => "m5d.24xlarge",
2661
+ :name => "M5d Twenty Four Extra Large",
590
2662
  :bits => 64,
591
- :cores => 16,
592
- :ram => 124928,
593
- :disk => 320,
2663
+ :cores => 96,
2664
+ :ram => 412316,
2665
+ :disk => 3600,
594
2666
  :ebs_optimized_available => true,
595
- :instance_store_volumes => 1
2667
+ :instance_store_volumes => 4
596
2668
  },
597
2669
  {
598
- :id => "r3.8xlarge",
599
- :name => "R3 Eight Extra Large",
2670
+ :id => "m5d.metal",
2671
+ :name => "M5d Metal",
600
2672
  :bits => 64,
601
- :cores => 32,
602
- :ram => 249856,
603
- :disk => 640,
604
- :ebs_optimized_available => false,
605
- :instance_store_volumes => 2
2673
+ :cores => 96,
2674
+ :ram => 412316,
2675
+ :disk => 3600,
2676
+ :ebs_optimized_available => true,
2677
+ :instance_store_volumes => 4
606
2678
  },
607
2679
  {
608
- :id => "r4.large",
609
- :name => "R4 Large",
2680
+ :id => "m5a.large",
2681
+ :name => "M5 (AMD) Large",
610
2682
  :bits => 64,
611
2683
  :cores => 2,
612
- :ram => 15616,
2684
+ :ram => 8589,
613
2685
  :disk => 0,
614
2686
  :ebs_optimized_available => true,
615
2687
  :instance_store_volumes => 0
616
2688
  },
617
2689
  {
618
- :id => "r4.xlarge",
619
- :name => "R4 Extra Large",
2690
+ :id => "m5a.xlarge",
2691
+ :name => "M5 (AMD) Extra Large",
620
2692
  :bits => 64,
621
2693
  :cores => 4,
622
- :ram => 31232,
2694
+ :ram => 17179,
623
2695
  :disk => 0,
624
2696
  :ebs_optimized_available => true,
625
2697
  :instance_store_volumes => 0
626
2698
  },
627
2699
  {
628
- :id => "r4.2xlarge",
629
- :name => "R4 Double Extra Large",
2700
+ :id => "m5a.2xlarge",
2701
+ :name => "M5 (AMD) Double Extra Large",
630
2702
  :bits => 64,
631
2703
  :cores => 8,
632
- :ram => 62464,
2704
+ :ram => 34359,
633
2705
  :disk => 0,
634
2706
  :ebs_optimized_available => true,
635
2707
  :instance_store_volumes => 0
636
2708
  },
637
2709
  {
638
- :id => "r4.4xlarge",
639
- :name => "R4 Quadruple Extra Large",
2710
+ :id => "m5a.4xlarge",
2711
+ :name => "M5 (AMD) Quadruple Extra Large",
640
2712
  :bits => 64,
641
2713
  :cores => 16,
642
- :ram => 124928,
2714
+ :ram => 68719,
643
2715
  :disk => 0,
644
2716
  :ebs_optimized_available => true,
645
2717
  :instance_store_volumes => 0
646
2718
  },
647
2719
  {
648
- :id => "r4.8xlarge",
649
- :name => "R4 Eight Extra Large",
2720
+ :id => "m5a.8xlarge",
2721
+ :name => "M5 (AMD) Eight Extra Large",
650
2722
  :bits => 64,
651
2723
  :cores => 32,
652
- :ram => 249856,
2724
+ :ram => 137438,
653
2725
  :disk => 0,
654
2726
  :ebs_optimized_available => true,
655
2727
  :instance_store_volumes => 0
656
2728
  },
657
2729
  {
658
- :id => "r4.16xlarge",
659
- :name => "R4 Sixteen Extra Large",
2730
+ :id => "m5a.12xlarge",
2731
+ :name => "M5 (AMD) Twelve Extra Large",
2732
+ :bits => 64,
2733
+ :cores => 48,
2734
+ :ram => 206158,
2735
+ :disk => 0,
2736
+ :ebs_optimized_available => true,
2737
+ :instance_store_volumes => 0
2738
+ },
2739
+ {
2740
+ :id => "m5a.16xlarge",
2741
+ :name => "M5 (AMD) Sixteen Extra Large",
660
2742
  :bits => 64,
661
2743
  :cores => 32,
662
- :ram => 499712,
2744
+ :ram => 274877,
663
2745
  :disk => 0,
664
2746
  :ebs_optimized_available => true,
665
2747
  :instance_store_volumes => 0
666
2748
  },
667
2749
  {
668
- :id => "d2.xlarge",
669
- :name => "D2 Extra Large",
2750
+ :id => "m5a.24xlarge",
2751
+ :name => "M5 (AMD) Twenty Four Extra Large",
2752
+ :bits => 64,
2753
+ :cores => 96,
2754
+ :ram => 412316,
2755
+ :disk => 0,
2756
+ :ebs_optimized_available => true,
2757
+ :instance_store_volumes => 0
2758
+ },
2759
+ {
2760
+ :id => "m5ad.large",
2761
+ :name => "M5ad (AMD) Large",
2762
+ :bits => 64,
2763
+ :cores => 2,
2764
+ :ram => 8589,
2765
+ :disk => 75,
2766
+ :ebs_optimized_available => true,
2767
+ :instance_store_volumes => 0
2768
+ },
2769
+ {
2770
+ :id => "m5ad.xlarge",
2771
+ :name => "M5ad (AMD) Extra Large",
670
2772
  :bits => 64,
671
2773
  :cores => 4,
672
- :ram => 31232,
673
- :disk => 6000,
2774
+ :ram => 17179,
2775
+ :disk => 150,
674
2776
  :ebs_optimized_available => true,
675
- :instance_store_volumes => 3
2777
+ :instance_store_volumes => 0
676
2778
  },
677
2779
  {
678
- :id => "d2.2xlarge",
679
- :name => "D2 Double Extra Large",
2780
+ :id => "m5ad.2xlarge",
2781
+ :name => "M5ad (AMD) Double Extra Large",
680
2782
  :bits => 64,
681
2783
  :cores => 8,
682
- :ram => 62464,
683
- :disk => 12000,
2784
+ :ram => 34359,
2785
+ :disk => 300,
684
2786
  :ebs_optimized_available => true,
685
- :instance_store_volumes => 6
2787
+ :instance_store_volumes => 0
686
2788
  },
687
2789
  {
688
- :id => "d2.4xlarge",
689
- :name => "D2 Quadruple Extra Large",
2790
+ :id => "m5ad.4xlarge",
2791
+ :name => "M5ad (AMD) Quadruple Extra Large",
690
2792
  :bits => 64,
691
2793
  :cores => 16,
692
- :ram => 124928,
693
- :disk => 24000,
2794
+ :ram => 68719,
2795
+ :disk => 600,
694
2796
  :ebs_optimized_available => true,
695
- :instance_store_volumes => 12
2797
+ :instance_store_volumes => 0
696
2798
  },
697
2799
  {
698
- :id => "d2.8xlarge",
699
- :name => "D2 Eight Extra Large",
2800
+ :id => "m5ad.12xlarge",
2801
+ :name => "M5ad (AMD) Twelve Extra Large",
700
2802
  :bits => 64,
701
- :cores => 36,
702
- :ram => 249856,
703
- :disk => 48000,
2803
+ :cores => 48,
2804
+ :ram => 206158,
2805
+ :disk => 1800,
704
2806
  :ebs_optimized_available => true,
705
- :instance_store_volumes => 24
2807
+ :instance_store_volumes => 0
706
2808
  },
707
2809
  {
708
- :id => "m4.large",
709
- :name => "M4 Large",
2810
+ :id => "m5ad.24xlarge",
2811
+ :name => "M5ad (AMD) Twenty-four Extra Large",
2812
+ :bits => 64,
2813
+ :cores => 96,
2814
+ :ram => 412316,
2815
+ :disk => 3600,
2816
+ :ebs_optimized_available => true,
2817
+ :instance_store_volumes => 0
2818
+ },
2819
+ {
2820
+ :id => "m5n.large",
2821
+ :name => "M5n Large",
710
2822
  :bits => 64,
711
2823
  :cores => 2,
712
- :ram => 8192,
2824
+ :ram => 8590,
713
2825
  :disk => 0,
714
2826
  :ebs_optimized_available => true,
715
2827
  :instance_store_volumes => 0
716
2828
  },
717
2829
  {
718
- :id => "m4.xlarge",
719
- :name => "M4 Extra Large",
2830
+ :id => "m5n.xlarge",
2831
+ :name => "M5n Extra Large",
720
2832
  :bits => 64,
721
2833
  :cores => 4,
722
- :ram => 16384,
2834
+ :ram => 17180,
723
2835
  :disk => 0,
724
2836
  :ebs_optimized_available => true,
725
2837
  :instance_store_volumes => 0
726
2838
  },
727
2839
  {
728
- :id => "m4.2xlarge",
729
- :name => "M4 Double Extra Large",
2840
+ :id => "m5n.2xlarge",
2841
+ :name => "M5n Double Extra Large",
730
2842
  :bits => 64,
731
2843
  :cores => 8,
732
- :ram => 31232,
2844
+ :ram => 34360,
733
2845
  :disk => 0,
734
2846
  :ebs_optimized_available => true,
735
2847
  :instance_store_volumes => 0
736
2848
  },
737
2849
  {
738
- :id => "m4.4xlarge",
739
- :name => "M4 Quadruple Extra Large",
2850
+ :id => "m5n.4xlarge",
2851
+ :name => "M5n Quadruple Extra Large",
740
2852
  :bits => 64,
741
2853
  :cores => 16,
742
- :ram => 62464,
2854
+ :ram => 68719,
743
2855
  :disk => 0,
744
2856
  :ebs_optimized_available => true,
745
2857
  :instance_store_volumes => 0
746
2858
  },
747
2859
  {
748
- :id => "m4.10xlarge",
749
- :name => "M4 Ten Extra Large",
2860
+ :id => "m5n.8xlarge",
2861
+ :name => "M5n Octuple Extra Large",
750
2862
  :bits => 64,
751
- :cores => 40,
752
- :ram => 163840,
2863
+ :cores => 32,
2864
+ :ram => 137439,
753
2865
  :disk => 0,
754
2866
  :ebs_optimized_available => true,
755
2867
  :instance_store_volumes => 0
756
2868
  },
757
2869
  {
758
- :id => "m5.large",
759
- :name => "M5 Large",
2870
+ :id => "m5n.12xlarge",
2871
+ :name => "M5n Twelve Extra Large",
760
2872
  :bits => 64,
761
- :cores => 2,
762
- :ram => 8192,
2873
+ :cores => 48,
2874
+ :ram => 206158,
763
2875
  :disk => 0,
764
2876
  :ebs_optimized_available => true,
765
2877
  :instance_store_volumes => 0
766
2878
  },
767
2879
  {
768
- :id => "m5.xlarge",
769
- :name => "M5 Extra Large",
2880
+ :id => "m5n.16xlarge",
2881
+ :name => "M5n Sixteen Extra Large",
770
2882
  :bits => 64,
771
- :cores => 4,
772
- :ram => 16384,
2883
+ :cores => 64,
2884
+ :ram => 274878,
773
2885
  :disk => 0,
774
2886
  :ebs_optimized_available => true,
775
2887
  :instance_store_volumes => 0
776
2888
  },
777
2889
  {
778
- :id => "m5.2xlarge",
779
- :name => "M5 Double Extra Large",
2890
+ :id => "m5n.24xlarge",
2891
+ :name => "M5n Twenty-Four Extra Large",
780
2892
  :bits => 64,
781
- :cores => 8,
782
- :ram => 32768,
2893
+ :cores => 96,
2894
+ :ram => 412317,
783
2895
  :disk => 0,
784
2896
  :ebs_optimized_available => true,
785
2897
  :instance_store_volumes => 0
786
2898
  },
787
2899
  {
788
- :id => "m5.4xlarge",
789
- :name => "M5 Quadruple Extra Large",
2900
+ :id => "m5dn.large",
2901
+ :name => "M5dn Large",
2902
+ :bits => 64,
2903
+ :cores => 2,
2904
+ :ram => 8590,
2905
+ :disk => 75,
2906
+ :ebs_optimized_available => true,
2907
+ :instance_store_volumes => 1
2908
+ },
2909
+ {
2910
+ :id => "m5dn.xlarge",
2911
+ :name => "M5dn Extra Large",
2912
+ :bits => 64,
2913
+ :cores => 4,
2914
+ :ram => 17180,
2915
+ :disk => 150,
2916
+ :ebs_optimized_available => true,
2917
+ :instance_store_volumes => 1
2918
+ },
2919
+ {
2920
+ :id => "m5dn.2xlarge",
2921
+ :name => "M5dn Double Extra Large",
2922
+ :bits => 64,
2923
+ :cores => 8,
2924
+ :ram => 34360,
2925
+ :disk => 300,
2926
+ :ebs_optimized_available => true,
2927
+ :instance_store_volumes => 1
2928
+ },
2929
+ {
2930
+ :id => "m5dn.4xlarge",
2931
+ :name => "M5dn Quadruple Extra Large",
790
2932
  :bits => 64,
791
2933
  :cores => 16,
792
- :ram => 65536,
793
- :disk => 0,
2934
+ :ram => 68719,
2935
+ :disk => 600,
794
2936
  :ebs_optimized_available => true,
795
- :instance_store_volumes => 0
2937
+ :instance_store_volumes => 2
796
2938
  },
797
2939
  {
798
- :id => "m5.12xlarge",
799
- :name => "M5 Twelve Extra Large",
2940
+ :id => "m5dn.8xlarge",
2941
+ :name => "M5dn Octuple Extra Large",
2942
+ :bits => 64,
2943
+ :cores => 32,
2944
+ :ram => 137439,
2945
+ :disk => 1200,
2946
+ :ebs_optimized_available => true,
2947
+ :instance_store_volumes => 2
2948
+ },
2949
+ {
2950
+ :id => "m5dn.12xlarge",
2951
+ :name => "M5dn Twelve Extra Large",
800
2952
  :bits => 64,
801
2953
  :cores => 48,
802
- :ram => 196608,
803
- :disk => 0,
2954
+ :ram => 206158,
2955
+ :disk => 1800,
804
2956
  :ebs_optimized_available => true,
805
- :instance_store_volumes => 0
2957
+ :instance_store_volumes => 2
806
2958
  },
807
2959
  {
808
- :id => "m5.24xlarge",
809
- :name => "M5 Twenty Four Extra Large",
2960
+ :id => "m5dn.16xlarge",
2961
+ :name => "M5dn Sixteen Extra Large",
2962
+ :bits => 64,
2963
+ :cores => 64,
2964
+ :ram => 274878,
2965
+ :disk => 2400,
2966
+ :ebs_optimized_available => true,
2967
+ :instance_store_volumes => 4
2968
+ },
2969
+ {
2970
+ :id => "m5dn.24xlarge",
2971
+ :name => "M5dn Twenty-Four Extra Large",
810
2972
  :bits => 64,
811
2973
  :cores => 96,
812
- :ram => 393216,
813
- :disk => 0,
2974
+ :ram => 412317,
2975
+ :disk => 3600,
814
2976
  :ebs_optimized_available => true,
815
- :instance_store_volumes => 0
2977
+ :instance_store_volumes => 4
816
2978
  },
817
2979
  {
818
2980
  :id => "p2.xlarge",
819
2981
  :name => "General Purpose GPU Extra Large",
820
2982
  :bits => 64,
821
- :cores => 2496,
2983
+ :cores => 4,
822
2984
  :ram => 65498,
823
2985
  :disk => 0,
824
2986
  :ebs_optimized_available => true,
@@ -828,7 +2990,7 @@ module Fog
828
2990
  :id => "p2.8xlarge",
829
2991
  :name => "General Purpose GPU Eight Extra Large",
830
2992
  :bits => 64,
831
- :cores => 19968,
2993
+ :cores => 32,
832
2994
  :ram => 523986,
833
2995
  :disk => 0,
834
2996
  :ebs_optimized_available => true,
@@ -838,7 +3000,7 @@ module Fog
838
3000
  :id => "p2.16xlarge",
839
3001
  :name => "General Purpose GPU Sixteen Extra Large",
840
3002
  :bits => 64,
841
- :cores => 39936,
3003
+ :cores => 64,
842
3004
  :ram => 785979,
843
3005
  :disk => 0,
844
3006
  :ebs_optimized_available => true,
@@ -848,8 +3010,8 @@ module Fog
848
3010
  :id => "p3.2xlarge",
849
3011
  :name => "Tesla GPU Two Extra Large",
850
3012
  :bits => 64,
851
- :cores => 5120,
852
- :ram => 6100,
3013
+ :cores => 8,
3014
+ :ram => 65498,
853
3015
  :disk => 0,
854
3016
  :ebs_optimized_available => true,
855
3017
  :instance_store_volumes => 0
@@ -858,8 +3020,8 @@ module Fog
858
3020
  :id => "p3.8xlarge",
859
3021
  :name => "Tesla GPU Eight Extra Large",
860
3022
  :bits => 64,
861
- :cores => 204080,
862
- :ram => 244000,
3023
+ :cores => 32,
3024
+ :ram => 261993,
863
3025
  :disk => 0,
864
3026
  :ebs_optimized_available => true,
865
3027
  :instance_store_volumes => 0
@@ -868,9 +3030,69 @@ module Fog
868
3030
  :id => "p3.16xlarge",
869
3031
  :name => "Tesla GPU Sixteen Extra Large",
870
3032
  :bits => 64,
871
- :cores => 408160,
872
- :ram => 488000,
3033
+ :cores => 64,
3034
+ :ram => 523986,
3035
+ :disk => 0,
3036
+ :ebs_optimized_available => true,
3037
+ :instance_store_volumes => 0
3038
+ },
3039
+ {
3040
+ :id => "p3dn.24xlarge",
3041
+ :name => "Tesla GPU Twenty-four Extra Large",
3042
+ :bits => 64,
3043
+ :cores => 96,
3044
+ :ram => 824634,
3045
+ :disk => 1800,
3046
+ :ebs_optimized_available => true,
3047
+ :instance_store_volumes => 2
3048
+ },
3049
+ {
3050
+ :id => 'inf1.xlarge',
3051
+ :name => 'Inf1 Extra Large',
3052
+ :bits => 64,
3053
+ :cores => 4,
3054
+ :disk => 0,
3055
+ :ram => 8590,
3056
+ :ebs_optimized_available => true,
3057
+ :instance_store_volumes => 0
3058
+ },
3059
+ {
3060
+ :id => 'inf1.2xlarge',
3061
+ :name => 'Inf1 Double xtra Large',
3062
+ :bits => 64,
3063
+ :cores => 8,
3064
+ :disk => 0,
3065
+ :ram => 17180,
3066
+ :ebs_optimized_available => true,
3067
+ :instance_store_volumes => 0
3068
+ },
3069
+ {
3070
+ :id => 'inf1.6xlarge',
3071
+ :name => 'Inf1 Sextuple Extra Large',
3072
+ :bits => 64,
3073
+ :cores => 24,
3074
+ :disk => 0,
3075
+ :ram => 51540,
3076
+ :ebs_optimized_available => true,
3077
+ :instance_store_volumes => 0
3078
+ },
3079
+ {
3080
+ :id => 'inf1.24xlarge',
3081
+ :name => 'Inf1 Twenty-four Extra Large',
3082
+ :bits => 64,
3083
+ :cores => 96,
3084
+ :disk => 0,
3085
+ :ram => 206158,
3086
+ :ebs_optimized_available => true,
3087
+ :instance_store_volumes => 0
3088
+ },
3089
+ {
3090
+ :id => 'g3s.xlarge',
3091
+ :name => 'G3s Extra Large',
3092
+ :bits => 64,
3093
+ :cores => 4,
873
3094
  :disk => 0,
3095
+ :ram => 32749,
874
3096
  :ebs_optimized_available => true,
875
3097
  :instance_store_volumes => 0
876
3098
  },
@@ -880,7 +3102,7 @@ module Fog
880
3102
  :bits => 64,
881
3103
  :cores => 16,
882
3104
  :disk => 0,
883
- :ram => 124928,
3105
+ :ram => 130996,
884
3106
  :ebs_optimized_available => true,
885
3107
  :instance_store_volumes => 0
886
3108
  },
@@ -890,7 +3112,7 @@ module Fog
890
3112
  :bits => 64,
891
3113
  :cores => 32,
892
3114
  :disk => 0,
893
- :ram => 249856,
3115
+ :ram => 261993,
894
3116
  :ebs_optimized_available => true,
895
3117
  :instance_store_volumes => 0
896
3118
  },
@@ -900,14 +3122,114 @@ module Fog
900
3122
  :bits => 64,
901
3123
  :cores => 64,
902
3124
  :disk => 0,
903
- :ram => 499712,
3125
+ :ram => 523986,
904
3126
  :ebs_optimized_available => true,
905
3127
  :instance_store_volumes => 0
3128
+ },
3129
+ {
3130
+ :id => 'g3dn.xlarge',
3131
+ :name => 'G3dn Extra Large',
3132
+ :bits => 64,
3133
+ :cores => 4,
3134
+ :disk => 125,
3135
+ :ram => 171780,
3136
+ :ebs_optimized_available => true,
3137
+ :instance_store_volumes => 1
3138
+ },
3139
+ {
3140
+ :id => 'g3dn.2xlarge',
3141
+ :name => 'G3dn Double Extra Large',
3142
+ :bits => 64,
3143
+ :cores => 8,
3144
+ :disk => 225,
3145
+ :ram => 34360,
3146
+ :ebs_optimized_available => true,
3147
+ :instance_store_volumes => 1
3148
+ },
3149
+ {
3150
+ :id => 'g3dn.4xlarge',
3151
+ :name => 'G3dn Quadruple Extra Large',
3152
+ :bits => 64,
3153
+ :cores => 16,
3154
+ :disk => 225,
3155
+ :ram => 68719,
3156
+ :ebs_optimized_available => true,
3157
+ :instance_store_volumes => 1
3158
+ },
3159
+ {
3160
+ :id => 'g3dn.8xlarge',
3161
+ :name => 'G3dn Octuple Extra Large',
3162
+ :bits => 64,
3163
+ :cores => 32,
3164
+ :disk => 900,
3165
+ :ram => 137439,
3166
+ :ebs_optimized_available => true,
3167
+ :instance_store_volumes => 1
3168
+ },
3169
+ {
3170
+ :id => 'g3dn.16xlarge',
3171
+ :name => 'G3dn Sixteen Extra Large',
3172
+ :bits => 64,
3173
+ :cores => 64,
3174
+ :disk => 900,
3175
+ :ram => 274878,
3176
+ :ebs_optimized_available => true,
3177
+ :instance_store_volumes => 1
3178
+ },
3179
+ {
3180
+ :id => 'g3dn.12xlarge',
3181
+ :name => 'G3dn Twelve Extra Large (4GPU)',
3182
+ :bits => 64,
3183
+ :cores => 48,
3184
+ :disk => 900,
3185
+ :ram => 206158,
3186
+ :ebs_optimized_available => true,
3187
+ :instance_store_volumes => 1
3188
+ },
3189
+ {
3190
+ :id => 'g3dn.metal',
3191
+ :name => 'G3dn Metal (8GPU)',
3192
+ :bits => 64,
3193
+ :cores => 96,
3194
+ :disk => 1800,
3195
+ :ram => 412317,
3196
+ :ebs_optimized_available => true,
3197
+ :instance_store_volumes => 2
3198
+ },
3199
+ {
3200
+ :id => 'f1.2xlarge',
3201
+ :name => 'F1 Double Extra Large',
3202
+ :bits => 64,
3203
+ :cores => 8,
3204
+ :disk => 470,
3205
+ :ram => 130997,
3206
+ :ebs_optimized_available => true,
3207
+ :instance_store_volumes => 1
3208
+ },
3209
+ {
3210
+ :id => 'f1.4xlarge',
3211
+ :name => 'F1 Quadruple Extra Large',
3212
+ :bits => 64,
3213
+ :cores => 16,
3214
+ :disk => 940,
3215
+ :ram => 261993,
3216
+ :ebs_optimized_available => true,
3217
+ :instance_store_volumes => 1
3218
+ },
3219
+ {
3220
+ :id => 'f1.16xlarge',
3221
+ :name => 'F1 Sixteen Extra Large',
3222
+ :bits => 64,
3223
+ :cores => 64,
3224
+ :disk => 3760,
3225
+ :ram => 1047972,
3226
+ :ebs_optimized_available => true,
3227
+ :instance_store_volumes => 4
906
3228
  }
907
3229
  ]
908
3230
 
909
3231
  class Flavors < Fog::Collection
910
- model Fog::Compute::AWS::Flavor
3232
+ model Fog::AWS::Compute::Flavor
911
3233
 
912
3234
  # Returns an array of all flavors that have been created
913
3235
  #
@@ -1031,7 +3353,7 @@ module Fog
1031
3353
  # ebs_optimized_available=false,
1032
3354
  # instance_store_volumes=0
1033
3355
  # >,
1034
- # <Fog::Compute::AWS::Flavor
3356
+ # <Fog::AWS::Compute::Flavor
1035
3357
  # id="m3.xlarge",
1036
3358
  # bits=64,
1037
3359
  # cores=13,
@@ -1041,7 +3363,7 @@ module Fog
1041
3363
  # ebs_optimized_available=true,
1042
3364
  # instance_store_volumes=2
1043
3365
  # >,
1044
- # <Fog::Compute::AWS::Flavor
3366
+ # <Fog::AWS::Compute::Flavor
1045
3367
  # id="m3.2xlarge",
1046
3368
  # bits=64,
1047
3369
  # cores=26,
@@ -1076,7 +3398,7 @@ module Fog
1076
3398
  #
1077
3399
 
1078
3400
  def all
1079
- load(Fog::Compute::AWS::FLAVORS)
3401
+ load(Fog::AWS::Compute::FLAVORS)
1080
3402
  self
1081
3403
  end
1082
3404