amazon-pricing 0.1.122 → 0.1.123

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
- ZDUzYzExNjA2ZWQ1NTg2NjMxODkxMzUwOTQ5MWExNGNjMDAwNzU0NQ==
4
+ N2Q4NTRhMmY0OTM4M2U2YzMzZTMyMTg0ZjY3ODY4ZGNlM2M1ZjEzNw==
5
5
  data.tar.gz: !binary |-
6
- MjQzNmQ0Nzc4ZjQwMmUzNjllMzIwZWY4NThjYjEzMTM0NzliNGJjMw==
6
+ NmJiYWExNDlmMjUyMzY4ZWNiMWVlZjMyZjI1Y2VmNDY1MzRjMzlmNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGQwYjE0MGE1NDFiNGM4YWRmNzJlMTAzNDA5NTFhN2Y5Yjk0OTI0YmM3ODlm
10
- Njk3ZDUyY2Y5MTk4ZTRkMWU1YjY3ODVhOGQ2YTk5ZWM4MWQ5MGI5OWZmMzJh
11
- Zjg4OTE4ODgyNTUzNjM1MjE2ZGFiMzE5NTA2OGM3YzEwMWY3ZmQ=
9
+ NTM4MzMyZGY1YjliZWExNjE1MzA4MTZmY2NkMzgxZDFhZGViMTg2Y2Q0Zjkx
10
+ N2NmNWIwNjAwMzUzYTcxZmZlZDU0Y2ZiNjYwMjk1NWNiYzM3NDI0ZTE3OTRh
11
+ ODdkOWQ0YTViZjgzZWE5NWE0MjRlNWFiNzliNDZiYjgyZWQxOTA=
12
12
  data.tar.gz: !binary |-
13
- YWQzMTg3NWY2Y2Y0MTU1Njc3NmY5NDMzOWNjMzg3M2QxODc0MzdmOGYwZTAw
14
- YzZlYTg0NTUzNDNhOGRjMWZmZjBkMThmOTcxOGE1YTMzMWM1YjA2ZjE0MmVi
15
- MmZkYzI5NThlM2I5MzRmMThhNDJmNjk3ZGMwZmVjNGFkYjdlZWM=
13
+ Y2MyMjE5MWYyNzc0NTE3NzRiNjJiYTA1ZjNlMDBkMTE2NDhiZDliOTYzM2Q5
14
+ NWU3YjE0MTQ0N2U2NjczY2MyYmY5ODVlNDQyZTY4NjhjNWYyNzRiOGVhZWZl
15
+ ZjEyZjU2ZTgxYTk0OWFmMjBmODg3ODI1ODMwZGEwYmUxMmJjMjU=
@@ -421,6 +421,19 @@ module AwsPricing
421
421
  'z1d.3xlarge' => :ten_gigabit, # upto 10G
422
422
  'z1d.6xlarge' => :ten_gigabit,
423
423
  'z1d.12xlarge' => :twentyfive_gigabit,
424
+ 'm5a.large' => :ten_gigabit, # upto 10G
425
+ 'm5a.xlarge' => :ten_gigabit, # upto 10G
426
+ 'm5a.2xlarge' => :ten_gigabit, # upto 10G
427
+ 'm5a.4xlarge' => :ten_gigabit, # upto 10G
428
+ 'm5a.12xlarge' => :ten_gigabit,
429
+ 'm5a.24xlarge' => :twenty_gigabit,
430
+ 'r5a.large' => :ten_gigabit, # upto 10G
431
+ 'r5a.xlarge' => :ten_gigabit, # upto 10G
432
+ 'r5a.2xlarge' => :ten_gigabit, # upto 10G
433
+ 'r5a.4xlarge' => :ten_gigabit, # upto 10G
434
+ 'r5a.12xlarge' => :ten_gigabit,
435
+ 'r5a.24xlarge' => :twenty_gigabit,
436
+
424
437
  }
425
438
 
426
439
  end
@@ -242,6 +242,10 @@ module AwsPricing
242
242
  'f1.2xlarge' => 'FPGA Hardware Acceleration Double Extra Large', 'f1.4xlarge' => 'FPGA Hardware Acceleration Quadruple Extra Large', 'f1.16xlarge' => 'FPGA Hardware Acceleration Hextuple Extra Large',
243
243
  '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',
244
244
  'z1d.6xlarge' => 'Memory Optimized Z1D 6 Extra Large', 'z1d.12xlarge' => 'Memory Optimized Z1D 12 Extra Large',
245
+ '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',
246
+ 'm5a.12xlarge' => 'General Purpose M5A Twelve Extra Large', 'm5a.24xlarge' => 'General Purpose M5A Twenty Four Extra Large',
247
+ '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',
248
+ 'r5a.12xlarge' => 'Memory Optimized R5A Twelve Extra Large', 'r5a.24xlarge' => 'Memory Optimized R5A Twenty Four Extra Large',
245
249
  }
246
250
  @@Disk_Lookup = { # size of disk supported (local disk size) TOTAL size in gb
247
251
  'm1.small' => 160, 'm1.medium' => 410, 'm1.large' =>850, 'm1.xlarge' => 1690,
@@ -283,6 +287,8 @@ module AwsPricing
283
287
  'p3.2xlarge' => 0, 'p3.8xlarge' => 0, 'p3.16xlarge' => 0, # ebs-optimized
284
288
  'f1.2xlarge' => 470, 'f1.4xlarge' => 940, 'f1.16xlarge' => 3760,
285
289
  'z1d.large' => 75, 'z1d.xlarge' => 150, 'z1d.2xlarge' => 300, 'z1d.3xlarge' => 450, 'z1d.6xlarge' => 900, 'z1d.12xlarge' => 1800, # NVMe
290
+ 'm5a.large' => 0, 'm5a.xlarge' => 0, 'm5a.2xlarge' => 0, 'm5a.4xlarge' => 0, 'm5a.12xlarge' => 0, 'm5a.24xlarge' => 0, #ebs-only
291
+ 'r5a.large' => 0, 'r5a.xlarge' => 0, 'r5a.2xlarge' => 0, 'r5a.4xlarge' => 0, 'r5a.12xlarge' => 0, 'r5a.24xlarge' => 0, #ebs-only
286
292
  }
287
293
  @@Platform_Lookup = { #bit width of cpu
288
294
  'm1.small' => 32, 'm1.medium' => 32, 'm1.large' => 64, 'm1.xlarge' => 64,
@@ -323,6 +329,8 @@ module AwsPricing
323
329
  'p2.xlarge' => 64, 'p2.8xlarge' => 64, 'p2.16xlarge' => 64,
324
330
  'p3.2xlarge' => 64, 'p3.8xlarge' => 64, 'p3.16xlarge' => 64,
325
331
  'z1d.large' => 64, 'z1d.xlarge' => 64, 'z1d.2xlarge' => 64, 'z1d.3xlarge' => 64, 'z1d.6xlarge' => 64, 'z1d.12xlarge' => 64,
332
+ 'm5a.large' => 64, 'm5a.xlarge' => 64, 'm5a.2xlarge' => 64, 'm5a.4xlarge' => 64, 'm5a.12xlarge' => 64, 'm5a.24xlarge' => 64,
333
+ 'r5a.large' => 64, 'r5a.xlarge' => 64, 'r5a.2xlarge' => 64, 'r5a.4xlarge' => 64, 'r5a.12xlarge' => 64, 'r5a.24xlarge' => 64,
326
334
  }
327
335
  @@Disk_Type_Lookup = { #type of local storage for the disk
328
336
  'm1.small' => :ephemeral, 'm1.medium' => :ephemeral, 'm1.large' => :ephemeral, 'm1.xlarge' => :ephemeral,
@@ -364,7 +372,9 @@ module AwsPricing
364
372
  'p2.xlarge' => :ebs, 'p2.8xlarge' => :ebs, 'p2.16xlarge' => :ebs,
365
373
  'p3.2xlarge' => :ebs, 'p3.8xlarge' => :ebs, 'p3.16xlarge' => :ebs,
366
374
  'f1.2xlarge' => :ssd, 'f1.4xlarge' => :ssd,'f1.16xlarge' => :ssd,
367
- 'z1d.large' => :ssd, 'z1d.xlarge' => :ssd, 'z1d.2xlarge' => :ssd, 'z1d.3xlarge' => :ssd, 'z1d.6xlarge' => :ssd, 'z1d.12xlarge' => :ssd,
375
+ 'z1d.large' => :ssd, 'z1d.xlarge' => :ssd, 'z1d.2xlarge' => :ssd, 'z1d.3xlarge' => :ssd, 'z1d.6xlarge' => :ssd, 'z1d.12xlarge' => :ssd,
376
+ 'm5a.large' => :ebs, 'm5a.xlarge' => :ebs, 'm5a.2xlarge' => :ebs, 'm5a.4xlarge' => :ebs, 'm5a.12xlarge' => :ebs, 'm5a.24xlarge' => :ebs,
377
+ 'r5a.large' => :ebs, 'r5a.xlarge' => :ebs, 'r5a.2xlarge' => :ebs, 'r5a.4xlarge' => :ebs, 'r5a.12xlarge' => :ebs, 'r5a.24xlarge' => :ebs,
368
378
  }
369
379
 
370
380
  # NOTE: These are populated by "populate_lookups"
@@ -390,6 +400,8 @@ module AwsPricing
390
400
  'r5.large' => 2, 'r5.xlarge' => 4, 'r5.2xlarge' => 8, 'r5.4xlarge' => 16, 'r5.12xlarge' => 48, 'r5.24xlarge' => 96,
391
401
  't2.nano' => 1, 't2.micro' => 1, 't2.small' => 1, 't2.medium' => 2, 't2.large' => 2, 't2.xlarge' => 4, 't2.2xlarge' => 8,
392
402
  't3.nano' => 2, 't3.micro' => 2, 't3.small' => 2, 't3.medium' => 2, 't3.large' => 2, 't3.xlarge' => 4, 't3.2xlarge' => 8,
403
+ 'm5a.large' => 2, 'm5a.xlarge' => 4, 'm5a.2xlarge' => 8, 'm5a.4xlarge' => 16, 'm5a.12xlarge' => 48, 'm5a.24xlarge' => 96,
404
+ 'r5a.large' => 2, 'r5a.xlarge' => 4, 'r5a.2xlarge' => 8, 'r5a.4xlarge' => 16, 'r5a.12xlarge' => 48, 'r5a.24xlarge' => 96,
393
405
  }
394
406
 
395
407
  # Due to fact AWS pricing API only reports these for EC2, we will fetch from EC2 and keep around for lookup
@@ -589,6 +601,18 @@ module AwsPricing
589
601
  'z1d.3xlarge' => [ 438, 20000], # EBSOptimized
590
602
  'z1d.6xlarge' => [ 875, 40000], # EBSOptimized
591
603
  'z1d.12xlarge' => [ 1750, 80000], # EBSOptimized
604
+ 'm5a.large' => [ 265, 16000 ], #EBSOptimized
605
+ 'm5a.xlarge' => [ 265, 16000 ], #EBSOptimized
606
+ 'm5a.2xlarge' => [ 265, 16000 ], #EBSOptimized
607
+ 'm5a.4xlarge' => [ 265, 16000 ], #EBSOptimized
608
+ 'm5a.12xlarge' => [ 675, 30000 ], #EBSOptimized
609
+ 'm5a.24xlarge' => [ 1250, 60000 ], #EBSOptimized
610
+ 'r5a.large' => [ 265, 16000 ], #EBSOptimized
611
+ 'r5a.xlarge' => [ 265, 16000 ], #EBSOptimized
612
+ 'r5a.2xlarge' => [ 265, 16000 ], #EBSOptimized
613
+ 'r5a.4xlarge' => [ 265, 16000 ], #EBSOptimized
614
+ 'r5a.12xlarge' => [ 625, 30000 ], #EBSOptimized
615
+ 'r5a.24xlarge' => [ 1250, 60000 ], #EBSOptimized
592
616
  }
593
617
  end
594
618
 
@@ -11,6 +11,7 @@ module AwsPricing
11
11
  'M4' => ['m4.large', 'm4.xlarge', 'm4.2xlarge', 'm4.4xlarge', 'm4.10xlarge', 'm4.16xlarge'],
12
12
  'M5' => ['m5.large', 'm5.xlarge', 'm5.2xlarge', 'm5.4xlarge', 'm5.12xlarge', 'm5.24xlarge'],
13
13
  'M5D' => ['m5d.large', 'm5d.xlarge', 'm5d.2xlarge', 'm5d.4xlarge', 'm5d.12xlarge', 'm5d.24xlarge'],
14
+ 'M5A' => ['m5a.large', 'm5a.xlarge', 'm5a.2xlarge', 'm5a.4xlarge', 'm5a.12xlarge', 'm5a.24xlarge'],
14
15
  },
15
16
  'PreviousGen' => {
16
17
  'M1' => ['m1.small', 'm1.medium', 'm1.large', 'm1.xlarge']
@@ -40,6 +41,7 @@ module AwsPricing
40
41
  'R4' => ['r4.large', 'r4.xlarge', 'r4.2xlarge', 'r4.4xlarge', 'r4.8xlarge', 'r4.16xlarge'],
41
42
  'R5' => ['r5.large', 'r5.xlarge', 'r5.2xlarge', 'r5.4xlarge', 'r5.12xlarge', 'r5.24xlarge'],
42
43
  'R5D' => ['r5d.large', 'r5d.xlarge', 'r5d.2xlarge', 'r5d.4xlarge', 'r5d.12xlarge', 'r5d.24xlarge'],
44
+ 'R5A' => ['r5a.large', 'r5a.xlarge', 'r5a.2xlarge', 'r5a.4xlarge', 'r5a.12xlarge', 'r5a.24xlarge'],
43
45
  'X1' => ['x1.16xlarge', 'x1.32xlarge'],
44
46
  'X1E' => ['x1e.xlarge', 'x1e.2xlarge', 'x1e.4xlarge', 'x1e.8xlarge', 'x1e.16xlarge', 'x1e.32xlarge'],
45
47
  'Z1D' => ['z1d.large', 'z1d.xlarge', 'z1d.2xlarge', 'z1d.3xlarge', 'z1d.6xlarge', 'z1d.12xlarge']
@@ -8,5 +8,5 @@
8
8
  # Home:: http://github.com/CloudHealth/amazon-pricing
9
9
  #++
10
10
  module AwsPricing
11
- VERSION = '0.1.122' # [major,minor.fix]: Support for g3s.xlarge instances
11
+ VERSION = '0.1.123' # [major,minor.fix]: Support for m5a, r5a instance families
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.122
4
+ version: 0.1.123
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Kinsella
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-30 00:00:00.000000000 Z
11
+ date: 2018-11-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: