Skip to content

Commit

Permalink
fix: update constants (#742)
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 Oct 31, 2023
1 parent 803f92a commit a327d0d
Show file tree
Hide file tree
Showing 3 changed files with 189 additions and 168 deletions.
8 changes: 8 additions & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'c7i.4xlarge': { vCpu: 16, memoryGiB: 32 },
'c7i.8xlarge': { vCpu: 32, memoryGiB: 64 },
'c7i.large': { vCpu: 2, memoryGiB: 4 },
'c7i.metal-24xl': { vCpu: 96, memoryGiB: 192 },
'c7i.metal-48xl': { vCpu: 192, memoryGiB: 384 },
'c7i.xlarge': { vCpu: 4, memoryGiB: 8 },
'd2.2xlarge': { vCpu: 8, memoryGiB: 61 },
'd2.4xlarge': { vCpu: 16, memoryGiB: 122 },
Expand Down Expand Up @@ -478,6 +480,8 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'm7i.4xlarge': { vCpu: 16, memoryGiB: 64 },
'm7i.8xlarge': { vCpu: 32, memoryGiB: 128 },
'm7i.large': { vCpu: 2, memoryGiB: 8 },
'm7i.metal-24xl': { vCpu: 96, memoryGiB: 384 },
'm7i.metal-48xl': { vCpu: 192, memoryGiB: 768 },
'm7i.xlarge': { vCpu: 4, memoryGiB: 16 },
'mac1.metal': { vCpu: 12, memoryGiB: 32 },
'mac2-m2.metal': { vCpu: 8, memoryGiB: 24 },
Expand Down Expand Up @@ -670,6 +674,8 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'r7i.4xlarge': { vCpu: 16, memoryGiB: 128 },
'r7i.8xlarge': { vCpu: 32, memoryGiB: 256 },
'r7i.large': { vCpu: 2, memoryGiB: 16 },
'r7i.metal-24xl': { vCpu: 96, memoryGiB: 768 },
'r7i.metal-48xl': { vCpu: 192, memoryGiB: 1536 },
'r7i.xlarge': { vCpu: 4, memoryGiB: 32 },
'r7iz.12xlarge': { vCpu: 48, memoryGiB: 384 },
'r7iz.16xlarge': { vCpu: 64, memoryGiB: 512 },
Expand All @@ -678,6 +684,8 @@ export const ec2Info: Record<_InstanceType | string, Ec2InstanceInfo> = {
'r7iz.4xlarge': { vCpu: 16, memoryGiB: 128 },
'r7iz.8xlarge': { vCpu: 32, memoryGiB: 256 },
'r7iz.large': { vCpu: 2, memoryGiB: 16 },
'r7iz.metal-16xl': { vCpu: 64, memoryGiB: 512 },
'r7iz.metal-32xl': { vCpu: 128, memoryGiB: 1024 },
'r7iz.xlarge': { vCpu: 4, memoryGiB: 32 },
't1.micro': { vCpu: 1, memoryGiB: 0.613 },
't2.2xlarge': { vCpu: 8, memoryGiB: 32 },
Expand Down
11 changes: 11 additions & 0 deletions src/constants/ec2-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ export const instanceSizes = [
'32xlarge',
'48xlarge',
'metal',
'metal-16xl',
'metal-24xl',
'metal-32xl',
'metal-48xl',
] as const;

Expand Down Expand Up @@ -384,6 +387,8 @@ export const allInstances = [
'm7i.16xlarge',
'm7i.24xlarge',
'm7i.48xlarge',
'm7i.metal-24xl',
'm7i.metal-48xl',
'm7i-flex.large',
'm7i-flex.xlarge',
'm7i-flex.2xlarge',
Expand Down Expand Up @@ -555,6 +560,8 @@ export const allInstances = [
'c7i.16xlarge',
'c7i.24xlarge',
'c7i.48xlarge',
'c7i.metal-24xl',
'c7i.metal-48xl',
'r3.large',
'r3.xlarge',
'r3.2xlarge',
Expand Down Expand Up @@ -734,6 +741,8 @@ export const allInstances = [
'r7i.16xlarge',
'r7i.24xlarge',
'r7i.48xlarge',
'r7i.metal-24xl',
'r7i.metal-48xl',
'r7iz.large',
'r7iz.xlarge',
'r7iz.2xlarge',
Expand All @@ -742,6 +751,8 @@ export const allInstances = [
'r7iz.12xlarge',
'r7iz.16xlarge',
'r7iz.32xlarge',
'r7iz.metal-16xl',
'r7iz.metal-32xl',
'x1.16xlarge',
'x1.32xlarge',
'x1e.xlarge',
Expand Down
Loading

0 comments on commit a327d0d

Please sign in to comment.