Skip to content

Commit

Permalink
fix: update constants (#481)
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 24, 2022
1 parent 18736a7 commit 1f2cc91
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 102 deletions.
8 changes: 8 additions & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@ 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 },
'c7g.12xlarge': { vCpu: 48, memoryGiB: 96 },
'c7g.16xlarge': { vCpu: 64, memoryGiB: 128 },
'c7g.2xlarge': { vCpu: 8, memoryGiB: 16 },
'c7g.4xlarge': { vCpu: 16, memoryGiB: 32 },
'c7g.8xlarge': { vCpu: 32, memoryGiB: 64 },
'c7g.large': { vCpu: 2, memoryGiB: 4 },
'c7g.medium': { vCpu: 1, memoryGiB: 2 },
'c7g.xlarge': { vCpu: 4, memoryGiB: 8 },
'cc2.8xlarge': { vCpu: 32, memoryGiB: 60.5 },
'd2.2xlarge': { vCpu: 8, memoryGiB: 61 },
'd2.4xlarge': { vCpu: 16, memoryGiB: 122 },
Expand Down
9 changes: 9 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const instanceFamilyCompute = [
'c6gd',
'c6gn',
'c6i',
'c7g',
] as const;

export const instanceFamilyMemory = [
Expand Down Expand Up @@ -386,6 +387,14 @@ export const allInstances = [
'c6i.24xlarge',
'c6i.32xlarge',
'c6i.metal',
'c7g.medium',
'c7g.large',
'c7g.xlarge',
'c7g.2xlarge',
'c7g.4xlarge',
'c7g.8xlarge',
'c7g.12xlarge',
'c7g.16xlarge',
'r3.large',
'r3.xlarge',
'r3.2xlarge',
Expand Down
Loading

0 comments on commit 1f2cc91

Please sign in to comment.