amazon-pricing 0.1.137 → 0.1.138

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 790677a6fedb03b64e29ead8d2b34797f62d1fdb9b75a9bb97c5a1f0768be3ce
4
- data.tar.gz: 450f608cf9fa1a5561751ec78ae4e2f526fbf7bddd20921c64c09515ef43fad8
3
+ metadata.gz: 5ce4e10edae2c59908038a0fa517b178b8329e89b45ac20b7227f27b65d3b0c6
4
+ data.tar.gz: 3d81dfa7f29855bf04b5db456e6b263cd940e1109d15279379437f25de1014c1
5
5
  SHA512:
6
- metadata.gz: 9d77ffe49ee02ecf7eed4d1975d9674ea9dd9517c0a89f34d00d7d6dd3aaba01423de97cd447bd3da5dc0bf8d9c876c2858c2f7922bf17bdcc596c19f103785b
7
- data.tar.gz: da3d551b86923b73c770fe01decff12ff11d82e9736302fbd3beb39027472e20c12883c8180f0dd09d60826b02923ceed653fd12e8fa436cc5656d8893715ade
6
+ metadata.gz: f726e91fbde685deb0713e5d402c516efa71350624458ce9a206a859ba60652e41f2f3019c6c9940f5b6812e7daa4a3e6d681585ce6c8d98d4b72eb0cdc7044e
7
+ data.tar.gz: 8b72f604e450e97baca11b26c6100c1f5e93a1993b8600357215655a50271b623a8333582b4c12ebf4a7cfba4b54c9f199ec9ba5cbbdab00ede3b565e2874173
@@ -23,7 +23,7 @@ module AwsPricing
23
23
  # Creating regions upfront since different json files all use different naming conventions. No more ad-hoc creation.
24
24
  regions = ["eu-west-1", "sa-east-1", "us-east-1", "ap-northeast-1", "us-west-2", "us-west-1", "ap-southeast-1", "ap-southeast-2",
25
25
  "eu-central-1", "us-gov-west-1", "us-gov-east-1", "ap-northeast-2", "ap-south-1", "us-east-2", "ca-central-1", "eu-west-2", "eu-west-3",
26
- "ap-northeast-3", "eu-north-1"]
26
+ "ap-northeast-3", "eu-north-1", "ap-east-1"]
27
27
 
28
28
  regions.each do |name|
29
29
  @_regions[name] = Region.new(name)
@@ -465,6 +465,13 @@ module AwsPricing
465
465
  't3.large' => :low_to_moderate,
466
466
  't3.xlarge' => :moderate,
467
467
  't3.2xlarge' => :moderate,
468
+ 't3a.nano' => :low_to_moderate,
469
+ 't3a.micro' => :low_to_moderate,
470
+ 't3a.small' => :low_to_moderate,
471
+ 't3a.medium' => :low_to_moderate,
472
+ 't3a.large' => :low_to_moderate,
473
+ 't3a.xlarge' => :low_to_moderate,
474
+ 't3a.2xlarge' => :low_to_moderate,
468
475
  'x1.16xlarge' => :ten_gigabit,
469
476
  'x1.32xlarge' => :twenty_gigabit,
470
477
  'x1e.16xlarge' => :ten_gigabit,
@@ -242,6 +242,8 @@ module AwsPricing
242
242
  't2.xlarge' => 'Burstable Performance Instance Extra Large', 't2.2xlarge' => 'Burstable Performance Instance Double Extra Large',
243
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',
244
244
  't3.xlarge' => 'Burstable Performance Instance Extra Large','t3.2xlarge' => 'Burstable Performance Instance Double Extra Large',
245
+ 't3a.nano' => 'Burstable Performance T3A Instance Nano', 't3a.micro' => 'Burstable Performance T3A Instance Micro', 't3a.small' => 'Burstable Performance T3A Instance Small', 't3a.medium' => 'Burstable Performance T3A Instance Medium', 't3a.large' => 'Burstable Performance T3A Instance Large',
246
+ 't3a.xlarge' => 'Burstable Performance T3A Instance Extra Large','t3a.2xlarge' => 'Burstable Performance T3A Instance Double Extra Large',
245
247
  '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',
246
248
  'c4.8xlarge' => 'Compute Optimized Eight Extra Large',
247
249
  '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',
@@ -303,6 +305,7 @@ module AwsPricing
303
305
  'r5ad.large' => 75, 'r5ad.xlarge' => 150, 'r5ad.2xlarge' => 300, 'r5ad.4xlarge' => 600, 'r5ad.12xlarge' => 1800, 'r5ad.24xlarge' => 3200, # NVMe
304
306
  't2.nano' => 0, 't2.micro' => 0, 't2.small' => 0, 't2.medium' => 0, 't2.large' => 0, 't2.xlarge' => 0, 't2.2xlarge' => 0,
305
307
  't3.nano' => 0, 't3.micro' => 0, 't3.small' => 0, 't3.medium' => 0, 't3.large' => 0, 't3.xlarge' => 0, 't3.2xlarge' => 0, #ebs-only
308
+ 't3a.nano' => 0, 't3a.micro' => 0, 't3a.small' => 0, 't3a.medium' => 0, 't3a.large' => 0, 't3a.xlarge' => 0, 't3a.2xlarge' => 0, #ebs-only
306
309
  'c4.large' => 0, 'c4.xlarge' => 0, 'c4.2xlarge' => 0, 'c4.4xlarge' => 0, 'c4.8xlarge' => 0,
307
310
  'c5.large' => 0, 'c5.xlarge' => 0, 'c5.2xlarge' => 0, 'c5.4xlarge' => 0, 'c5.9xlarge' => 0, 'c5.18xlarge' => 0, # ebs-optimized
308
311
  'c5n.large' => 0,'c5n.xlarge' => 0,'c5n.2xlarge' => 0, 'c5n.4xlarge' => 0, 'c5n.9xlarge' => 0, 'c5n.18xlarge' => 0, # ebs-optimized
@@ -356,6 +359,7 @@ module AwsPricing
356
359
  'r5ad.large' => 64, 'r5ad.xlarge' => 64, 'r5ad.2xlarge' => 64, 'r5ad.4xlarge' => 64, 'r5ad.12xlarge' => 64, 'r5ad.24xlarge' => 64,
357
360
  't2.nano' => 64, 't2.micro' => 64, 't2.small' => 64, 't2.medium' => 64, 't2.large' => 64, 't2.xlarge' => 64, 't2.2xlarge' => 64,
358
361
  't3.nano' => 64, 't3.micro' => 64, 't3.small' => 64, 't3.medium' => 64, 't3.large' => 64, 't3.xlarge' => 64, 't3.2xlarge' => 64,
362
+ 't3a.nano' => 64, 't3a.micro' => 64, 't3a.small' => 64, 't3a.medium' => 64, 't3a.large' => 64, 't3a.xlarge' => 64, 't3a.2xlarge' => 64,
359
363
  'c4.large' => 64, 'c4.xlarge' => 64, 'c4.2xlarge' => 64, 'c4.4xlarge' => 64, 'c4.8xlarge' => 64,
360
364
  'c5.large' => 64, 'c5.xlarge' => 64, 'c5.2xlarge' => 64, 'c5.4xlarge' => 64, 'c5.9xlarge' => 64, 'c5.18xlarge' => 64,
361
365
  'c5d.large' => 64, 'c5d.xlarge' => 64, 'c5d.2xlarge' => 64, 'c5d.4xlarge' => 64, 'c5d.9xlarge' => 64, 'c5d.18xlarge' => 64,
@@ -409,6 +413,7 @@ module AwsPricing
409
413
  'r5ad.large' => :ssd, 'r5ad.xlarge' => :ssd, 'r5ad.2xlarge' => :ssd, 'r5ad.4xlarge' => :ssd, 'r5ad.12xlarge' => :ssd, 'r5ad.24xlarge' => :ssd,
410
414
  't2.nano' => :ebs, 't2.micro' => :ebs, 't2.small' => :ebs, 't2.medium' => :ebs, 't2.large' => :ebs, 't2.xlarge' => :ebs, 't2.2xlarge' => :ebs,
411
415
  't3.nano' => :ebs, 't3.micro' => :ebs, 't3.small' => :ebs, 't3.medium' => :ebs, 't3.large' => :ebs, 't3.xlarge' => :ebs, 't3.2xlarge' => :ebs,
416
+ 't3a.nano' => :ebs, 't3a.micro' => :ebs, 't3a.small' => :ebs, 't3a.medium' => :ebs, 't3a.large' => :ebs, 't3a.xlarge' => :ebs, 't3a.2xlarge' => :ebs,
412
417
  'c4.large' => :ebs, 'c4.xlarge' => :ebs, 'c4.2xlarge' => :ebs, 'c4.4xlarge' => :ebs, 'c4.8xlarge' => :ebs,
413
418
  'c5.large' => :ebs, 'c5.xlarge' => :ebs, 'c5.2xlarge' => :ebs, 'c5.4xlarge' => :ebs, 'c5.9xlarge' => :ebs, 'c5.18xlarge' => :ebs,
