amazon-pricing 0.1.102 → 0.1.103

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NDk2YzFkNTk1M2Y3MDMwNTI5NzIzYmIxMTBhYmU1YjliMTA5Y2IzNg==
4
+ MjNkYTk3OTQwYTU3ZjRkYzMzOTJhMzU2N2U1OTdkYzhkN2IxMjI3Mw==
5
5
  data.tar.gz: !binary |-
6
- MDkyYWZlOWQ1NDVhOTE4ZWY3ZTdjNWI2NDA5OTc4NDQ3MmZhZDZmYg==
6
+ ZGMyOWRhOGYxNWViYWE0MDFjMmVlMDIxNDEyOTQ4ODA4OTUzNzhjYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjNlMTI3ZWI1YzgzMDk4OTIyOTQyMGMyOWNkN2YxNjY3MGNlM2MxODg3ZTVi
10
- MWRlNWIxODM4NDM2NmQyMmJiMDJhMzA2OGVhMzlkYTBlMzU2YWExM2VlYWE4
11
- MGY4ZmY3MTE2OTRkMmFiMjcxMzI2MTM2ZDg5ODNlMGJjNGZiMDQ=
9
+ ZjU4ZDEwYzJmZTgwZGNmNTQ3ZGFmZGM3YTAzMzY0MmM3MDdkZDkxZDg4NDkz
10
+ YzA3MTdmMzAxMWQwYjc5YTA5NDdlNDA1Nzk3OGUxYTQzYThhMDc4MzViZjMx
11
+ OWU0NzczYzZjYTdjYTFlNzUyNTNjZGUyZGMwZmM4N2QxNWU4MjA=
12
12
  data.tar.gz: !binary |-
13
- MDRiZTZiN2M2MWEyNTdjMzIzMzlmZGI0YzE4NTc3MWM4ZmQxMGQ5MmFmMjcz
14
- NTM2ODdkNmY2N2NjNjIxNTllYTQ4N2M4OWY1ZjkzYjVlYzMyYzY2NjczNjMx
15
- ZDg4Mjk2MmNjNjAxZDhiNjQ2ZDhhYjlmODVjZWMyODdjNDI3OWU=
13
+ NWYxZWQ3ZTA1ZWEwOTQ2NmMxOTBjOGRlOTlhNGRmM2ExMDYwZDZlNWY1ODFi
14
+ Y2MxYjc4OTIxZDNmNmFmNzEyMTc0YmY3MDU2Yjc3NTkyOGNkNzEwMjVkY2E1
15
+ MWI3NWRmN2Q5NTE2MDZlMDAzMTY3NzZmYmYyNmJmYjAwOGEyMjE=
@@ -324,7 +324,12 @@ module AwsPricing
324
324
  't2.2xlarge' => :high, # same as m4.xlarge, cf:https://aws.amazon.com/blogs/aws/new-t2-xlarge-and-t2-2xlarge-instances/
325
325
  'x1.16xlarge' => :ten_gigabit,
326
326
  'x1.32xlarge' => :twenty_gigabit,
327
- 'x1e.32xlarge' => :twenty_gigabit,
327
+ 'x1e.16xlarge' => :ten_gigabit,
328
+ 'x1e.2xlarge' => :ten_gigabit, # upto 10G
329
+ 'x1e.32xlarge' => :twentyfive_gigabit,
330
+ 'x1e.4xlarge' => :ten_gigabit, # upto 10G
331
+ 'x1e.8xlarge' => :ten_gigabit, # upto 10G
332
+ 'x1e.xlarge' => :ten_gigabit, # upto 10G
328
333
  }
329
334
 
330
335
  end
@@ -210,9 +210,14 @@ module AwsPricing
210
210
  'c4.8xlarge' => 'Compute Optimized Eight Extra Large',
211
211
  'c5.large' => 'Compute Optimized C5 Large', 'c5.xlarge' => 'Compute Optimized C5 Extra Large', 'c5.2xlarge' => 'Compute Optimized C5 Double Extra Large', 'c5.4xlarge' => 'Compute Optimized C5 Quadruple Extra Large',
212
212
  'c5.9xlarge' => 'Compute Optimized C5 Nine Extra Large', 'c5.18xlarge' => 'Compute Optimized C5 Eighteen Extra Large',
213
- 'x1.16xlarge' => 'Memory Optimized Hextuple Large-scale Enterprise-class',
214
- 'x1.32xlarge' => 'Memory Optimized Large-scale Enterprise-class',
215
- 'x1e.32xlarge' => 'Memory Optimized Extended Large-scale Enterprise-class',
213
+ 'x1.16xlarge' => 'Memory Optimized 16 Extra Large Enterprise-class',
214
+ 'x1.32xlarge' => 'Memory Optimized 32 Extra Large Enterprise-class',
215
+ 'x1e.xlarge' => 'Memory Optimized Extended Extra Large Enterprise-class',
216
+ 'x1e.2xlarge' => 'Memory Optimized Extended 2 Extra Large Enterprise-class',
217
+ 'x1e.4xlarge' => 'Memory Optimized Extended 4 Extra Large Enterprise-class',
218
+ 'x1e.8xlarge' => 'Memory Optimized Extended 8 Extra Large Enterprise-class',
219
+ 'x1e.16xlarge' => 'Memory Optimized Extended 16 Extra Large Enterprise-class',
220
+ 'x1e.32xlarge' => 'Memory Optimized Extended 32 Extra Large Enterprise-class',
216
221
  'f1.2xlarge' => 'FPGA Hardware Acceleration Double Extra Large', 'f1.16xlarge' => 'FPGA Hardware Acceleration Hextuple Extra Large'
217
222
  }
218
223
  @@Disk_Lookup = {
@@ -241,7 +246,8 @@ module AwsPricing
241
246
  't2.nano' => 0, 't2.micro' => 0, 't2.small' => 0, 't2.medium' => 0, 't2.large' => 0, 't2.xlarge' => 0, 't2.2xlarge' => 0,
242
247
  'c4.large' => 0, 'c4.xlarge' => 0, 'c4.2xlarge' => 0, 'c4.4xlarge' => 0, 'c4.8xlarge' => 0,
243
248
  'c5.large' => 0, 'c5.xlarge' => 0, 'c5.2xlarge' => 0, 'c5.4xlarge' => 0, 'c5.9xlarge' => 0, 'c5.18xlarge' => 0, # ebs-optimized
244
- 'x1.16xlarge' => 1920, 'x1.32xlarge' => 3840, 'x1e.32xlarge' => 3840,
249
+ 'x1.16xlarge' => 1920, 'x1.32xlarge' => 3840,
250
+ 'x1e.xlarge' => 120, 'x1e.2xlarge' => 240, 'x1e.4xlarge' => 480, 'x1e.8xlarge' => 960, 'x1e.16xlarge' => 1920, 'x1e.32xlarge' => 3840,
245
251
  'p2.xlarge' => 0, 'p2.8xlarge' => 0, 'p2.16xlarge' => 0, # ebs-optimized
246
252
  'p3.2xlarge' => 0, 'p3.8xlarge' => 0, 'p3.16xlarge' => 0, # ebs-optimized
247
253
  'f1.2xlarge' => 470, 'f1.16xlarge' => 3760,
@@ -272,7 +278,8 @@ module AwsPricing
272
278
  't2.nano' => 64, 't2.micro' => 64, 't2.small' => 64, 't2.medium' => 64, 't2.large' => 64, 't2.xlarge' => 64, 't2.2xlarge' => 64,
273
279
  'c4.large' => 64, 'c4.xlarge' => 64, 'c4.2xlarge' => 64, 'c4.4xlarge' => 64, 'c4.8xlarge' => 64,
274
280
  'c5.large' => 64, 'c5.xlarge' => 64, 'c5.2xlarge' => 64, 'c5.4xlarge' => 64, 'c5.9xlarge' => 64, 'c5.18xlarge' => 64,
275
- 'x1.16xlarge' => 64, 'x1.32xlarge' => 64, 'x1e.32xlarge' => 64,
281
+ 'x1.16xlarge' => 64, 'x1.32xlarge' => 64,
282
+ 'x1e.xlarge' => 64, 'x1e.2xlarge' => 64, 'x1e.4xlarge' => 64, 'x1e.8xlarge' => 64, 'x1e.16xlarge' => 64, 'x1e.32xlarge' => 64,
276
283
  'p2.xlarge' => 64, 'p2.8xlarge' => 64, 'p2.16xlarge' => 64,
277
284
  'p3.2xlarge' => 64, 'p3.8xlarge' => 64, 'p3.16xlarge' => 64,
278
285
  }
