From a849859d216730c59bbf247faec86f968ccbd7b1 Mon Sep 17 00:00:00 2001 From: Jiaxin Shan Date: Thu, 18 Jul 2019 15:45:01 -0700 Subject: [PATCH] Update c5,i3en,m5,r5 instance types --- .../cloudprovider/aws/ec2_instance_types.go | 138 ++++++++++++++++++ 1 file changed, 138 insertions(+) diff --git a/cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go b/cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go index 88168b7f1107..2f317322481a 100644 --- a/cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go +++ b/cluster-autoscaler/cloudprovider/aws/ec2_instance_types.go @@ -153,12 +153,24 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 0, GPU: 0, }, + "c5.12xlarge": { + InstanceType: "c5.12xlarge", + VCPU: 48, + MemoryMb: 98304, + GPU: 0, + }, "c5.18xlarge": { InstanceType: "c5.18xlarge", VCPU: 72, MemoryMb: 147456, GPU: 0, }, + "c5.24xlarge": { + InstanceType: "c5.24xlarge", + VCPU: 96, + MemoryMb: 196608, + GPU: 0, + }, "c5.2xlarge": { InstanceType: "c5.2xlarge", VCPU: 8, @@ -183,6 +195,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 4096, GPU: 0, }, + "c5.metal": { + InstanceType: "c5.metal", + VCPU: 96, + MemoryMb: 196608, + GPU: 0, + }, "c5.xlarge": { InstanceType: "c5.xlarge", VCPU: 4, @@ -501,6 +519,54 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 31232, GPU: 0, }, + "i3en": { + InstanceType: "i3en", + VCPU: 64, + MemoryMb: 0, + GPU: 0, + }, + "i3en.12xlarge": { + InstanceType: "i3en.12xlarge", + VCPU: 48, + MemoryMb: 393216, + GPU: 0, + }, + "i3en.24xlarge": { + InstanceType: "i3en.24xlarge", + VCPU: 96, + MemoryMb: 786432, + GPU: 0, + }, + "i3en.2xlarge": { + InstanceType: "i3en.2xlarge", + VCPU: 8, + MemoryMb: 65536, + GPU: 0, + }, + "i3en.3xlarge": { + InstanceType: "i3en.3xlarge", + VCPU: 12, + MemoryMb: 98304, + GPU: 0, + }, + "i3en.6xlarge": { + InstanceType: "i3en.6xlarge", + VCPU: 24, + MemoryMb: 196608, + GPU: 0, + }, + "i3en.large": { + InstanceType: "i3en.large", + VCPU: 2, + MemoryMb: 16384, + GPU: 0, + }, + "i3en.xlarge": { + InstanceType: "i3en.xlarge", + VCPU: 4, + MemoryMb: 32768, + GPU: 0, + }, "m1.large": { InstanceType: "m1.large", VCPU: 2, @@ -627,6 +693,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 196608, GPU: 0, }, + "m5.16xlarge": { + InstanceType: "m5.16xlarge", + VCPU: 64, + MemoryMb: 262144, + GPU: 0, + }, "m5.24xlarge": { InstanceType: "m5.24xlarge", VCPU: 96, @@ -645,6 +717,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 65536, GPU: 0, }, + "m5.8xlarge": { + InstanceType: "m5.8xlarge", + VCPU: 32, + MemoryMb: 131072, + GPU: 0, + }, "m5.large": { InstanceType: "m5.large", VCPU: 2, @@ -669,6 +747,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 196608, GPU: 0, }, + "m5a.16xlarge": { + InstanceType: "m5a.16xlarge", + VCPU: 64, + MemoryMb: 262144, + GPU: 0, + }, "m5a.24xlarge": { InstanceType: "m5a.24xlarge", VCPU: 96, @@ -687,6 +771,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 65536, GPU: 0, }, + "m5a.8xlarge": { + InstanceType: "m5a.8xlarge", + VCPU: 32, + MemoryMb: 131072, + GPU: 0, + }, "m5a.large": { InstanceType: "m5a.large", VCPU: 2, @@ -747,6 +837,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 196608, GPU: 0, }, + "m5d.16xlarge": { + InstanceType: "m5d.16xlarge", + VCPU: 64, + MemoryMb: 262144, + GPU: 0, + }, "m5d.24xlarge": { InstanceType: "m5d.24xlarge", VCPU: 96, @@ -765,6 +861,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 65536, GPU: 0, }, + "m5d.8xlarge": { + InstanceType: "m5d.8xlarge", + VCPU: 32, + MemoryMb: 131072, + GPU: 0, + }, "m5d.large": { InstanceType: "m5d.large", VCPU: 2, @@ -933,6 +1035,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 393216, GPU: 0, }, + "r5.16xlarge": { + InstanceType: "r5.16xlarge", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + }, "r5.24xlarge": { InstanceType: "r5.24xlarge", VCPU: 96, @@ -951,6 +1059,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 131072, GPU: 0, }, + "r5.8xlarge": { + InstanceType: "r5.8xlarge", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + }, "r5.large": { InstanceType: "r5.large", VCPU: 2, @@ -975,6 +1089,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 393216, GPU: 0, }, + "r5a.16xlarge": { + InstanceType: "r5a.16xlarge", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + }, "r5a.24xlarge": { InstanceType: "r5a.24xlarge", VCPU: 96, @@ -993,6 +1113,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 131072, GPU: 0, }, + "r5a.8xlarge": { + InstanceType: "r5a.8xlarge", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + }, "r5a.large": { InstanceType: "r5a.large", VCPU: 2, @@ -1053,6 +1179,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 393216, GPU: 0, }, + "r5d.16xlarge": { + InstanceType: "r5d.16xlarge", + VCPU: 64, + MemoryMb: 524288, + GPU: 0, + }, "r5d.24xlarge": { InstanceType: "r5d.24xlarge", VCPU: 96, @@ -1071,6 +1203,12 @@ var InstanceTypes = map[string]*instanceType{ MemoryMb: 131072, GPU: 0, }, + "r5d.8xlarge": { + InstanceType: "r5d.8xlarge", + VCPU: 32, + MemoryMb: 262144, + GPU: 0, + }, "r5d.large": { InstanceType: "r5d.large", VCPU: 2,