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

support filtering inf. and vt1. instances #121

Open
matti opened this issue Mar 20, 2022 · 2 comments
Open

support filtering inf. and vt1. instances #121

matti opened this issue Mar 20, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@matti
Copy link

matti commented Mar 20, 2022

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

@matti
Copy link
Author

matti commented Mar 20, 2022

VT1 instances support FFmpeg frameworks enabling developer...

how about --fmpeg=false :___D

@bwagner5
Copy link
Contributor

bwagner5 commented Apr 2, 2022

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
    }

@bwagner5 bwagner5 added the enhancement New feature or request label Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants