Skip to content

Commit

Permalink
fix: update constants (#583)
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 Nov 30, 2022
1 parent 84189da commit 6d93777
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 98 deletions.
1 change: 1 addition & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ export const ec2Info: Record<InstanceType | string, Ec2InstanceInfo> = {
'h1.4xlarge': { vCpu: 16, memoryGiB: 64 },
'h1.8xlarge': { vCpu: 32, memoryGiB: 128 },
'hpc6a.48xlarge': { vCpu: 96, memoryGiB: 384 },
'hpc6id.32xlarge': { vCpu: 64, memoryGiB: 1024 },
'i2.2xlarge': { vCpu: 8, memoryGiB: 61 },
'i2.4xlarge': { vCpu: 16, memoryGiB: 122 },
'i2.8xlarge': { vCpu: 32, memoryGiB: 244 },
Expand Down
50 changes: 50 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export const instanceFamilyGeneral = [
'm6gd',
'm6i',
'm6id',
'm6idn',
'm6in',
] as const;

export const instanceFamilyCompute = [
Expand All @@ -38,6 +40,7 @@ export const instanceFamilyCompute = [
'c6gn',
'c6i',
'c6id',
'c6in',
'c7g',
] as const;

Expand All @@ -56,6 +59,8 @@ export const instanceFamilyMemory = [
'r6gd',
'r6i',
'r6id',
'r6idn',
'r6in',
'x1',
'x1e',
'x2gd',
Expand Down Expand Up @@ -302,6 +307,24 @@ export const allInstances = [
'm6id.24xlarge',
'm6id.32xlarge',
'm6id.metal',
'm6idn.large',
'm6idn.xlarge',
'm6idn.2xlarge',
'm6idn.4xlarge',
'm6idn.8xlarge',
'm6idn.12xlarge',
'm6idn.16xlarge',
'm6idn.24xlarge',
'm6idn.32xlarge',
'm6in.large',
'm6in.xlarge',
'm6in.2xlarge',
'm6in.4xlarge',
'm6in.8xlarge',
'm6in.12xlarge',
'm6in.16xlarge',
'm6in.24xlarge',
'm6in.32xlarge',
'c1.medium',
'c1.xlarge',
'c3.large',
Expand Down Expand Up @@ -412,6 +435,15 @@ export const allInstances = [
'c6id.24xlarge',
'c6id.32xlarge',
'c6id.metal',
'c6in.large',
'c6in.xlarge',
'c6in.2xlarge',
'c6in.4xlarge',
'c6in.8xlarge',
'c6in.12xlarge',
'c6in.16xlarge',
'c6in.24xlarge',
'c6in.32xlarge',
'c7g.medium',
'c7g.large',
'c7g.xlarge',
Expand Down Expand Up @@ -541,6 +573,24 @@ export const allInstances = [
'r6id.24xlarge',
'r6id.32xlarge',
'r6id.metal',
'r6idn.large',
'r6idn.xlarge',
'r6idn.2xlarge',
'r6idn.4xlarge',
'r6idn.8xlarge',
'r6idn.12xlarge',
'r6idn.16xlarge',
'r6idn.24xlarge',
'r6idn.32xlarge',
'r6in.large',
'r6in.xlarge',
'r6in.2xlarge',
'r6in.4xlarge',
'r6in.8xlarge',
'r6in.12xlarge',
'r6in.16xlarge',
'r6in.24xlarge',
'r6in.32xlarge',
'x1.16xlarge',
'x1.32xlarge',
'x1e.xlarge',
Expand Down
Loading

0 comments on commit 6d93777

Please sign in to comment.