@@ -303,7 +310,8 @@ module AwsPricing
303
310
  't2.nano' => :ebs, 't2.micro' => :ebs, 't2.small' => :ebs, 't2.medium' => :ebs, 't2.large' => :ebs, 't2.xlarge' => :ebs, 't2.2xlarge' => :ebs,
304
311
  'c4.large' => :ebs, 'c4.xlarge' => :ebs, 'c4.2xlarge' => :ebs, 'c4.4xlarge' => :ebs, 'c4.8xlarge' => :ebs,
305
312
  'c5.large' => :ebs, 'c5.xlarge' => :ebs, 'c5.2xlarge' => :ebs, 'c5.4xlarge' => :ebs, 'c5.9xlarge' => :ebs, 'c5.18xlarge' => :ebs,
306
- 'x1.16xlarge' => :ssd, 'x1.32xlarge' => :ssd, 'x1e.32xlarge' => :ssd,
313
+ 'x1.16xlarge' => :ssd, 'x1.32xlarge' => :ssd,
314
+ 'x1e.xlarge' => :ssd, 'x1e.2xlarge' => :ssd, 'x1e.4xlarge' => :ssd, 'x1e.8xlarge' => :ssd, 'x1e.16xlarge' => :ssd, 'x1e.32xlarge' => :ssd,
307
315
  'p2.xlarge' => :ebs, 'p2.8xlarge' => :ebs, 'p2.16xlarge' => :ebs,
308
316
  'p3.2xlarge' => :ebs, 'p3.8xlarge' => :ebs, 'p3.16xlarge' => :ebs,
309
317
  'f1.2xlarge' => :ssd, 'f1.16xlarge' => :ssd,
@@ -337,25 +345,27 @@ module AwsPricing
337
345
  private
338
346
 
339
347
  # [MB/s capacity, Ops/s capacity]