414
419
  'c5n.large' => :ebs, 'c5n.xlarge' => :ebs, 'c5n.2xlarge' => :ebs, 'c5n.4xlarge' => :ebs, 'c5n.9xlarge' => :ebs, 'c5n.18xlarge' => :ebs,
@@ -725,6 +730,13 @@ module AwsPricing
725
730
  't3.large' => [ 256, 15700], # EBS Optimized peak.30min/24hrs, else [64, 4000]
726
731
  't3.xlarge' => [256, 15700], # EBS Optimized peak.30min/24hrs, else [64, 4000]
727
732
  't3.2xlarge' => [ 256, 15700], # EBS Optimized peak.30min/24hrs, else [64, 4000]
733
+ 't3a.nano' => [ 192, 11800], # EBS Optimized peak.30min/24hrs, else [4, 250]
734
+ 't3a.micro' => [ 192, 11800], # EBS Optimized peak.30min/24hrs, else [8, 500]
735
+ 't3a.small' => [ 192, 11800], # EBS Optimized peak.30min/24hrs, else [16, 1000]
736
+ 't3a.medium' => [ 192, 11800], # EBS Optimized peak.30min/24hrs, else [32, 2000]
737
+ 't3a.large' => [ 256, 15700], # EBS Optimized peak.30min/24hrs, else [64, 4000]
738
+ 't3a.xlarge' => [256, 15700], # EBS Optimized peak.30min/24hrs, else [64, 4000]
739
+ 't3a.2xlarge' => [ 256, 15700], # EBS Optimized peak.30min/24hrs, else [64, 4000]
728
740
  'x1.16xlarge' => [ 875, 40000], # EBSOptimized
729
741
  'x1.32xlarge' => [ 1750, 80000], # EBSOptimized
730
742
  'x1e.xlarge' => [ 62, 3700], # EBSOptimized
@@ -4,7 +4,7 @@ module AwsPricing
4
4
 
5
5
 
6
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
+ 'p2', 'p3', 'p3dn', 'r4', 't2', 't3', 't3a', 'x1', 'x1e', 'r5', 'r5d', 'r5a', 'r5ad', 'z1d', 'u-6tb1', 'u-9tb1', 'u-12tb1']
8
8
 
9
9
  METAL = 'metal'.freeze
10
10
  # the following family sizes should be kept in size order, see #api_name_to_nf below
@@ -27,7 +27,9 @@ module AwsPricing
27
27
  'BurstableInstances' => {
28
28
  'CurrentGen' => {
29
29
  'T2' => ['t2.nano', 't2.micro', 't2.small', 't2.medium', 't2.large', 't2.xlarge', 't2.2xlarge'],
30
- 'T3' => ['t3.nano', 't3.micro', 't3.small', 't3.medium', 't3.large', 't3.xlarge', 't3.2xlarge']
30
+ 'T3' => ['t3.nano', 't3.micro', 't3.small', 't3.medium', 't3.large', 't3.xlarge', 't3.2xlarge'],
31
+ 'T3A' => ['t3a.nano', 't3a.micro', 't3a.small', 't3a.medium', 't3a.large', 't3a.xlarge', 't3a.2xlarge']
32
+
31
33
  }
32
34
  },
33
35
  'ComputeOptimized' => {
@@ -9,6 +9,6 @@
9
9
  #++
10
10
  module AwsPricing
11
11
 
12
- VERSION = '0.1.137' # [major,minor.fix]: Adding support for m5ad, r5ad instances
12
+ VERSION = '0.1.138' # [major,minor.fix]: Adding support for new Hong Kong region, t3a instances
13
13
 
14
14
  end
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  describe AwsPricing::ElastiCachePriceList do
4
4
  # When new regions are introduced and elasticache prices are not available
5
5
  # in the new regions yet, add the new regions to NEW_REGIONS.
6
- NEW_REGIONS = [ "ap-northeast-3", "us-gov-east-1", "eu-north-1"]
6
+ NEW_REGIONS = [ "ap-northeast-3", "us-gov-east-1", "eu-north-1", "ap-east-1"]
7
7
  before(:all) do
8
8
  @pricing = AwsPricing::ElastiCachePriceList.new
9
9
  @node_types = [:memcached]
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.137
4
+ version: 0.1.138
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-04-08 00:00:00.000000000 Z
11
+ date: 2019-04-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Ruby library for retrieving pricing for Amazon Web Services
14
14
  email: