Skip to content

Commit

Permalink
fix: update constants (#482)
Browse files Browse the repository at this point in the history
Co-authored-by: hoonoh <hoonoh@users.noreply.github.com>
  • Loading branch information
hoonoh and hoonoh committed May 27, 2022
1 parent f3afa80 commit 557ada7
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 70 deletions.
20 changes: 20 additions & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,16 @@ export const ec2Info: Record<InstanceType | string, Ec2InstanceInfo> = {
'c6i.large': { vCpu: 2, memoryGiB: 4 },
'c6i.metal': { vCpu: 128, memoryGiB: 256 },
'c6i.xlarge': { vCpu: 4, memoryGiB: 8 },
'c6id.12xlarge': { vCpu: 48, memoryGiB: 96 },
'c6id.16xlarge': { vCpu: 64, memoryGiB: 128 },
'c6id.24xlarge': { vCpu: 96, memoryGiB: 192 },
'c6id.2xlarge': { vCpu: 8, memoryGiB: 16 },
'c6id.32xlarge': { vCpu: 128, memoryGiB: 256 },
'c6id.4xlarge': { vCpu: 16, memoryGiB: 32 },
'c6id.8xlarge': { vCpu: 32, memoryGiB: 64 },
'c6id.large': { vCpu: 2, memoryGiB: 4 },
'c6id.metal': { vCpu: 128, memoryGiB: 256 },
'c6id.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 @@ -331,6 +341,16 @@ export const ec2Info: Record<InstanceType | string, Ec2InstanceInfo> = {
'm6i.large': { vCpu: 2, memoryGiB: 8 },
'm6i.metal': { vCpu: 128, memoryGiB: 512 },
'm6i.xlarge': { vCpu: 4, memoryGiB: 16 },
'm6id.12xlarge': { vCpu: 48, memoryGiB: 192 },
'm6id.16xlarge': { vCpu: 64, memoryGiB: 256 },
'm6id.24xlarge': { vCpu: 96, memoryGiB: 384 },
'm6id.2xlarge': { vCpu: 8, memoryGiB: 32 },
'm6id.32xlarge': { vCpu: 128, memoryGiB: 512 },
'm6id.4xlarge': { vCpu: 16, memoryGiB: 64 },
'm6id.8xlarge': { vCpu: 32, memoryGiB: 128 },
'm6id.large': { vCpu: 2, memoryGiB: 8 },
'm6id.metal': { vCpu: 128, memoryGiB: 512 },
'm6id.xlarge': { vCpu: 4, memoryGiB: 16 },
'mac1.metal': { vCpu: 12, memoryGiB: 32 },
'p2.16xlarge': { vCpu: 64, memoryGiB: 732 },
'p2.8xlarge': { vCpu: 32, memoryGiB: 488 },
Expand Down
22 changes: 22 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const instanceFamilyGeneral = [
'm6g',
'm6gd',
'm6i',
'm6id',
] as const;

export const instanceFamilyCompute = [
Expand All @@ -36,6 +37,7 @@ export const instanceFamilyCompute = [
'c6gd',
'c6gn',
'c6i',
'c6id',
'c7g',
] as const;

Expand Down Expand Up @@ -287,6 +289,16 @@ export const allInstances = [
'm6i.24xlarge',
'm6i.32xlarge',
'm6i.metal',
'm6id.large',
'm6id.xlarge',
'm6id.2xlarge',
'm6id.4xlarge',
'm6id.8xlarge',
'm6id.12xlarge',
'm6id.16xlarge',
'm6id.24xlarge',
'm6id.32xlarge',
'm6id.metal',
'c1.medium',
'c1.xlarge',
'c3.large',
Expand Down Expand Up @@ -387,6 +399,16 @@ export const allInstances = [
'c6i.24xlarge',
'c6i.32xlarge',
'c6i.metal',
'c6id.large',
'c6id.xlarge',
'c6id.2xlarge',
'c6id.4xlarge',
'c6id.8xlarge',
'c6id.12xlarge',
'c6id.16xlarge',
'c6id.24xlarge',
'c6id.32xlarge',
'c6id.metal',
'c7g.medium',
'c7g.large',
'c7g.xlarge',
Expand Down
Loading

0 comments on commit 557ada7

Please sign in to comment.