amazon-pricing 0.1.89 → 0.1.90

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
- M2NjZThjMWM2ODU4MmE1YjBjNDM1OWU5MWFlODBhMzUzNGU1Y2FhZg==
4
+ YTIzZTJkM2U0MWU4ZWQxYmRiNDk1NDhkMmQ2NDliNTQwZThmOGFlYg==
5
5
  data.tar.gz: !binary |-
6
- YjQ5MjBiNzk2Yzk1Yjg1Y2RiZTEyYTBkNWE3NmRkNWY2ZjBjNTkyOQ==
6
+ MTQzNjVjNWQxNzQwNzJmM2FlYzYwNWUzODE5NmRiNmIxYTEwOWM4NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWMwZDQxNGM0OWRjMzk4ZWY5Mzc5Njg5YWY5MGU4MTQ1MjkxMGYwNTdkZGYx
10
- YTA2ZTRmZDg2MDllODM0Njk0MDYzN2MzZDBmZTVhYWVjMTBlNGJkODBlNjY2
11
- NjgzMDg4N2NiODRiNjVlNTM4YTg3MDNmNWEzNDJmY2M4NDkyOTE=
9
+ NGZjZjdjODI2NjYwZTk2Y2EwNjIwZDc1NjI0ZmNlNjJmYTdkM2M5ZWJkNDM0
10
+ MmE0MmU2ZDdiYzBkMWUyZGUxYTRlOTlhZmEyZTM2ZjFkNmZmZTFiZmYzMDhl
11
+ MjVhMTQ4MjZlMWExZGE2MDFjZmQxOTlhZGMwMTkxYjk5ZWE2YWY=
12
12
  data.tar.gz: !binary |-
13
- NTIyMTA2OTcyMzg4N2VhZDM4NzI1M2ZmOTc1ZWQ4Y2E4MmU1MDkwZmY0NDA0
14
- ZjI4MjUxZjMxMjc3ZGY5NDE5NDg2ZjNmYzVlNGM2NjE3YzhmMjY0Y2Y4NzU1
15
- ZjhiYjViZGEyMGRjNDRmN2RkYjBkZTc3NjAyZmI0OGU0NWRiYTY=
13
+ NDUxNzc1NjZjYjgxNGY1ZDRmYTE5NmYyNWEwZGIwZTViNWZmYTRlOGI2ZGQz
14
+ Mjg4MjcwZTllNmM5Mjc3OTQzOTJiYmQ4ZjZjNDU2NjEwMjJhNmQwMzk3NWIw
15
+ MTYyYWFhNmM0NzNlNDU5YTU2OWM2YjljYjRmMmRiNTk4NTQyMTk=
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- amazon-pricing (0.1.89)
4
+ amazon-pricing (0.1.90)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -9,12 +9,8 @@ GEM
9
9
  coderay (1.1.1)
10
10
  diff-lcs (1.1.3)
11
11
  method_source (0.8.2)
12
- power_assert (0.3.0)
13
- pry (0.10.4)
14
- coderay (~> 1.1.0)
15
- method_source (~> 0.8.1)
16
- slop (~> 3.4)
17
- rake (11.1.2)
12
+ power_assert (0.4.1)
13
+ rake (11.3.0)
18
14
  rspec (2.11.0)
19
15
  rspec-core (~> 2.11.0)
20
16
  rspec-expectations (~> 2.11.0)
@@ -24,15 +20,8 @@ GEM
24
20
  diff-lcs (~> 1.1.3)
25
21
  rspec-mocks (2.11.3)
26
22
  slop (3.6.0)
27
- test-unit (3.1.9)
23
+ test-unit (3.2.3)
28
24
  power_assert
29
25
 
30
26
  PLATFORMS
31
27
  ruby
32
-
33
- DEPENDENCIES
34
- amazon-pricing!
35
- pry
36
- rake
37
- rspec (~> 2.11.0)
38
- test-unit
@@ -268,12 +268,20 @@ module AwsPricing
268
268
  'r3.8xlarge' => :ten_gigabit,
269
269
  'r3.large' => :moderate,
270
270
  'r3.xlarge' => :moderate,
271
+ 'r4.16xlarge' => :twenty_gigabit,
272
+ 'r4.2xlarge' => :ten_gigabit,
273
+ 'r4.4xlarge' => :ten_gigabit,
274
+ 'r4.8xlarge' => :ten_gigabit,
275
+ 'r4.large' => :ten_gigabit,
276
+ 'r4.xlarge' => :ten_gigabit,
271
277
  't1.micro' => :very_low,
