Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update constants #666

Merged
merged 1 commit into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/constants/ec2-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ export const ec2Info: Record<InstanceType | string, Ec2InstanceInfo> = {
'c7g.medium': { vCpu: 1, memoryGiB: 2 },
'c7g.metal': { vCpu: 64, memoryGiB: 128 },
'c7g.xlarge': { vCpu: 4, memoryGiB: 8 },
'c7gn.12xlarge': { vCpu: 48, memoryGiB: 96 },
'c7gn.16xlarge': { vCpu: 64, memoryGiB: 128 },
'c7gn.2xlarge': { vCpu: 8, memoryGiB: 16 },
'c7gn.4xlarge': { vCpu: 16, memoryGiB: 32 },
'c7gn.8xlarge': { vCpu: 32, memoryGiB: 64 },
'c7gn.large': { vCpu: 2, memoryGiB: 4 },
'c7gn.medium': { vCpu: 1, memoryGiB: 2 },
'c7gn.xlarge': { vCpu: 4, memoryGiB: 8 },
'd2.2xlarge': { vCpu: 8, memoryGiB: 61 },
'd2.4xlarge': { vCpu: 16, memoryGiB: 122 },
'd2.8xlarge': { vCpu: 36, memoryGiB: 244 },
Expand Down Expand Up @@ -194,6 +202,9 @@ export const ec2Info: Record<InstanceType | string, Ec2InstanceInfo> = {
'h1.8xlarge': { vCpu: 32, memoryGiB: 128 },
'hpc6a.48xlarge': { vCpu: 96, memoryGiB: 384 },
'hpc6id.32xlarge': { vCpu: 64, memoryGiB: 1024 },
'hpc7g.16xlarge': { vCpu: 64, memoryGiB: 128 },
'hpc7g.4xlarge': { vCpu: 16, memoryGiB: 128 },
'hpc7g.8xlarge': { vCpu: 32, memoryGiB: 128 },
'i2.2xlarge': { vCpu: 8, memoryGiB: 61 },
'i2.4xlarge': { vCpu: 16, memoryGiB: 122 },
'i2.8xlarge': { vCpu: 32, memoryGiB: 244 },
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 @@ -43,6 +43,7 @@ export const instanceFamilyCompute = [
'c6id',
'c6in',
'c7g',
'c7gn',
] as const;

export const instanceFamilyMemory = [
Expand Down Expand Up @@ -470,6 +471,14 @@ export const allInstances = [
'c7g.12xlarge',
'c7g.16xlarge',
'c7g.metal',
'c7gn.medium',
'c7gn.large',
'c7gn.xlarge',
'c7gn.2xlarge',
'c7gn.4xlarge',
'c7gn.8xlarge',
'c7gn.12xlarge',
'c7gn.16xlarge',
'r3.large',
'r3.xlarge',
'r3.2xlarge',
Expand Down
Loading