348
+ # EBSoptimized published capacities:
349
+ # - cf: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html
350
+ # - MB/s (128KB I/O size), IOPS (16KB IO size)
340
351
  PER_SEC_CAPACITIES = {
341
352
  'c1.medium' => [118, 5471],
342
- 'c1.xlarge' => [347, 17245],
343
- 'c3.2xlarge' => [947, 63297],
344
- 'c3.4xlarge' => [962, 96546],
345
- 'c3.8xlarge' => [964, 60702],
346
- 'c3.large' => [917, 77972],
347
- 'c3.xlarge' => [932, 60632],
348
- # c4.2xlarge is EBS-only
349
- # c4.4xlarge is EBS-only
350
- # c4.8xlarge is EBS-only
351
- # c4.large is EBS-only
352
- # c4.xlarge is EBS-only
353
- # c5.18xlarge is EBS-only 9 Gbps
354
- # c5.2xlarge is EBS-only Up to 2.25 Gbps
355
- # c5.4xlarge is EBS-only 2.25 Gbps
356
- # c5.9xlarge is EBS-only 4.5 Gbps
357
- # c5.large is EBS-only Up to 2.25 Gbps
358
- # c5.xlarge is EBS-only Up to 2.25 Gbps
353
+ 'c1.xlarge' => [125, 8000], # EBS
354
+ 'c3.xlarge' => [ 62, 4000], # EBSOptimized
355
+ 'c3.2xlarge' => [125, 8000], # EBSOptimized
356
+ 'c3.4xlarge' => [250, 16000], # EBSOptimized
357
+ # 'c3.8xlarge' # does NOT have dedicated EBSOptimized
358
+ 'c4.large' => [ 62, 4000], # EBSOptimized
359
+ 'c4.xlarge' => [ 94, 6000], # EBSOptimized
360
+ 'c4.2xlarge' => [125, 8000], # EBSOptimized
361
+ 'c4.4xlarge' => [250, 16000], # EBSOptimized
362
+ 'c4.8xlarge' => [500, 32000], # EBSOptimized
363
+ 'c5.large' => [ 281, 16000], # EBSOptimized peak.30min/24hrs, else [ 66, 4000]
364
+ 'c5.xlarge' => [ 281, 16000], # EBSOptimized peak.30min/24hrs, else [100, 6000]
365
+ 'c5.2xlarge' => [ 281, 16000], # EBSOptimized peak.30min/24hrs, else [141, 8000]
366
+ 'c5.4xlarge' => [ 281, 16000], # EBSOptimized
367
+ 'c5.9xlarge' => [ 563, 32000], # EBSOptimized
368
+ 'c5.18xlarge' => [1125, 64000], # EBSOptimized
359
369
  # cache.c1.xlarge is not picked up by CloudWatch
360
370
  # cache.m1.large is not picked up by CloudWatch
361
371
  # cache.m1.medium is not picked up by CloudWatch
@@ -381,10 +391,10 @@ module AwsPricing
381
391
  'cc2.8xlarge' => [598, 64607],
382
392
  # cg1.4xlarge is not picked up by CloudWatch
383
393
  'cr1.8xlarge' => [525, 53527],
384
- 'd2.2xlarge' => [928, 119439],
385
- 'd2.4xlarge' => [2136, 266270],
386
- 'd2.8xlarge' => [3367, 225539],
387
- 'd2.xlarge' => [506, 68167],
394
+ 'd2.xlarge' => [ 94, 6000], # EBSOptimized
395
+ 'd2.2xlarge' => [125, 8000], # EBSOptimized
396
+ 'd2.4xlarge' => [250, 16000], # EBSOptimized
397
+ 'd2.8xlarge' => [500, 32000], # EBSOptimized
388
398
  # db.cr1.8xlarge, like all RDS instances, are EBS-only
389
399
  # db.m1.large, like all RDS instances, are EBS-only
390
400
  # db.m1.medium, like all RDS instances, are EBS-only
@@ -412,52 +422,52 @@ module AwsPricing
412
422
  # db.t2.medium, like all RDS instances, are EBS-only
413
423
  # db.t2.micro, like all RDS instances, are EBS-only
414
424
  # db.t2.small, like all RDS instances, are EBS-only
415
- 'g2.2xlarge' => [534, 42731],
416
- 'g2.8xlarge' => [1069, 70756],
417
- # g3.4xlarge is EBS-only
418
- # g3.8xlarge is EBS-only
419
- # g3.16xlarge is EBS-only
425
+ 'f1.2xlarge' => [ 212, 12000], # EBSOptimized
426
+ 'f1.16xlarge'=> [1750, 75000], # EBSOptimized
427
+ 'g2.2xlarge' => [125, 8000], # EBSOptimized
428
+ 'g3.4xlarge' => [ 437, 20000], # EBSOptimized
429
+ 'g3,8xlarge' => [ 875, 40000], # EBSOptimized
430
+ 'g3.16xlarge'=> [1750, 80000], # EBSOptimized
420
431
  'hi1.4xlarge' => [1824, 50488],
421
432
  'hs1.8xlarge' => [2257, 126081],
422
- 'i2.2xlarge' => [949, 89028],
423
- 'i2.4xlarge' => [1890, 172192],
424
- 'i2.8xlarge' => [3618, 313304],
425
- 'i2.xlarge' => [480, 45439],
426
- 'i3.16xlarge' => [12890, 3300000], # NVMe SSD: 3.3M iops @4KB
427
- 'i3.8xlarge' => [ 6445, 1650000],
428
- 'i3.4xlarge' => [ 3222, 825000],
429
- 'i3.2xlarge' => [ 1611, 412500],
430
- 'i3.xlarge' => [ 805, 206250],
431
- 'i3.large' => [ 402, 103125],
432
- 'm1.large' => [252, 29830],
433
- 'm1.medium' => [134, 9855],
434
- 'm1.small' => [112, 11776],
435
- 'm1.xlarge' => [436, 34630],
436
- 'm2.2xlarge' => [100, 9455],
437
- 'm2.4xlarge' => [198, 17469],
438
- 'm2.xlarge' => [100, 8855],
439
- 'm3.2xlarge' => [934, 72169],
440
- 'm3.large' => [477, 47711],
441
- 'm3.medium' => [443, 31698],
442
- 'm3.xlarge' => [898, 71540],
443
- # m4.10xlarge is EBS-only
444
- # m4.2xlarge is EBS-only
445
- # m4.4xlarge is EBS-only
446
- # m4.large is EBS-only
447
- # m4.xlarge is EBS-only
448
- # p2 is EBS-only
449
- # p3 is EBS-only
450
- 'r3.2xlarge' => [238, 34564],
451
- 'r3.4xlarge' => [473, 50525],
452
- 'r3.8xlarge' => [471, 51666],
453
- 'r3.large' => [60, 8812],
454
- 'r3.xlarge' => [119, 17149],
455
- # r4.16xlarge is EBS-only
456
- # r4.2xlarge is EBS-only
457
- # r4.4xlarge is EBS-only
458
- # r4.8xlarge is EBS-only
459
- # r4.large is EBS-only
460
- # r4.xlarge is EBS-only
433
+ 'i2.xlarge' => [ 62, 4000], # EBSOptimized
434
+ 'i2.2xlarge' => [125, 8000], # EBSOptimized
435
+ 'i2.4xlarge' => [250, 16000], # EBSOptimized
436
+ # 'i2.8xlarge' # does NOT have dedicated EBSOptimized
437
+ 'i3.large' => [ 53, 3000], # EBSOptimized
438
+ 'i3.xlarge' => [ 106, 6000], # EBSOptimized
439
+ 'i3.2xlarge' => [ 212, 12000], # EBSOptimized
440
+ 'i3.4xlarge' => [ 437, 16000], # EBSOptimized
441
+ 'i3.8xlarge' => [ 875, 32500], # EBSOptimized
442
+ 'i3.16xlarge' => [1750, 65000], # EBSOptimized
443
+ 'm1.large' => [ 62, 4000], # EBSOptimized
444
+ 'm1.xlarge' => [125, 8000], # EBSOptimized
445
+ 'm2.2xlarge' => [ 62, 4000], # EBSOptimized
446
+ 'm2.4xlarge' => [125, 8000], # EBSOptimized
447
+ 'm3.xlarge' => [ 62, 4000], # EBSOptimized
448
+ 'm3.2xlarge' => [125, 8000], # EBSOptimized
449
+ 'm4.large' => [ 56, 3600], # EBSOptimized
450
+ 'm4.xlarge' => [ 94, 6000], # EBSOptimized
451
+ 'm4.2xlarge' => [ 125, 8000], # EBSOptimized
452
+ 'm4.4xlarge' => [ 250, 16000], # EBSOptimized
453
+ 'm4.10xlarge'=> [ 500, 32000], # EBSOptimized
454
+ 'm4.16xlarge'=> [1250, 65000], # EBSOptimized
455
+ 'p2.xlarge' => [ 94, 6000], # EBSOptimized
456
+ 'p2.8xlarge' => [ 625, 32500], # EBSOptimized
457
+ 'p2.16xlarge'=> [1250, 65000], # EBSOptimized
458
+ 'p3.2xlarge' => [ 218, 10000], # EBSOptimized
459
+ 'p3.8xlarge' => [ 875, 40000], # EBSOptimized
460
+ 'p3.16xlarge'=> [1750, 80000], # EBSOptimized
461
+ 'r3.xlarge' => [ 62, 4000], # EBSOptimized
462
+ 'r3.2xlarge' => [125, 8000], # EBSOptimized
463
+ 'r3.4xlarge' => [250, 16000], # EBSOptimized
464
+ # 'r3.8xlarge' # does NOT have dedicated EBSOptimized
465
+ 'r4.large' => [ 53, 3000], # EBSOptimized
466
+ 'r4.xlarge' => [ 106, 6000], # EBSOptimized
467
+ 'r4.2xlarge' => [ 212, 12000], # EBSOptimized
468
+ 'r4.4xlarge' => [ 437, 18750], # EBSOptimized
469
+ 'r4.8xlarge' => [ 875, 37500], # EBSOptimized
470
+ 'r4.16xlarge' => [1750, 75000], # EBSOptimized
461
471
  # t1.micro is EBS-only
462
472
  # t2.large is EBS-only
463
473
  # t2.medium is EBS-only
@@ -466,9 +476,14 @@ module AwsPricing
466
476
  # t2.small is EBS-only
467
477
  # t2.xlarge is EBS-only
468
478
  # t2.2xlarge is EBS-only
469
- 'x1.16xlarge' => [7000, 105123], # dedicated EBS bw 7000 Gbps
470
- 'x1.32xlarge' => [14000, 210246], # dedicated EBS bw 14000 Gbps
471
- 'x1e.32xlarge' => [14000, 210246], # dedicated EBS bw 14000 Gbps
479
+ 'x1.16xlarge' => [ 875, 40000], # EBSOptimized
480
+ 'x1.32xlarge' => [1750, 80000], # EBSOptimized
481
+ 'x1e.xlarge' => [ 62, 3700], # EBSOptimized
482
+ 'x1e.2xlarge' => [ 125, 7400], # EBSOptimized
483
+ 'x1e.4xlarge' => [ 219, 10000], # EBSOptimized
484
+ 'x1e.8xlarge' => [ 437, 20000], # EBSOptimized
485
+ 'x1e.16xlarge' => [ 875, 40000], # EBSOptimized
486
+ 'x1e.32xlarge' => [1750, 80000], # EBSOptimized
472
487
  }
473
488
  end
474
489
 
@@ -31,7 +31,7 @@ module AwsPricing
31
31
  'i2' => { "xlarge"=>8, "2xlarge"=>4, "4xlarge"=>2, "8xlarge"=>1, "16xlarge"=>1 },
32
32
  'i3' => { "large"=>32, "xlarge"=>16, "2xlarge"=>8, "4xlarge"=>4, "8xlarge"=>2, "16xlarge"=>1 },
33
33
  'x1' => { "16xlarge"=>2, "32xlarge"=>1 },
34
- 'x1e' => { "32xlarge"=>1 },
34
+ 'x1e' =>{ "xlarge"=>32, "2xlarge"=>16, "4xlarge"=>8, "8xlarge"=>4, "16xlarge"=>2, "32xlarge"=>1 },
35
35
  }
36
36
 
37
37
  def get_ec2_dhi_od_pricing
@@ -33,7 +33,7 @@ module AwsPricing
33
33
  'R3' => ['r3.large', 'r3.xlarge', 'r3.2xlarge', 'r3.4xlarge', 'r3.8xlarge'],
34
34
  'R4' => ['r4.large', 'r4.xlarge', 'r4.2xlarge', 'r4.4xlarge', 'r4.8xlarge', 'r4.16xlarge'],
35
35
  'X1' => ['x1.16xlarge', 'x1.32xlarge'],
36
- 'X1E' => ['x1e.32xlarge'],
36
+ 'X1E' => ['x1e.xlarge', 'x1e.2xlarge', 'x1e.4xlarge', 'x1e.8xlarge', 'x1e.16xlarge', 'x1e.32xlarge'],
37
37
  },
38
38
  'PreviousGen' => {
39
39
  'M2' => ['m2.xlarge', 'm2.2xlarge', 'm2.4xlarge'],
@@ -8,5 +8,5 @@
8
8
  # Home:: http://github.com/CloudHealth/amazon-pricing
9
9
  #++
10
10
  module AwsPricing
11
- VERSION = '0.1.102' # [major,minor.fix]: adding convertible 1year prices
11
+ VERSION = '0.1.103' # [major,minor.fix]: adding x1e additional sizes
12
12
  end
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.102
4
+ version: 0.1.103
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Kinsella
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-15 00:00:00.000000000 Z
11
+ date: 2017-11-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Ruby library for retrieving pricing for Amazon Web Services
14
14
  email: