Skip to content

Using a multi‐NIC instance as single NIC

Ryan Anderson edited this page Feb 10, 2024 · 1 revision

In some cases, a multi-NIC instance can underperform with multiple NICs attached. For this situation it is advantageous to configure the node to use just one NIC. In order to do this, a user can specify the Instance data in the config file. This data can be obtained from the describe-instance-types aws cli command https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instance-types.html.

DevSettings:
  InstanceTypesData: '{"c6in.32xlarge": {
            "InstanceType": "c6in.32xlarge",
            ...
            "NetworkInfo": {
                "NetworkPerformance": "200 Gigabit",
                "MaximumNetworkInterfaces": 14,
                **"MaximumNetworkCards": 1,**
                "DefaultNetworkCardIndex": 0,
                ...
            },
            ...

By changing the MaximumNetworkCards parameter above and providing this config in the DevSettings pcluster will only use one network card

Clone this wiki locally