Skip to content

Commit

Permalink
CA - AWS Instance List Update - 13/12/21 - 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtempleton committed Dec 13, 2021
1 parent 9c44788 commit 7a5de23
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/cloudprovider/aws/aws_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var (
ec2MetaDataServiceUrl = "http://169.254.169.254"
ec2PricingServiceUrlTemplate = "https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/%s/index.json"
ec2PricingServiceUrlTemplateCN = "https://pricing.cn-north-1.amazonaws.com.cn/offers/v1.0/cn/AmazonEC2/current/%s/index.json"
staticListLastUpdateTime = "2021-11-29"
staticListLastUpdateTime = "2021-12-13"
ec2Arm64Processors = []string{"AWS Graviton Processor", "AWS Graviton2 Processor"}
)

Expand Down
105 changes: 105 additions & 0 deletions cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1408,6 +1408,55 @@ var InstanceTypes = map[string]*InstanceType{
GPU: 0,
Architecture: "amd64",
},
"im4gn": {
InstanceType: "im4gn",
VCPU: 64,
MemoryMb: 0,
GPU: 0,
Architecture: "arm64",
},
"im4gn.16xlarge": {
InstanceType: "im4gn.16xlarge",
VCPU: 64,
MemoryMb: 262144,
GPU: 0,
Architecture: "arm64",
},
"im4gn.2xlarge": {
InstanceType: "im4gn.2xlarge",
VCPU: 8,
MemoryMb: 32768,
GPU: 0,
Architecture: "arm64",
},
"im4gn.4xlarge": {
InstanceType: "im4gn.4xlarge",
VCPU: 16,
MemoryMb: 65536,
GPU: 0,
Architecture: "arm64",
},
"im4gn.8xlarge": {
InstanceType: "im4gn.8xlarge",
VCPU: 32,
MemoryMb: 131072,
GPU: 0,
Architecture: "arm64",
},
"im4gn.large": {
InstanceType: "im4gn.large",
VCPU: 2,
MemoryMb: 8192,
GPU: 0,
Architecture: "arm64",
},
"im4gn.xlarge": {
InstanceType: "im4gn.xlarge",
VCPU: 4,
MemoryMb: 16384,
GPU: 0,
Architecture: "arm64",
},
"inf1": {
InstanceType: "inf1",
VCPU: 96,
Expand Down Expand Up @@ -1443,6 +1492,48 @@ var InstanceTypes = map[string]*InstanceType{
GPU: 0,
Architecture: "amd64",
},
"is4gen.2xlarge": {
InstanceType: "is4gen.2xlarge",
VCPU: 8,
MemoryMb: 49152,
GPU: 0,
Architecture: "arm64",
},
"is4gen.4xlarge": {
InstanceType: "is4gen.4xlarge",
VCPU: 16,
MemoryMb: 98304,
GPU: 0,
Architecture: "arm64",
},
"is4gen.8xlarge": {
InstanceType: "is4gen.8xlarge",
VCPU: 32,
MemoryMb: 196608,
GPU: 0,
Architecture: "arm64",
},
"is4gen.large": {
InstanceType: "is4gen.large",
VCPU: 2,
MemoryMb: 12288,
GPU: 0,
Architecture: "arm64",
},
"is4gen.medium": {
InstanceType: "is4gen.medium",
VCPU: 1,
MemoryMb: 6144,
GPU: 0,
Architecture: "arm64",
},
"is4gen.xlarge": {
InstanceType: "is4gen.xlarge",
VCPU: 4,
MemoryMb: 24576,
GPU: 0,
Architecture: "arm64",
},
"m1.large": {
InstanceType: "m1.large",
VCPU: 2,
Expand Down Expand Up @@ -2332,6 +2423,20 @@ var InstanceTypes = map[string]*InstanceType{
GPU: 0,
Architecture: "amd64",
},
"mac2": {
InstanceType: "mac2",
VCPU: 12,
MemoryMb: 0,
GPU: 0,
Architecture: "amd64",
},
"mac2.metal": {
InstanceType: "mac2.metal",
VCPU: 12,
MemoryMb: 16384,
GPU: 0,
Architecture: "amd64",
},
"p2": {
InstanceType: "p2",
VCPU: 64,
Expand Down

0 comments on commit 7a5de23

Please sign in to comment.