272
278
  't2.large' => :low_to_moderate,
273
279
  't2.medium' => :low_to_moderate,
274
280
  't2.micro' => :low_to_moderate,
275
281
  't2.nano' => :low,
276
282
  't2.small' => :low_to_moderate,
283
+ 't2.xlarge' => :high, # same as c4.2xlarge, cf:https://aws.amazon.com/blogs/aws/new-t2-xlarge-and-t2-2xlarge-instances/
284
+ 't2.2xlarge' => :high, # same as m4.xlarge, cf:https://aws.amazon.com/blogs/aws/new-t2-xlarge-and-t2-2xlarge-instances/
277
285
  'x1.16xlarge' => :ten_gigabit,
278
286
  'x1.32xlarge' => :ten_gigabit,
279
287
  }
@@ -196,7 +196,10 @@ module AwsPricing
196
196
  'i2.xlarge' => 'High I/O Extra Large', 'i2.2xlarge' => 'High I/O Double Extra Large', 'i2.4xlarge' => 'High I/O Quadruple Extra Large', 'i2.8xlarge' => 'High I/O Eight Extra Large',
197
197
  'd2.xlarge' => 'Dense Storage Extra Large', 'd2.2xlarge' => 'Dense Storage Double Extra Large', 'd2.4xlarge' => 'Dense Storage Quadruple Extra Large', 'd2.8xlarge' => 'Dense Storage Eight Extra Large',
198
198
  'r3.large' => 'Memory Optimized Large', 'r3.xlarge' => 'Memory Optimized Extra Large', 'r3.2xlarge' => 'Memory Optimized Double Extra Large', 'r3.4xlarge' => 'Memory Optimized Quadruple Extra Large', 'r3.8xlarge' => 'Memory Optimized Eight Extra Large',
199
+ 'r4.large' => 'Memory Optimized Large Enterprise', 'r4.xlarge' => 'Memory Optimized Extra Large Enterprise', 'r4.2xlarge' => 'Memory Optimized Double Extra Large Enterprise', 'r4.4xlarge' => 'Memory Optimized Quadruple Extra Large Enterprise',
200
+ 'r4.8xlarge' => 'Memory Optimized Eight Extra Large Enterprise', 'r4.16xlarge' => 'Memory Optimized Hextuple Extra Large Enterprise',
199
201
  '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',
202
+ 't2.xlarge' => 'Burstable Performance Instance Extra Large', 't2.2xlarge' => 'Burstable Performance Instance Double Extra Large',
200
203
  'c4.large' => 'Compute Optimized Large', 'c4.xlarge' => 'Compute Optimized Extra Large', 'c4.2xlarge' => 'Compute Optimized Double Extra Large', 'c4.4xlarge' => 'Compute Optimized Quadruple Extra Large', 'c4.8xlarge' => 'Compute Optimized Eight Extra Large',
201
204
  'x1.16xlarge' => 'Memory Optimized Hextuple Large-scale Enterprise-class',
202
205
  'x1.32xlarge' => 'Memory Optimized Large-scale Enterprise-class',
@@ -221,7 +224,8 @@ module AwsPricing
221
224
  'i2.large' => 360, 'i2.xlarge' => 720, 'i2.2xlarge' => 1440, 'i2.4xlarge' => 2880, 'i2.8xlarge' => 5760,
222
225
  'd2.xlarge' => 6000, 'd2.2xlarge' => 12000, 'd2.4xlarge' => 24000, 'd2.8xlarge' => 48000,
223
226
  'r3.large' => 32, 'r3.xlarge' => 80, 'r3.2xlarge' => 160, 'r3.4xlarge' => 320, 'r3.8xlarge' => 640,
224
- 't2.nano' => 0, 't2.micro' => 0, 't2.small' => 0, 't2.medium' => 0, 't2.large' => 0,
227
+ 'r4.large' => 0, 'r4.xlarge' => 0, 'r4.2xlarge' => 0, 'r4.4xlarge' => 0, 'r4.8xlarge' => 0, 'r4.16xlarge' => 0,
228
+ 't2.nano' => 0, 't2.micro' => 0, 't2.small' => 0, 't2.medium' => 0, 't2.large' => 0, 't2.xlarge' => 0, 't2.2xlarge' => 0,
225
229
  'c4.large' => 0, 'c4.xlarge' => 0, 'c4.2xlarge' => 0, 'c4.4xlarge' => 0, 'c4.8xlarge' => 0,
226
230
  'x1.16xlarge' => 3840, 'x1.32xlarge' => 3840,
227
231
  'p2.xlarge' => 0, 'p2.8xlarge' => 0, 'p2.16xlarge' => 0,
@@ -246,7 +250,8 @@ module AwsPricing
246
250
  'i2.large' => 64, 'i2.xlarge' => 64, 'i2.2xlarge' => 64, 'i2.4xlarge' => 64, 'i2.8xlarge' => 64,
247
251
  'd2.xlarge' => 64, 'd2.2xlarge' => 64, 'd2.4xlarge' => 64, 'd2.8xlarge' => 64,
248
252
  'r3.large' => 64, 'r3.xlarge' => 64, 'r3.2xlarge' => 64, 'r3.4xlarge' => 64, 'r3.8xlarge' => 64,
249
- 't2.nano' => 64, 't2.micro' => 64, 't2.small' => 64, 't2.medium' => 64, 't2.large' => 64,
253
+ 'r4.large' => 64, 'r4.xlarge' => 64, 'r4.2xlarge' => 64, 'r4.4xlarge' => 64, 'r4.8xlarge' => 64, 'r4.16xlarge' => 64,
254
+ 't2.nano' => 64, 't2.micro' => 64, 't2.small' => 64, 't2.medium' => 64, 't2.large' => 64, 't2.xlarge' => 64, 't2.2xlarge' => 64,
250
255
  'c4.large' => 64, 'c4.xlarge' => 64, 'c4.2xlarge' => 64, 'c4.4xlarge' => 64, 'c4.8xlarge' => 64,
251
256
  'x1.16xlarge' => 64, 'x1.32xlarge' => 64,
252
257
  'p2.xlarge' => 64, 'p2.8xlarge' => 64, 'p2.16xlarge' => 64,
@@ -272,7 +277,8 @@ module AwsPricing
272
277
  'i2.large' => :ssd, 'i2.xlarge' => :ssd, 'i2.2xlarge' => :ssd, 'i2.4xlarge' => :ssd, 'i2.8xlarge' => :ssd,
273
278
  'd2.xlarge' => :ephemeral, 'd2.2xlarge' => :ephemeral, 'd2.4xlarge' => :ephemeral, 'd2.8xlarge' => :ephemeral,
274
279
  'r3.large' => :ssd, 'r3.xlarge' => :ssd, 'r3.2xlarge' => :ssd, 'r3.4xlarge' => :ssd, 'r3.8xlarge' => :ssd,
275
- 't2.nano' => :ebs, 't2.micro' => :ebs, 't2.small' => :ebs, 't2.medium' => :ebs, 't2.large' => :ebs,
280
+ 'r4.large' => :ebs, 'r4.xlarge' => :ebs, 'r4.2xlarge' => :ebs, 'r4.4xlarge' => :ebs, 'r4.8xlarge' => :ebs, 'r4.16xlarge' => :ebs,
281
+ 't2.nano' => :ebs, 't2.micro' => :ebs, 't2.small' => :ebs, 't2.medium' => :ebs, 't2.large' => :ebs, 't2.xlarge' => :ebs, 't2.2xlarge' => :ebs,
276
282
  'c4.large' => :ebs, 'c4.xlarge' => :ebs, 'c4.2xlarge' => :ebs, 'c4.4xlarge' => :ebs, 'c4.8xlarge' => :ebs,
277
283
  'x1.16xlarge' => :ssd, 'x1.32xlarge' => :ssd,
278
284
  'p2.xlarge' => :ebs, 'p2.8xlarge' => :ebs, 'p2.16xlarge' => :ebs,
@@ -283,8 +289,9 @@ module AwsPricing
283
289
  @@Memory_Lookup = {
284
290
  'cache.r3.large' => 13500, 'cache.r3.xlarge' => 28400, 'cache.r3.2xlarge' => 58200, 'cache.r3.4xlarge' => 118000, 'cache.r3.8xlarge' => 237000,
285
291
  'r3.large' => 15250, 'r3.xlarge' => 30500, 'r3.2xlarge' => 61000, 'r3.4xlarge' => 122000, 'r3.8xlarge' => 244000,
292
+ 'r4.large' => 15250, 'r4.xlarge' => 30500, 'r4.2xlarge' => 61000, 'r4.4xlarge' => 122000, 'r4.8xlarge' => 244000, 'r4.16xlarge' => 488000,
286
293
  'cache.m3.medium' => 2780, 'cache.m3.large' => 6050, 'cache.m3.xlarge' => 13300, 'cache.m3.2xlarge' => 27900,
287
- 't2.nano' => 500, 't2.micro' => 1000, 't2.small' => 2000, 't2.medium' => 4000, 't2.large' => 8000,
294
+ 't2.nano' => 500, 't2.micro' => 1000, 't2.small' => 2000, 't2.medium' => 4000, 't2.large' => 8000, 't2.xlarge' => 16000, 't2.2xlarge' => 32000,
288
295
  'cache.t2.micro' => 555, 'cache.t2.small' => 1550, 'cache.t2.medium' => 3220,
289
296
  'cache.m1.small' => 1300, 'cache.m1.medium' => 3350, 'cache.m1.large' => 7100, 'cache.m1.xlarge' => 14600,
290
297
  'cache.m2.xlarge' => 16700, 'cache.m2.2xlarge' => 33800, 'cache.m2.4xlarge' => 68000,
@@ -293,7 +300,8 @@ module AwsPricing
293
300
  }
294
301
  @@Virtual_Cores_Lookup = {
295
302
  'r3.large' => 2, 'r3.xlarge' => 4, 'r3.2xlarge' => 8, 'r3.4xlarge' => 16, 'r3.8xlarge' => 32,
296
- 't2.nano' => 1, 't2.micro' => 1, 't2.small' => 1, 't2.medium' => 2, 't2.large' => 2,
303
+ 'r4.large' => 2, 'r4.xlarge' => 4, 'r4.2xlarge' => 8, 'r4.4xlarge' => 16, 'r4.8xlarge' => 32, 'r4.16xlarge' => 64,
304
+ 't2.nano' => 1, 't2.micro' => 1, 't2.small' => 1, 't2.medium' => 2, 't2.large' => 2, 't2.xlarge' => 4, 't2.2xlarge' => 8,
297
305
  }
298
306
 
299
307
  # Due to fact AWS pricing API only reports these for EC2, we will fetch from EC2 and keep around for lookup
@@ -402,12 +410,20 @@ module AwsPricing
402
410
  'r3.8xlarge' => [471, 51666],
403
411
  'r3.large' => [60, 8812],
404
412
  'r3.xlarge' => [119, 17149],
413
+ # r4.16xlarge is EBS-only
414
+ # r4.2xlarge is EBS-only
415
+ # r4.4xlarge is EBS-only
416
+ # r4.8xlarge is EBS-only
417
+ # r4.large is EBS-only
418
+ # r4.xlarge is EBS-only
405
419
  # t1.micro is EBS-only
406
420
  # t2.large is EBS-only
407
421
  # t2.medium is EBS-only
408
422
  # t2.micro is EBS-only
409
423
  # t2.nano is EBS-only
410
424
  # t2.small is EBS-only
425
+ # t2.xlarge is EBS-only
426
+ # t2.2xlarge is EBS-only
411
427
  'x1.16xlarge' => [940, 105123],
412
428
  'x1.32xlarge' => [940, 105123],
413
429
  }
@@ -14,7 +14,7 @@ module AwsPricing
14
14
  },
15
15
  'BurstableInstances' => {
16
16
  'CurrentGen' => {
17
- 'T2' => ['t2.nano', 't2.micro', 't2.small', 't2.medium', 't2.large']
17
+ 'T2' => ['t2.nano', 't2.micro', 't2.small', 't2.medium', 't2.large', 't2.xlarge', 't2.2xlarge']
18
18
  }
19
19
  },
20
20
  'ComputeOptimized' => {
@@ -30,6 +30,7 @@ module AwsPricing
30
30
  'MemoryOptimized' => {
31
31
  'CurrentGen' => {
32
32
  'R3' => ['r3.large', 'r3.xlarge', 'r3.2xlarge', 'r3.4xlarge', 'r3.8xlarge'],
33
+ 'R4' => ['r4.large', 'r4.xlarge', 'r4.2xlarge', 'r4.4xlarge', 'r4.8xlarge', 'r4.16xlarge'],
33
34
  'X1' => ['x1.16xlarge', 'x1.32xlarge']
34
35
  },
35
36
  'PreviousGen' => {
@@ -8,5 +8,5 @@
8
8
  # Home:: http://github.com/CloudHealth/amazon-pricing
9
9
  #++
10
10
  module AwsPricing
11
- VERSION = '0.1.89'
11
+ VERSION = '0.1.90'
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.89
4
+ version: 0.1.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Kinsella
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-23 00:00:00.000000000 Z
11
+ date: 2016-12-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Ruby library for retrieving pricing for Amazon Web Services
14
14
  email: