Skip to content

Commit 9d472a9

Browse files
authored
chore(ec2): add inf2 instance type (#25249)
https://aws.amazon.com/blogs/aws/amazon-ec2-inf2-instances-for-low-cost-high-performance-generative-ai-inference-are-now-generally-available/ Spiritual successor of #23160 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent c2082a7 commit 9d472a9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/aws-cdk-lib/aws-ec2/lib/instance-types.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,16 @@ export enum InstanceClass {
884884
*/
885885
INF1 = 'inf1',
886886

887+
/**
888+
* Inferentia Chips based instances for machine learning inference applications, 2nd generation
889+
*/
890+
INFERENCE2 = 'inference2',
891+
892+
/**
893+
* Inferentia Chips based instances for machine learning inference applications, 2nd generation
894+
*/
895+
INF2 = 'inf2',
896+
887897
/**
888898
* Macintosh instances built on Apple Mac mini computers, 1st generation with Intel procesors
889899
*/
@@ -1237,6 +1247,8 @@ export class InstanceType {
12371247
[InstanceClass.Z1D]: 'z1d',
12381248
[InstanceClass.INFERENCE1]: 'inf1',
12391249
[InstanceClass.INF1]: 'inf1',
1250+
[InstanceClass.INFERENCE2]: 'inf2',
1251+
[InstanceClass.INF2]: 'inf2',
12401252
[InstanceClass.MACINTOSH1_INTEL]: 'mac1',
12411253
[InstanceClass.MAC1]: 'mac1',
12421254
[InstanceClass.VIDEO_TRANSCODING1]: 'vt1',

0 commit comments

Comments
 (0)