amazon-ec2-instance-selector
amazon-ec2-instance-selector copied to clipboard
support filtering inf. and vt1. instances
trafficstars
currently I need to --deny-list "^vt1\." --deny-list "^inf1\." to remove those instance types, couldn't find anything else on the options to not return such instances
VT1 instances support FFmpeg frameworks enabling developer...
how about --fmpeg=false :___D
For the inf1 family, instance-selector could add support for accelerators since that is returned in DescribeInstanceTypes:
$ ec2-instance-selector --allow-list inf1 --max-results=1 --verbose
...
"InferenceAcceleratorInfo": {
"Accelerators": [
{
"Count": 16,
"Manufacturer": "AWS",
"Name": "Inferentia"
}
]
},
I don't see anything from DescribeInstanceTypes to signify FFmpeg support, so I'm not sure what could be sustainably added to remove these:
$ ec2-instance-selector --allow-list vt1 --max-results=1 --verbose
...
{
"AutoRecoverySupported": true,
"BareMetal": false,
"BurstablePerformanceSupported": false,
"CurrentGeneration": true,
"DedicatedHostsSupported": false,
"EbsInfo": {
"EbsOptimizedInfo": {
"BaselineBandwidthInMbps": 19000,
"BaselineIops": 80000,
"BaselineThroughputInMBps": 2375,
"MaximumBandwidthInMbps": 19000,
"MaximumIops": 80000,
"MaximumThroughputInMBps": 2375
},
"EbsOptimizedSupport": "default",
"EncryptionSupport": "supported",
"NvmeSupport": "required"
},
"FpgaInfo": null,
"FreeTierEligible": false,
"GpuInfo": null,
"HibernationSupported": false,
"Hypervisor": "nitro",
"InferenceAcceleratorInfo": null,
"InstanceStorageInfo": null,
"InstanceStorageSupported": false,
"InstanceType": "vt1.24xlarge",
"MemoryInfo": {
"SizeInMiB": 196608
},
"NetworkInfo": {
"DefaultNetworkCardIndex": 0,
"EfaInfo": {
"MaximumEfaInterfaces": 1
},
"EfaSupported": true,
"EnaSupport": "required",
"EncryptionInTransitSupported": true,
"Ipv4AddressesPerInterface": 50,
"Ipv6AddressesPerInterface": 50,
"Ipv6Supported": true,
"MaximumNetworkCards": 1,
"MaximumNetworkInterfaces": 15,
"NetworkCards": [
{
"MaximumNetworkInterfaces": 15,
"NetworkCardIndex": 0,
"NetworkPerformance": "25 Gigabit"
}
],
"NetworkPerformance": "25 Gigabit"
},
"PlacementGroupInfo": {
"SupportedStrategies": [
"partition",
"spread"
]
},
"ProcessorInfo": {
"SupportedArchitectures": [
"x86_64"
],
"SustainedClockSpeedInGhz": 2.5
},
"SupportedBootModes": [
"legacy-bios"
],
"SupportedRootDeviceTypes": [
"ebs"
],
"SupportedUsageClasses": [
"on-demand",
"spot"
],
"SupportedVirtualizationTypes": [
"hvm"
],
"VCpuInfo": {
"DefaultCores": 48,
"DefaultThreadsPerCore": 2,
"DefaultVCpus": 96,
"ValidCores": [
6,
12,
48
],
"ValidThreadsPerCore": [
1,
2
]
},
"OndemandPricePerHour": 5.2,
"SpotPrice": 1.5599999999999998
}