Skip to content

Commit

Permalink
fix: update constants (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh authored Sep 26, 2024
1 parent 757af02 commit 8276e7a
Show file tree
Hide file tree
Showing 3 changed files with 150 additions and 90 deletions.
24 changes: 24 additions & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,18 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'c7i.metal-24xl': { vCpu: 96, memoryGiB: 192, architectures: ['x86_64'] },
'c7i.metal-48xl': { vCpu: 192, memoryGiB: 384, architectures: ['x86_64'] },
'c7i.xlarge': { vCpu: 4, memoryGiB: 8, architectures: ['x86_64'] },
'c8g.12xlarge': { vCpu: 48, memoryGiB: 96, architectures: ['arm64'] },
'c8g.16xlarge': { vCpu: 64, memoryGiB: 128, architectures: ['arm64'] },
'c8g.24xlarge': { vCpu: 96, memoryGiB: 192, architectures: ['arm64'] },
'c8g.2xlarge': { vCpu: 8, memoryGiB: 16, architectures: ['arm64'] },
'c8g.48xlarge': { vCpu: 192, memoryGiB: 384, architectures: ['arm64'] },
'c8g.4xlarge': { vCpu: 16, memoryGiB: 32, architectures: ['arm64'] },
'c8g.8xlarge': { vCpu: 32, memoryGiB: 64, architectures: ['arm64'] },
'c8g.large': { vCpu: 2, memoryGiB: 4, architectures: ['arm64'] },
'c8g.medium': { vCpu: 1, memoryGiB: 2, architectures: ['arm64'] },
'c8g.metal-24xl': { vCpu: 96, memoryGiB: 192, architectures: ['arm64'] },
'c8g.metal-48xl': { vCpu: 192, memoryGiB: 384, architectures: ['arm64'] },
'c8g.xlarge': { vCpu: 4, memoryGiB: 8, architectures: ['arm64'] },
'd2.2xlarge': { vCpu: 8, memoryGiB: 61, architectures: ['x86_64'] },
'd2.4xlarge': { vCpu: 16, memoryGiB: 122, architectures: ['x86_64'] },
'd2.8xlarge': { vCpu: 36, memoryGiB: 244, architectures: ['x86_64'] },
Expand Down Expand Up @@ -514,6 +526,18 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'm7i.metal-24xl': { vCpu: 96, memoryGiB: 384, architectures: ['x86_64'] },
'm7i.metal-48xl': { vCpu: 192, memoryGiB: 768, architectures: ['x86_64'] },
'm7i.xlarge': { vCpu: 4, memoryGiB: 16, architectures: ['x86_64'] },
'm8g.12xlarge': { vCpu: 48, memoryGiB: 192, architectures: ['arm64'] },
'm8g.16xlarge': { vCpu: 64, memoryGiB: 256, architectures: ['arm64'] },
'm8g.24xlarge': { vCpu: 96, memoryGiB: 384, architectures: ['arm64'] },
'm8g.2xlarge': { vCpu: 8, memoryGiB: 32, architectures: ['arm64'] },
'm8g.48xlarge': { vCpu: 192, memoryGiB: 768, architectures: ['arm64'] },
'm8g.4xlarge': { vCpu: 16, memoryGiB: 64, architectures: ['arm64'] },
'm8g.8xlarge': { vCpu: 32, memoryGiB: 128, architectures: ['arm64'] },
'm8g.large': { vCpu: 2, memoryGiB: 8, architectures: ['arm64'] },
'm8g.medium': { vCpu: 1, memoryGiB: 4, architectures: ['arm64'] },
'm8g.metal-24xl': { vCpu: 96, memoryGiB: 384, architectures: ['arm64'] },
'm8g.metal-48xl': { vCpu: 192, memoryGiB: 768, architectures: ['arm64'] },
'm8g.xlarge': { vCpu: 4, memoryGiB: 16, architectures: ['arm64'] },
'mac1.metal': { vCpu: 12, memoryGiB: 32, architectures: ['x86_64_mac'] },
'mac2-m1ultra.metal': { vCpu: 20, memoryGiB: 128, architectures: ['arm64_mac'] },
'mac2-m2.metal': { vCpu: 8, memoryGiB: 24, architectures: ['arm64_mac'] },
Expand Down
26 changes: 26 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const instanceFamilyGeneral = [
'm7gd',
'm7i',
'm7i-flex',
'm8g',
'mac1',
'mac2',
'mac2-m1ultra',
Expand Down Expand Up @@ -57,6 +58,7 @@ export const instanceFamilyCompute = [
'c7gn',
'c7i',
'c7i-flex',
'c8g',
'cc1',
'cc2',
] as const;
Expand Down Expand Up @@ -434,6 +436,18 @@ export const allInstances = [
'm7i-flex.2xlarge',
'm7i-flex.4xlarge',
'm7i-flex.8xlarge',
'm8g.medium',
'm8g.large',
'm8g.xlarge',
'm8g.2xlarge',
'm8g.4xlarge',
'm8g.8xlarge',
'm8g.12xlarge',
'm8g.16xlarge',
'm8g.24xlarge',
'm8g.48xlarge',
'm8g.metal-24xl',
'm8g.metal-48xl',
'mac1.metal',
'mac2.metal',
'mac2-m1ultra.metal',
Expand Down Expand Up @@ -614,6 +628,18 @@ export const allInstances = [
'c7i-flex.2xlarge',
'c7i-flex.4xlarge',
'c7i-flex.8xlarge',
'c8g.medium',
'c8g.large',
'c8g.xlarge',
'c8g.2xlarge',
'c8g.4xlarge',
'c8g.8xlarge',
'c8g.12xlarge',
'c8g.16xlarge',
'c8g.24xlarge',
'c8g.48xlarge',
'c8g.metal-24xl',
'c8g.metal-48xl',
'cc1.4xlarge',
'cc2.8xlarge',
'r3.large',
Expand Down
Loading

0 comments on commit 8276e7a

Please sign in to comment.