Skip to content

Commit

Permalink
fix: update constants (#727)
Browse files Browse the repository at this point in the history
Co-authored-by: hoonoh <[email protected]>
  • Loading branch information
hoonoh and hoonoh authored Oct 5, 2023
1 parent c5765fa commit 7092508
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 112 deletions.
15 changes: 13 additions & 2 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,18 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'c6in.large': { vCpu: 2, memoryGiB: 4 },
'c6in.metal': { vCpu: 128, memoryGiB: 256 },
'c6in.xlarge': { vCpu: 4, memoryGiB: 8 },
'c7a.12xlarge': { vCpu: 48, memoryGiB: 96 },
'c7a.16xlarge': { vCpu: 64, memoryGiB: 128 },
'c7a.24xlarge': { vCpu: 96, memoryGiB: 192 },
'c7a.2xlarge': { vCpu: 8, memoryGiB: 16 },
'c7a.32xlarge': { vCpu: 128, memoryGiB: 256 },
'c7a.48xlarge': { vCpu: 192, memoryGiB: 384 },
'c7a.4xlarge': { vCpu: 16, memoryGiB: 32 },
'c7a.8xlarge': { vCpu: 32, memoryGiB: 64 },
'c7a.large': { vCpu: 2, memoryGiB: 4 },
'c7a.medium': { vCpu: 1, memoryGiB: 2 },
'c7a.metal-48xl': { vCpu: 192, memoryGiB: 384 },
'c7a.xlarge': { vCpu: 4, memoryGiB: 8 },
'c7g.12xlarge': { vCpu: 48, memoryGiB: 96 },
'c7g.16xlarge': { vCpu: 64, memoryGiB: 128 },
'c7g.2xlarge': { vCpu: 8, memoryGiB: 16 },
Expand Down Expand Up @@ -181,8 +193,6 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'f1.16xlarge': { vCpu: 64, memoryGiB: 976 },
'f1.2xlarge': { vCpu: 8, memoryGiB: 122 },
'f1.4xlarge': { vCpu: 16, memoryGiB: 244 },
'g2.2xlarge': { vCpu: 8, memoryGiB: 15 },
'g2.8xlarge': { vCpu: 32, memoryGiB: 60 },
'g3.16xlarge': { vCpu: 64, memoryGiB: 488 },
'g3.4xlarge': { vCpu: 16, memoryGiB: 122 },
'g3.8xlarge': { vCpu: 32, memoryGiB: 244 },
Expand Down Expand Up @@ -630,6 +640,7 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'r7a.8xlarge': { vCpu: 32, memoryGiB: 256 },
'r7a.large': { vCpu: 2, memoryGiB: 16 },
'r7a.medium': { vCpu: 1, memoryGiB: 8 },
'r7a.metal-48xl': { vCpu: 192, memoryGiB: 1536 },
'r7a.xlarge': { vCpu: 4, memoryGiB: 32 },
'r7g.12xlarge': { vCpu: 48, memoryGiB: 384 },
'r7g.16xlarge': { vCpu: 64, memoryGiB: 512 },
Expand Down
14 changes: 14 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const instanceFamilyCompute = [
'c6i',
'c6id',
'c6in',
'c7a',
'c7g',
'c7gd',
'c7gn',
Expand Down Expand Up @@ -507,6 +508,18 @@ export const allInstances = [
'c6in.24xlarge',
'c6in.32xlarge',
'c6in.metal',
'c7a.medium',
'c7a.large',
'c7a.xlarge',
'c7a.2xlarge',
'c7a.4xlarge',
'c7a.8xlarge',
'c7a.12xlarge',
'c7a.16xlarge',
'c7a.24xlarge',
'c7a.32xlarge',
'c7a.48xlarge',
'c7a.metal-48xl',
'c7g.medium',
'c7g.large',
'c7g.xlarge',
Expand Down Expand Up @@ -693,6 +706,7 @@ export const allInstances = [
'r7a.24xlarge',
'r7a.32xlarge',
'r7a.48xlarge',
'r7a.metal-48xl',
'r7g.medium',
'r7g.large',
'r7g.xlarge',
Expand Down
Loading

0 comments on commit 7092508

Please sign in to comment.