millions-market-17062
02/03/2021, 9:23 AMcool-fireman-90027
02/03/2021, 1:24 PMinstanceType: r5d.x or c5d.x
https://aws.amazon.com/ec2/instance-types/
If you are using an IDE such as visual studio code the intellisense would show you the different instances types available and you can lookup if that instance supports nvme.
instanceType: ""
Hit control and then spacebar when you are in the double quotes and you will see different instance sizes.millions-market-17062
02/03/2021, 3:45 PMconst managedNodeGroup_2 = eks.createManagedNodeGroup(`${name}-managed-ng-nvme`, {
capacityType: "SPOT",
cluster: cluster,
nodeGroupName: `${name}-managed-ng-nvme`,
nodeRoleArn: cluster.instanceRoles[0].arn,
subnetIds: vpc.privateSubnetIds,
scalingConfig: {
desiredSize: 1,
minSize: 1,
maxSize: 2,
},
diskSize: 50,
instanceType: ["r5d.large","r5d.xlarge"],
labels: {"preemptible": "true"},
tags: [{"org": "pulumi"},
{"nodeGroupName": `${name}-managed-ng-nvme`}
],
}, cluster);
t3a.x
not sure why 😮