amazon-pricing 0.1.136 → 0.1.137
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/Jenkinsfile +1 -1
- data/lib/amazon-pricing/definitions/ec2-instance-type.rb +24 -13
- data/lib/amazon-pricing/definitions/instance-type.rb +47 -26
- data/lib/amazon-pricing/ec2-dhi-price-list.rb +5 -3
- data/lib/amazon-pricing/helpers/instance-type.rb +5 -1
- data/lib/amazon-pricing/version.rb +1 -1
- metadata +9 -10
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZmUzZjE3Yzg1MDNiOGFiNTU0YmNmYTY2ZmU1MWIyODA2YzQ1YTlhOQ==
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 790677a6fedb03b64e29ead8d2b34797f62d1fdb9b75a9bb97c5a1f0768be3ce
|
4
|
+
data.tar.gz: 450f608cf9fa1a5561751ec78ae4e2f526fbf7bddd20921c64c09515ef43fad8
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NTUwMTFkNTcxYzk1MGExNDBiMzExMTJjZDUyNzU3MmZkODdlZTRlODM0NmM5
|
11
|
-
ZGRhYmY1YTk0Y2RmNGVhMTU5YmZhMmE3YjRiNDViMjc3ZDI2Yjc=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MzZjOWI5ZDY2ZTEyOTVlYjZjN2Q4YTcyYmE0ODlkNjQxOTdmODRjZjkyMDU5
|
14
|
-
YTU1OGRlZGYyMWVjNWQ4OGMxOGRmNGVhNjhlYmJmZGU5ZWMzNjU1MzE5OTdh
|
15
|
-
ZTE5ZWVmNTI2ZjllOWE1ZjFiNzhjMDI4Y2I0ZTE5ZDIzNTAzZTE=
|
6
|
+
metadata.gz: 9d77ffe49ee02ecf7eed4d1975d9674ea9dd9517c0a89f34d00d7d6dd3aaba01423de97cd447bd3da5dc0bf8d9c876c2858c2f7922bf17bdcc596c19f103785b
|
7
|
+
data.tar.gz: da3d551b86923b73c770fe01decff12ff11d82e9736302fbd3beb39027472e20c12883c8180f0dd09d60826b02923ceed653fd12e8fa436cc5656d8893715ade
|
data/Jenkinsfile
CHANGED
@@ -394,6 +394,18 @@ module AwsPricing
|
|
394
394
|
'm5d.12xlarge' => :ten_gigabit,
|
395
395
|
'm5d.24xlarge' => :twentyfive_gigabit,
|
396
396
|
'm5d.metal' => :twentyfive_gigabit,
|
397
|
+
'm5a.large' => :ten_gigabit, # upto 10G
|
398
|
+
'm5a.xlarge' => :ten_gigabit, # upto 10G
|
399
|
+
'm5a.2xlarge' => :ten_gigabit, # upto 10G
|
400
|
+
'm5a.4xlarge' => :ten_gigabit, # upto 10G
|
401
|
+
'm5a.12xlarge' => :ten_gigabit,
|
402
|
+
'm5a.24xlarge' => :twenty_gigabit,
|
403
|
+
'm5ad.large' => :ten_gigabit, # upto 10G
|
404
|
+
'm5ad.xlarge' => :ten_gigabit, # upto 10G
|
405
|
+
'm5ad.2xlarge' => :ten_gigabit, # upto 10G
|
406
|
+
'm5ad.4xlarge' => :ten_gigabit, # upto 10G
|
407
|
+
'm5ad.12xlarge' => :ten_gigabit,
|
408
|
+
'm5ad.24xlarge' => :twenty_gigabit,
|
397
409
|
'p2.xlarge' => :high,
|
398
410
|
'p2.8xlarge' => :ten_gigabit,
|
399
411
|
'p2.16xlarge' => :twenty_gigabit,
|
@@ -426,6 +438,18 @@ module AwsPricing
|
|
426
438
|
'r5d.12xlarge' => :ten_gigabit,
|
427
439
|
'r5d.24xlarge' => :twentyfive_gigabit,
|
428
440
|
'r5d.metal' => :twentyfive_gigabit,
|
441
|
+
'r5a.large' => :ten_gigabit, # upto 10G
|
442
|
+
'r5a.xlarge' => :ten_gigabit, # upto 10G
|
443
|
+
'r5a.2xlarge' => :ten_gigabit, # upto 10G
|
444
|
+
'r5a.4xlarge' => :ten_gigabit, # upto 10G
|
445
|
+
'r5a.12xlarge' => :ten_gigabit,
|
446
|
+
'r5a.24xlarge' => :twenty_gigabit,
|
447
|
+
'r5ad.large' => :ten_gigabit, # upto 10G
|
448
|
+
'r5ad.xlarge' => :ten_gigabit, # upto 10G
|
449
|
+
'r5ad.2xlarge' => :ten_gigabit, # upto 10G
|
450
|
+
'r5ad.4xlarge' => :ten_gigabit, # upto 10G
|
451
|
+
'r5ad.12xlarge' => :ten_gigabit,
|
452
|
+
'r5ad.24xlarge' => :twenty_gigabit,
|
429
453
|
't1.micro' => :very_low,
|
430
454
|
't2.large' => :low_to_moderate,
|
431
455
|
't2.medium' => :low_to_moderate,
|
@@ -456,22 +480,9 @@ module AwsPricing
|
|
456
480
|
'z1d.6xlarge' => :ten_gigabit,
|
457
481
|
'z1d.12xlarge' => :twentyfive_gigabit,
|
458
482
|
'z1d.metal' => :twentyfive_gigabit,
|
459
|
-
'm5a.large' => :ten_gigabit, # upto 10G
|
460
|
-
'm5a.xlarge' => :ten_gigabit, # upto 10G
|
461
|
-
'm5a.2xlarge' => :ten_gigabit, # upto 10G
|
462
|
-
'm5a.4xlarge' => :ten_gigabit, # upto 10G
|
463
|
-
'm5a.12xlarge' => :ten_gigabit,
|
464
|
-
'm5a.24xlarge' => :twenty_gigabit,
|
465
|
-
'r5a.large' => :ten_gigabit, # upto 10G
|
466
|
-
'r5a.xlarge' => :ten_gigabit, # upto 10G
|
467
|
-
'r5a.2xlarge' => :ten_gigabit, # upto 10G
|
468
|
-
'r5a.4xlarge' => :ten_gigabit, # upto 10G
|
469
|
-
'r5a.12xlarge' => :ten_gigabit,
|
470
|
-
'r5a.24xlarge' => :twenty_gigabit,
|
471
483
|
'u-6tb1.metal' => :twentyfive_gigabit,
|
472
484
|
'u-9tb1.metal' => :twentyfive_gigabit,
|
473
485
|
'u-12tb1.metal' => :twentyfive_gigabit,
|
474
|
-
|
475
486
|
}
|
476
487
|
|
477
488
|
end
|
@@ -7,6 +7,7 @@
|
|
7
7
|
# License:: Distributes under the same terms as Ruby
|
8
8
|
# Home:: http://github.com/CloudHealth/amazon-pricing
|
9
9
|
#++
|
10
|
+
|
10
11
|
module AwsPricing
|
11
12
|
|
12
13
|
class UnknownTypeError < NameError
|
@@ -197,10 +198,12 @@ module AwsPricing
|
|
197
198
|
'm5.4xlarge' => 'M5 Quadruple Extra Large Instance', 'm5.12xlarge' => 'M5 12XL Instance',
|
198
199
|
'm5.24xlarge' => 'M5 24XL Instance',
|
199
200
|
'm5.metal' => 'M5 Metal Instance',
|
201
|
+
'm5a.large' => 'General Purpose M5A Large', 'm5a.xlarge' => 'General Purpose M5A Extra Large', 'm5a.2xlarge' => 'General Purpose M5A Double Extra Large', 'm5a.4xlarge' => 'General Purpose M5A Quadruple Extra Large',
|
202
|
+
'm5a.12xlarge' => 'General Purpose M5A Twelve Extra Large', 'm5a.24xlarge' => 'General Purpose M5A Twenty Four Extra Large',
|
200
203
|
'm5d.large' => 'M5d Large Instance', 'm5d.xlarge' => 'M5d Extra Large Instance', 'm5d.2xlarge' => 'M5d Double Extra Large Instance',
|
201
|
-
'm5d.4xlarge' => 'M5d Quadruple Extra Large Instance', 'm5d.12xlarge' => 'M5d 12XL Instance',
|
202
|
-
'
|
203
|
-
|
204
|
+
'm5d.4xlarge' => 'M5d Quadruple Extra Large Instance', 'm5d.12xlarge' => 'M5d 12XL Instance', 'm5d.24xlarge' => 'M5d 24XL Instance', 'm5d.metal' => 'M5d Metal Instance',
|
205
|
+
'm5ad.large' => 'General Purpose M5AD Large', 'm5ad.xlarge' => 'General Purpose M5AD Extra Large', 'm5ad.2xlarge' => 'General Purpose M5AD Double Extra Large', 'm5ad.4xlarge' => 'General Purpose M5AD Quadruple Extra Large',
|
206
|
+
'm5ad.12xlarge' => 'General Purpose M5AD Twelve Extra Large', 'm5ad.24xlarge' => 'General Purpose M5AD Twenty Four Extra Large',
|
204
207
|
'c1.medium' => 'High-CPU Medium', 'c1.xlarge' => 'High-CPU Extra Large',
|
205
208
|
'hi1.4xlarge' => 'High I/O Quadruple Extra Large',
|
206
209
|
'cg1.4xlarge' => 'Cluster GPU Quadruple Extra Large',
|
@@ -229,8 +232,12 @@ module AwsPricing
|
|
229
232
|
'r4.8xlarge' => 'Memory Optimized Eight Extra Large Enterprise', 'r4.16xlarge' => 'Memory Optimized Hextuple Extra Large Enterprise',
|
230
233
|
'r5.large' => 'Memory Optimized Large', 'r5.xlarge' => 'Memory Optimized Extra Large', 'r5.2xlarge' => 'Memory Optimized Double Extra Large', 'r5.4xlarge' => 'Memory Optimized Quadruple Extra Large', 'r5.12xlarge' => 'Memory Optimized Twelve Extra Large',
|
231
234
|
'r5.24xlarge' => 'Memory Optimized Twenty Four Extra Large', 'r5.metal'=> 'Memory Optimized Metal',
|
235
|
+
'r5a.large' => 'Memory Optimized R5A Large', 'r5a.xlarge' => 'Memory Optimized R5A Extra Large', 'r5a.2xlarge' => 'Memory Optimized R5A Double Extra Large', 'r5a.4xlarge' => 'Memory Optimized R5A Quadruple Extra Large',
|
236
|
+
'r5a.12xlarge' => 'Memory Optimized R5A Twelve Extra Large', 'r5a.24xlarge' => 'Memory Optimized R5A Twenty Four Extra Large',
|
232
237
|
'r5d.large' => 'Memory Optimized Large', 'r5d.xlarge' => 'Memory Optimized Extra Large', 'r5d.2xlarge' => 'Memory Optimized Double Extra Large', 'r5d.4xlarge' => 'Memory Optimized Quadruple Extra Large', 'r5d.12xlarge' => 'Memory Optimized Twelve Extra Large',
|
233
238
|
'r5d.24xlarge' => 'Memory Optimized Twenty Four Extra Large', 'r5d.metal' => 'Memory Optimized Metal',
|
239
|
+
'r5ad.large' => 'Memory Optimized R5AD Large', 'r5ad.xlarge' => 'Memory Optimized R5AD Extra Large', 'r5ad.2xlarge' => 'Memory Optimized R5AD Double Extra Large', 'r5ad.4xlarge' => 'Memory Optimized R5AD Quadruple Extra Large',
|
240
|
+
'r5ad.12xlarge' => 'Memory Optimized R5AD Twelve Extra Large', 'r5ad.24xlarge' => 'Memory Optimized R5AD Twenty Four Extra Large',
|
234
241
|
't2.nano' => 'Burstable Performance Instance Nano', 't2.micro' => 'Burstable Performance Instance Micro', 't2.small' => 'Burstable Performance Instance Small', 't2.medium' => 'Burstable Performance Instance Medium', 't2.large' => 'Burstable Performance Instance Large',
|
235
242
|
't2.xlarge' => 'Burstable Performance Instance Extra Large', 't2.2xlarge' => 'Burstable Performance Instance Double Extra Large',
|
236
243
|
't3.nano' => 'Burstable Performance Instance Nano', 't3.micro' => 'Burstable Performance Instance Micro', 't3.small' => 'Burstable Performance Instance Small', 't3.medium' => 'Burstable Performance Instance Medium', 't3.large' => 'Burstable Performance Instance Large',
|
@@ -254,10 +261,6 @@ module AwsPricing
|
|
254
261
|
'f1.2xlarge' => 'FPGA Hardware Acceleration Double Extra Large', 'f1.4xlarge' => 'FPGA Hardware Acceleration Quadruple Extra Large', 'f1.16xlarge' => 'FPGA Hardware Acceleration Hextuple Extra Large',
|
255
262
|
'z1d.large' => 'Memory Optimized Z1D Large', 'z1d.xlarge' => 'Memory Optimized Z1D Extra large', 'z1d.2xlarge' => 'Memory Optimized Z1D Double Extra Large', 'z1d.3xlarge' => 'Memory Optimized Z1D Triple Extra Large',
|
256
263
|
'z1d.6xlarge' => 'Memory Optimized Z1D 6 Extra Large', 'z1d.12xlarge' => 'Memory Optimized Z1D 12 Extra Large', 'z1d.metal' => 'Memory Optimized Z1D Metal',
|
257
|
-
'm5a.large' => 'General Purpose M5A Large', 'm5a.xlarge' => 'General Purpose M5A Extra Large', 'm5a.2xlarge' => 'General Purpose M5A Double Extra Large', 'm5a.4xlarge' => 'General Purpose M5A Quadruple Extra Large',
|
258
|
-
'm5a.12xlarge' => 'General Purpose M5A Twelve Extra Large', 'm5a.24xlarge' => 'General Purpose M5A Twenty Four Extra Large',
|
259
|
-
'r5a.large' => 'Memory Optimized R5A Large', 'r5a.xlarge' => 'Memory Optimized R5A Extra Large', 'r5a.2xlarge' => 'Memory Optimized R5A Double Extra Large', 'r5a.4xlarge' => 'Memory Optimized R5A Quadruple Extra Large',
|
260
|
-
'r5a.12xlarge' => 'Memory Optimized R5A Twelve Extra Large', 'r5a.24xlarge' => 'Memory Optimized R5A Twenty Four Extra Large',
|
261
264
|
'u-6tb1.metal' => "Memory Optimized u-6tb1 Metal",
|
262
265
|
'u-9tb1.metal' => "Memory Optimized u-9tb1 Metal",
|
263
266
|
'u-12tb1.metal' => "Memory Optimized u-12tb1 Metal",
|
@@ -270,6 +273,8 @@ module AwsPricing
|
|
270
273
|
'm4.large' => 0, 'm4.xlarge' => 0, 'm4.2xlarge' => 0, 'm4.4xlarge' => 0, 'm4.10xlarge' => 0, 'm4.16xlarge' => 0,
|
271
274
|
'm5.large' => 0, 'm5.xlarge' => 0, 'm5.2xlarge' => 0, 'm5.4xlarge' => 0, 'm5.12xlarge' => 0, 'm5.24xlarge' => 0, 'm5.metal' => 0,
|
272
275
|
'm5d.large' =>75, 'm5d.xlarge' => 150, 'm5d.2xlarge' => 300, 'm5d.4xlarge' => 600, 'm5d.12xlarge' => 1800, 'm5d.24xlarge' => 3600, 'm5d.metal' => 3600,
|
276
|
+
'm5a.large' => 0, 'm5a.xlarge' => 0, 'm5a.2xlarge' => 0, 'm5a.4xlarge' => 0, 'm5a.12xlarge' => 0, 'm5a.24xlarge' => 0, #ebs-only
|
277
|
+
'm5ad.large' => 75, 'm5ad.xlarge' => 150, 'm5ad.2xlarge' => 300, 'm5ad.4xlarge' => 600, 'm5ad.12xlarge' => 1800, 'm5ad.24xlarge' => 3600, #NVMe
|
273
278
|
'c1.medium' => 350, 'c1.xlarge' => 1680,
|
274
279
|
'hi1.4xlarge' => 2048,
|
275
280
|
'cg1.4xlarge' => 1690,
|
@@ -293,7 +298,9 @@ module AwsPricing
|
|
293
298
|
'r3.large' => 32, 'r3.xlarge' => 80, 'r3.2xlarge' => 160, 'r3.4xlarge' => 320, 'r3.8xlarge' => 640,
|
294
299
|
'r4.large' => 0, 'r4.xlarge' => 0, 'r4.2xlarge' => 0, 'r4.4xlarge' => 0, 'r4.8xlarge' => 0, 'r4.16xlarge' => 0,
|
295
300
|
'r5.large' => 0, 'r5.xlarge' => 0, 'r5.2xlarge' => 0, 'r5.4xlarge' => 0, 'r5.12xlarge' => 0, 'r5.24xlarge' => 0, 'r5.metal' => 0, # ebs-optimized
|
301
|
+
'r5a.large' => 0, 'r5a.xlarge' => 0, 'r5a.2xlarge' => 0, 'r5a.4xlarge' => 0, 'r5a.12xlarge' => 0, 'r5a.24xlarge' => 0, #ebs-only
|
296
302
|
'r5d.large' => 75, 'r5d.xlarge' => 150, 'r5d.2xlarge' => 300, 'r5d.4xlarge' => 600, 'r5d.12xlarge' => 1800, 'r5d.24xlarge' => 3600, 'r5d.metal' => 3600, #NVMe
|
303
|
+
'r5ad.large' => 75, 'r5ad.xlarge' => 150, 'r5ad.2xlarge' => 300, 'r5ad.4xlarge' => 600, 'r5ad.12xlarge' => 1800, 'r5ad.24xlarge' => 3200, # NVMe
|
297
304
|
't2.nano' => 0, 't2.micro' => 0, 't2.small' => 0, 't2.medium' => 0, 't2.large' => 0, 't2.xlarge' => 0, 't2.2xlarge' => 0,
|
298
305
|
't3.nano' => 0, 't3.micro' => 0, 't3.small' => 0, 't3.medium' => 0, 't3.large' => 0, 't3.xlarge' => 0, 't3.2xlarge' => 0, #ebs-only
|
299
306
|
'c4.large' => 0, 'c4.xlarge' => 0, 'c4.2xlarge' => 0, 'c4.4xlarge' => 0, 'c4.8xlarge' => 0,
|
@@ -307,8 +314,6 @@ module AwsPricing
|
|
307
314
|
'p3dn.24xlarge' => 1800,
|
308
315
|
'f1.2xlarge' => 470, 'f1.4xlarge' => 940, 'f1.16xlarge' => 3760,
|
309
316
|
'z1d.large' => 75, 'z1d.xlarge' => 150, 'z1d.2xlarge' => 300, 'z1d.3xlarge' => 450, 'z1d.6xlarge' => 900, 'z1d.12xlarge' => 1800, 'z1d.metal' => 1800, # NVMe
|
310
|
-
'm5a.large' => 0, 'm5a.xlarge' => 0, 'm5a.2xlarge' => 0, 'm5a.4xlarge' => 0, 'm5a.12xlarge' => 0, 'm5a.24xlarge' => 0, #ebs-only
|
311
|
-
'r5a.large' => 0, 'r5a.xlarge' => 0, 'r5a.2xlarge' => 0, 'r5a.4xlarge' => 0, 'r5a.12xlarge' => 0, 'r5a.24xlarge' => 0, #ebs-only
|
312
317
|
'u-6tb1.metal' => 0, #ebs-only
|
313
318
|
'u-9tb1.metal' => 0, #ebs-only
|
314
319
|
'u-12tb1.metal' => 0, #ebs-only
|
@@ -321,6 +326,8 @@ module AwsPricing
|
|
321
326
|
'm4.large' => 64, 'm4.xlarge' => 64, 'm4.2xlarge' => 64, 'm4.4xlarge' => 64, 'm4.10xlarge' => 64, 'm4.16xlarge' => 64,
|
322
327
|
'm5.large' => 64, 'm5.xlarge' => 64, 'm5.2xlarge' => 64, 'm5.4xlarge' => 64, 'm5.12xlarge' => 64, 'm5.24xlarge' => 64,
|
323
328
|
'm5d.large' => 64, 'm5d.xlarge' => 64, 'm5d.2xlarge' => 64, 'm5d.4xlarge' => 64, 'm5d.12xlarge' => 64, 'm5d.24xlarge' => 64, 'm5d.metal' => 64,
|
329
|
+
'm5a.large' => 64, 'm5a.xlarge' => 64, 'm5a.2xlarge' => 64, 'm5a.4xlarge' => 64, 'm5a.12xlarge' => 64, 'm5a.24xlarge' => 64,
|
330
|
+
'm5ad.large' => 64, 'm5ad.xlarge' => 64, 'm5ad.2xlarge' => 64, 'm5ad.4xlarge' => 64, 'm5ad.12xlarge' => 65, 'm5ad.24xlarge' => 64,
|
324
331
|
'c1.medium' => 32, 'c1.xlarge' => 64,
|
325
332
|
'hi1.4xlarge' => 64,
|
326
333
|
'cg1.4xlarge' => 64,
|
@@ -345,6 +352,8 @@ module AwsPricing
|
|
345
352
|
'r4.large' => 64, 'r4.xlarge' => 64, 'r4.2xlarge' => 64, 'r4.4xlarge' => 64, 'r4.8xlarge' => 64, 'r4.16xlarge' => 64,
|
346
353
|
'r5.large' => 64, 'r5.xlarge' => 64, 'r5.2xlarge' => 64, 'r5.4xlarge' => 64, 'r5.12xlarge' => 64, 'r5.24xlarge' => 64, 'r5.metal' => 64,
|
347
354
|
'r5d.large' => 64, 'r5d.xlarge' => 64, 'r5d.2xlarge' => 64, 'r5d.4xlarge' => 64, 'r5d.12xlarge' => 64, 'r5d.24xlarge' => 64, 'r5d.metal' => 64,
|
355
|
+
'r5a.large' => 64, 'r5a.xlarge' => 64, 'r5a.2xlarge' => 64, 'r5a.4xlarge' => 64, 'r5a.12xlarge' => 64, 'r5a.24xlarge' => 64,
|
356
|
+
'r5ad.large' => 64, 'r5ad.xlarge' => 64, 'r5ad.2xlarge' => 64, 'r5ad.4xlarge' => 64, 'r5ad.12xlarge' => 64, 'r5ad.24xlarge' => 64,
|
348
357
|
't2.nano' => 64, 't2.micro' => 64, 't2.small' => 64, 't2.medium' => 64, 't2.large' => 64, 't2.xlarge' => 64, 't2.2xlarge' => 64,
|
349
358
|
't3.nano' => 64, 't3.micro' => 64, 't3.small' => 64, 't3.medium' => 64, 't3.large' => 64, 't3.xlarge' => 64, 't3.2xlarge' => 64,
|
350
359
|
'c4.large' => 64, 'c4.xlarge' => 64, 'c4.2xlarge' => 64, 'c4.4xlarge' => 64, 'c4.8xlarge' => 64,
|
@@ -357,8 +366,6 @@ module AwsPricing
|
|
357
366
|
'p3.2xlarge' => 64, 'p3.8xlarge' => 64, 'p3.16xlarge' => 64,
|
358
367
|
'p3dn.24xlarge' => 64,
|
359
368
|
'z1d.large' => 64, 'z1d.xlarge' => 64, 'z1d.2xlarge' => 64, 'z1d.3xlarge' => 64, 'z1d.6xlarge' => 64, 'z1d.12xlarge' => 64, 'z1d.metal' => 64,
|
360
|
-
'm5a.large' => 64, 'm5a.xlarge' => 64, 'm5a.2xlarge' => 64, 'm5a.4xlarge' => 64, 'm5a.12xlarge' => 64, 'm5a.24xlarge' => 64,
|
361
|
-
'r5a.large' => 64, 'r5a.xlarge' => 64, 'r5a.2xlarge' => 64, 'r5a.4xlarge' => 64, 'r5a.12xlarge' => 64, 'r5a.24xlarge' => 64,
|
362
369
|
'u-6tb1.metal' => 64,
|
363
370
|
'u-9tb1.metal' => 64,
|
364
371
|
'u-12tb1.metal' => 64,
|
@@ -371,6 +378,8 @@ module AwsPricing
|
|
371
378
|
'm4.large' => :ebs, 'm4.xlarge' => :ebs, 'm4.2xlarge' => :ebs, 'm4.4xlarge' => :ebs, 'm4.10xlarge' => :ebs, 'm4.16xlarge' => :ebs,
|
372
379
|
'm5.large' => :ebs, 'm5.xlarge' => :ebs, 'm5.2xlarge' => :ebs, 'm5.4xlarge' => :ebs, 'm5.12xlarge' => :ebs, 'm5.24xlarge' => :ebs, 'm5.metal' => :ebs,
|
373
380
|
'm5d.large' => :ssd, 'm5d.xlarge' => :ssd, 'm5d.2xlarge' => :ssd, 'm5d.4xlarge' => :ssd, 'm5d.12xlarge' => :ssd, 'm5d.24xlarge' => :ssd, 'm5d.metal' => :ssd,
|
381
|
+
'm5a.large' => :ebs, 'm5a.xlarge' => :ebs, 'm5a.2xlarge' => :ebs, 'm5a.4xlarge' => :ebs, 'm5a.12xlarge' => :ebs, 'm5a.24xlarge' => :ebs,
|
382
|
+
'm5ad.large' => :ssd, 'm5ad.xlarge' => :ssd, 'm5ad.2xlarge' => :ssd, 'm5ad.4xlarge' => :ssd, 'm5ad.12xlarge' => :ssd, 'm5ad.24xlarge' => :ssd,
|
374
383
|
'c1.medium' => :ephemeral, 'c1.xlarge' => :ephemeral,
|
375
384
|
'hi1.4xlarge' => :ssd,
|
376
385
|
'cg1.4xlarge' => :ephemeral,
|
@@ -395,7 +404,9 @@ module AwsPricing
|
|
395
404
|
'r3.large' => :ssd, 'r3.xlarge' => :ssd, 'r3.2xlarge' => :ssd, 'r3.4xlarge' => :ssd, 'r3.8xlarge' => :ssd,
|
396
405
|
'r4.large' => :ebs, 'r4.xlarge' => :ebs, 'r4.2xlarge' => :ebs, 'r4.4xlarge' => :ebs, 'r4.8xlarge' => :ebs, 'r4.16xlarge' => :ebs,
|
397
406
|
'r5.large' => :ebs, 'r5.xlarge' => :ebs, 'r5.2xlarge' => :ebs, 'r5.4xlarge' => :ebs, 'r5.12xlarge' => :ebs, 'r5.24xlarge' => :ebs, 'r5.metal' => :ebs,
|
407
|
+
'r5a.large' => :ebs, 'r5a.xlarge' => :ebs, 'r5a.2xlarge' => :ebs, 'r5a.4xlarge' => :ebs, 'r5a.12xlarge' => :ebs, 'r5a.24xlarge' => :ebs,
|
398
408
|
'r5d.large' => :ssd, 'r5d.xlarge' => :ssd, 'r5d.2xlarge' => :ssd, 'r5d.4xlarge' => :ssd, 'r5d.12xlarge' => :ssd, 'r5d.24xlarge' => :ssd, 'r5d.metal' => :ssd,
|
409
|
+
'r5ad.large' => :ssd, 'r5ad.xlarge' => :ssd, 'r5ad.2xlarge' => :ssd, 'r5ad.4xlarge' => :ssd, 'r5ad.12xlarge' => :ssd, 'r5ad.24xlarge' => :ssd,
|
399
410
|
't2.nano' => :ebs, 't2.micro' => :ebs, 't2.small' => :ebs, 't2.medium' => :ebs, 't2.large' => :ebs, 't2.xlarge' => :ebs, 't2.2xlarge' => :ebs,
|
400
411
|
't3.nano' => :ebs, 't3.micro' => :ebs, 't3.small' => :ebs, 't3.medium' => :ebs, 't3.large' => :ebs, 't3.xlarge' => :ebs, 't3.2xlarge' => :ebs,
|
401
412
|
'c4.large' => :ebs, 'c4.xlarge' => :ebs, 'c4.2xlarge' => :ebs, 'c4.4xlarge' => :ebs, 'c4.8xlarge' => :ebs,
|
@@ -409,8 +420,6 @@ module AwsPricing
|
|
409
420
|
'p3dn.24xlarge' => :ssd,
|
410
421
|
'f1.2xlarge' => :ssd, 'f1.4xlarge' => :ssd,'f1.16xlarge' => :ssd,
|
411
422
|
'z1d.large' => :ssd, 'z1d.xlarge' => :ssd, 'z1d.2xlarge' => :ssd, 'z1d.3xlarge' => :ssd, 'z1d.6xlarge' => :ssd, 'z1d.12xlarge' => :ssd, 'z1d.metal' => :ssd,
|
412
|
-
'm5a.large' => :ebs, 'm5a.xlarge' => :ebs, 'm5a.2xlarge' => :ebs, 'm5a.4xlarge' => :ebs, 'm5a.12xlarge' => :ebs, 'm5a.24xlarge' => :ebs,
|
413
|
-
'r5a.large' => :ebs, 'r5a.xlarge' => :ebs, 'r5a.2xlarge' => :ebs, 'r5a.4xlarge' => :ebs, 'r5a.12xlarge' => :ebs, 'r5a.24xlarge' => :ebs,
|
414
423
|
'u-6tb1.metal' => :ebs,
|
415
424
|
'u-9tb1.metal' => :ebs,
|
416
425
|
'u-12tb1.metal' => :ebs,
|
@@ -639,6 +648,12 @@ module AwsPricing
|
|
639
648
|
'm5.12xlarge'=> [ 875, 40000], # EBSOptimized
|
640
649
|
'm5.24xlarge'=> [ 1750, 80000], # EBSOptimized
|
641
650
|
'm5.metal' => [ 1750, 80000],
|
651
|
+
'm5a.large' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [60, 3600]
|
652
|
+
'm5a.xlarge' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [100, 6000]
|
653
|
+
'm5a.2xlarge' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [146, 8333]
|
654
|
+
'm5a.4xlarge' => [ 265, 16000 ], #EBSOptimized
|
655
|
+
'm5a.12xlarge' => [ 675, 30000 ], #EBSOptimized
|
656
|
+
'm5a.24xlarge' => [ 1250, 60000 ], #EBSOptimized
|
642
657
|
'm5d.large' => [ 437, 18750], # NVMe peak.30min/24hrs, else [60, 3600]
|
643
658
|
'm5d.xlarge' => [ 437, 18750], # NVMe peak.30min/24hrs, else [107, 6000]
|
644
659
|
'm5d.2xlarge' => [ 437, 18750], # NVMe peak.30min/24hrs, else [213, 12000]
|
@@ -646,6 +661,12 @@ module AwsPricing
|
|
646
661
|
'm5d.12xlarge'=> [ 875, 40000], # NVMe
|
647
662
|
'm5d.24xlarge'=> [ 1750, 80000], # NVMe
|
648
663
|
'm5d.metal' => [ 1750, 80000],
|
664
|
+
'm5ad.large' => [265, 16000], # EBS Optimized
|
665
|
+
'm5ad.xlarge' => [265, 16000], # EBS Optimized
|
666
|
+
'm5ad.2xlarge' => [265, 16000], # EBS Optimized
|
667
|
+
'm5ad.4xlarge' => [265, 16000], # EBS Optimized
|
668
|
+
'm5ad.12xlarge' => [675, 30000], # EBS Optimized
|
669
|
+
'm5ad.24xlarge' => [1250, 60000], # EBS Optimized
|
649
670
|
'p2.xlarge' => [ 94, 6000], # EBSOptimized
|
650
671
|
'p2.8xlarge' => [ 625, 32500], # EBSOptimized
|
651
672
|
'p2.16xlarge'=> [1250, 65000], # EBSOptimized
|
@@ -670,6 +691,12 @@ module AwsPricing
|
|
670
691
|
'r5.12xlarge' => [ 875, 40000], # EBSOptimized
|
671
692
|
'r5.24xlarge' => [ 1750, 80000], # EBSOptimized
|
672
693
|
'r5.metal' => [ 1750, 80000],
|
694
|
+
'r5a.large' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [60, 3600]
|
695
|
+
'r5a.xlarge' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [100, 6000]
|
696
|
+
'r5a.2xlarge' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [146, 8333]
|
697
|
+
'r5a.4xlarge' => [ 265, 16000 ], #EBSOptimized
|
698
|
+
'r5a.12xlarge' => [ 625, 30000 ], #EBSOptimized
|
699
|
+
'r5a.24xlarge' => [ 1250, 60000 ], #EBSOptimized
|
673
700
|
'r5d.large' => [ 437, 18750], # EBSOptimized peak.30min/24hrs, else [60, 3600]
|
674
701
|
'r5d.xlarge' => [ 437, 18750], # EBSOptimized peak.30min/24hrs, else [107, 6000]
|
675
702
|
'r5d.2xlarge' => [ 437, 18750], # EBSOptimized peak.30min/24hrs, else [213, 12000]
|
@@ -677,6 +704,12 @@ module AwsPricing
|
|
677
704
|
'r5d.12xlarge' => [ 875, 40000], # EBSOptimized
|
678
705
|
'r5d.24xlarge' => [ 1750, 80000], # EBSOptimized
|
679
706
|
'r5d.metal' => [ 1750, 80000],
|
707
|
+
'r5ad.large' => [265, 16000], # EBS Optimized
|
708
|
+
'r5ad.xlarge' => [265, 16000], # EBS Optimized
|
709
|
+
'r5ad.2xlarge' => [265, 16000], # EBS Optimized
|
710
|
+
'r5ad.4xlarge' => [265, 16000], # EBS Optimized
|
711
|
+
'r5ad.12xlarge' => [675, 30000], # EBS Optimized
|
712
|
+
'r5ad.24xlarge' => [1250, 60000], # EBS Optimized
|
680
713
|
# t1.micro is EBS-only
|
681
714
|
# t2.large is EBS-only
|
682
715
|
# t2.medium is EBS-only
|
@@ -707,21 +740,9 @@ module AwsPricing
|
|
707
740
|
'z1d.6xlarge' => [ 875, 40000], # EBSOptimized
|
708
741
|
'z1d.12xlarge' => [ 1750, 80000], # EBSOptimized
|
709
742
|
'z1d.metal' => [ 1750, 80000],
|
710
|
-
'm5a.large' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [60, 3600]
|
711
|
-
'm5a.xlarge' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [100, 6000]
|
712
|
-
'm5a.2xlarge' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [146, 8333]
|
713
|
-
'm5a.4xlarge' => [ 265, 16000 ], #EBSOptimized
|
714
|
-
'm5a.12xlarge' => [ 675, 30000 ], #EBSOptimized
|
715
|
-
'm5a.24xlarge' => [ 1250, 60000 ], #EBSOptimized
|
716
|
-
'r5a.large' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [60, 3600]
|
717
|
-
'r5a.xlarge' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [100, 6000]
|
718
|
-
'r5a.2xlarge' => [ 265, 16000 ], #EBSOptimized peak.30min/24hrs, else [146, 8333]
|
719
|
-
'r5a.4xlarge' => [ 265, 16000 ], #EBSOptimized
|
720
|
-
'r5a.12xlarge' => [ 625, 30000 ], #EBSOptimized
|
721
|
-
'r5a.24xlarge' => [ 1250, 60000 ], #EBSOptimized
|
722
743
|
'u-6tb1.metal' => [ 1750, 80000], #EBSOptimized
|
723
744
|
'u-9tb1.metal' => [ 1750, 80000], #EBSOptimized
|
724
745
|
'u-12tb1.metal' => [ 1750, 80000], #EBSOptimized
|
725
746
|
}
|
726
747
|
end
|
727
|
-
end
|
748
|
+
end
|
@@ -38,13 +38,15 @@ module AwsPricing
|
|
38
38
|
'h1' => { "2xlarge"=>8, "4xlarge"=>4, "8xlarge"=>2, "16xlarge"=>1 },
|
39
39
|
'r3' => { "large"=>16, "xlarge"=>8, "2xlarge"=>4, "4xlarge"=>2, "8xlarge"=>1 },
|
40
40
|
'r4' => { "large"=>32, "xlarge"=>16, "2xlarge"=>8, "4xlarge"=>4, "8xlarge"=>2, "16xlarge"=>1 },
|
41
|
-
'r5' => { "large"=>
|
42
|
-
'r5d' => { "large"=>
|
43
|
-
'r5a' => { "large"=>
|
41
|
+
'r5' => { "large"=> 48, "xlarge"=>24, "2xlarge"=>12, "4xlarge"=>6, "12xlarge"=>2, "24xlarge"=>1, "metal"=>1 },
|
42
|
+
'r5d' => { "large"=> 48, "xlarge"=>24, "2xlarge"=>12, "4xlarge"=>6, "12xlarge"=>2, "24xlarge"=>1, "metal"=>1 },
|
43
|
+
'r5a' => { "large"=> 48, "xlarge"=>24, "2xlarge"=>12, "4xlarge"=>6, "12xlarge"=>2, "24xlarge"=>1 },
|
44
|
+
'r5ad' => { "large"=> 48, "xlarge"=> 24, "2xlarge"=> 12, "4xlarge"=> 6, "12xlarge"=> 2, "24xlarge" => 1},
|
44
45
|
'm4' => { "large"=>22, "xlarge"=>11, "2xlarge"=>5, "4xlarge"=>4, "10xlarge"=>1, "16xlarge"=>1 },
|
45
46
|
'm5' => { "large"=>48, "xlarge"=>24, "2xlarge"=>12, "4xlarge"=>6, "12xlarge"=>2, "24xlarge"=>1, "metal"=>1 },
|
46
47
|
'm5d' => { "large"=>48, "xlarge"=>24, "2xlarge"=>12, "4xlarge"=>6, "12xlarge"=>2, "24xlarge"=>1, "metal"=>1 },
|
47
48
|
'm5a' => { "large"=>48, "xlarge"=>24, "2xlarge"=>12, "4xlarge"=>6, "12xlarge"=>2, "24xlarge"=>1 },
|
49
|
+
'm5ad' => { "large"=> 48, "xlarge"=> 24, "2xlarge"=> 12, "4xlarge"=> 6, "12xlarge"=> 2, "24xlarge" => 1},
|
48
50
|
'i2' => { "xlarge"=>8, "2xlarge"=>4, "4xlarge"=>2, "8xlarge"=>1, "16xlarge"=>1 },
|
49
51
|
'i3' => { "large"=>32, "xlarge"=>16, "2xlarge"=>8, "4xlarge"=>4, "8xlarge"=>2, "16xlarge"=>1, "metal"=>1},
|
50
52
|
'i3p' => {"16xlarge"=>1},
|
@@ -3,7 +3,8 @@ module AwsPricing
|
|
3
3
|
module InstanceType
|
4
4
|
|
5
5
|
|
6
|
-
VPC_ONLY_INSTANCE_FAMILIES = ['a1', 'c4', 'c5', 'c5d', 'c5n', 'f1', 'g3', 'g3s', 'h1', 'i3', 'i3p', 'm4', 'm5', 'm5d', 'm5a', '
|
6
|
+
VPC_ONLY_INSTANCE_FAMILIES = ['a1', 'c4', 'c5', 'c5d', 'c5n', 'f1', 'g3', 'g3s', 'h1', 'i3', 'i3p', 'm4', 'm5', 'm5d', 'm5a', 'm5ad',
|
7
|
+
'p2', 'p3', 'p3dn', 'r4', 't2', 't3', 'x1', 'x1e', 'r5', 'r5d', 'r5a', 'r5ad', 'z1d', 'u-6tb1', 'u-9tb1', 'u-12tb1']
|
7
8
|
|
8
9
|
METAL = 'metal'.freeze
|
9
10
|
# the following family sizes should be kept in size order, see #api_name_to_nf below
|
@@ -15,6 +16,8 @@ module AwsPricing
|
|
15
16
|
'M5' => ['m5.large', 'm5.xlarge', 'm5.2xlarge', 'm5.4xlarge', 'm5.12xlarge', 'm5.24xlarge', 'm5.metal'],
|
16
17
|
'M5D' => ['m5d.large', 'm5d.xlarge', 'm5d.2xlarge', 'm5d.4xlarge', 'm5d.12xlarge', 'm5d.24xlarge', 'm5d.metal'],
|
17
18
|
'M5A' => ['m5a.large', 'm5a.xlarge', 'm5a.2xlarge', 'm5a.4xlarge', 'm5a.12xlarge', 'm5a.24xlarge'],
|
19
|
+
'M5AD' => ['m5ad.large', 'm5ad.xlarge', 'm5ad.2xlarge', 'm5ad.4xlarge', 'm5ad.12xlarge', 'm5ad.24xlarge'],
|
20
|
+
|
18
21
|
},
|
19
22
|
'PreviousGen' => {
|
20
23
|
'M1' => ['m1.small', 'm1.medium', 'm1.large', 'm1.xlarge'],
|
@@ -47,6 +50,7 @@ module AwsPricing
|
|
47
50
|
'R5' => ['r5.large', 'r5.xlarge', 'r5.2xlarge', 'r5.4xlarge', 'r5.12xlarge', 'r5.24xlarge', 'r5.metal'],
|
48
51
|
'R5D' => ['r5d.large', 'r5d.xlarge', 'r5d.2xlarge', 'r5d.4xlarge', 'r5d.12xlarge', 'r5d.24xlarge', 'r5d.metal'],
|
49
52
|
'R5A' => ['r5a.large', 'r5a.xlarge', 'r5a.2xlarge', 'r5a.4xlarge', 'r5a.12xlarge', 'r5a.24xlarge'],
|
53
|
+
'R5AD' => ['r5ad.large', 'r5ad.xlarge', 'r5ad.2xlarge', 'r5ad.4xlarge', 'r5ad.12xlarge', 'r5ad.24xlarge'],
|
50
54
|
'X1' => ['x1.16xlarge', 'x1.32xlarge'],
|
51
55
|
'X1E' => ['x1e.xlarge', 'x1e.2xlarge', 'x1e.4xlarge', 'x1e.8xlarge', 'x1e.16xlarge', 'x1e.32xlarge'],
|
52
56
|
'Z1D' => ['z1d.large', 'z1d.xlarge', 'z1d.2xlarge', 'z1d.3xlarge', 'z1d.6xlarge', 'z1d.12xlarge', 'z1d.metal'],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amazon-pricing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.137
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Kinsella
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A Ruby library for retrieving pricing for Amazon Web Services
|
14
14
|
email:
|
@@ -19,7 +19,7 @@ extra_rdoc_files:
|
|
19
19
|
- LICENSE
|
20
20
|
- README.md
|
21
21
|
files:
|
22
|
-
- .gitignore
|
22
|
+
- ".gitignore"
|
23
23
|
- CHANGELOG.md
|
24
24
|
- Gemfile
|
25
25
|
- Gemfile.lock
|
@@ -73,26 +73,25 @@ licenses:
|
|
73
73
|
metadata: {}
|
74
74
|
post_install_message:
|
75
75
|
rdoc_options:
|
76
|
-
- --title
|
76
|
+
- "--title"
|
77
77
|
- amazon-pricing documentation
|
78
|
-
- --line-numbers
|
79
|
-
- --main
|
78
|
+
- "--line-numbers"
|
79
|
+
- "--main"
|
80
80
|
- README.md
|
81
81
|
require_paths:
|
82
82
|
- lib
|
83
83
|
required_ruby_version: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
|
-
- -
|
90
|
+
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
|
-
|
95
|
-
rubygems_version: 2.6.14
|
94
|
+
rubygems_version: 3.0.2
|
96
95
|
signing_key:
|
97
96
|
specification_version: 4
|
98
97
|
summary: Amazon Web Services Pricing Ruby gem
|