AWS Security ChangesHomeSearch

AWS AWSEC2 documentation change

Service: AWSEC2 · 2026-03-07 · Documentation low

File: AWSEC2/latest/UserGuide/efa-acc-inst-types.md

Summary

Updated network interface configuration guidelines for EFA/ENA usage. Changed primary interface requirement from EFA-with-ENA to ENA-only, added explicit EFA-only interface creation on device index 1 when supported, and modified example configurations to use device index 0 for EFA-only interfaces.

Security assessment

The changes clarify proper network interface configuration but don't address vulnerabilities. Modifications focus on interface type requirements (ENA for primary) and device index assignments, which are operational best practices rather than security fixes. No evidence of patching exploits or addressing CVEs.

Diff

diff --git a/AWSEC2/latest/UserGuide/efa-acc-inst-types.md b/AWSEC2/latest/UserGuide/efa-acc-inst-types.md
index 688b0fdb7..d76bc31de 100644
--- a//AWSEC2/latest/UserGuide/efa-acc-inst-types.md
+++ b//AWSEC2/latest/UserGuide/efa-acc-inst-types.md
@@ -9 +9 @@ Many instances types that support EFA also have multiple network cards. For more
-  * For the primary network interface (network card index `0`, device index `0`), create an EFA (EFA with ENA) interface. You can't use an EFA-only network interface as the primary network interface.
+  * For the primary network interface (network card index `0`, device index `0`), create an ENA interface. You can't use an EFA-only network interface as the primary network interface.
@@ -11 +11,3 @@ Many instances types that support EFA also have multiple network cards. For more
-  * For each additional network interface, use the next unused network card index, device index `1`, and either an EFA (EFA with ENA) or EFA-only network interface, depending on your usecase, such as ENA bandwidth requirements or IP address space. For example use cases, see EFA configuration for a P5 and P5e instances.
+  * If the network card index 0 supports EFA, create an EFA-only network interface for network card index `0`, device index `1`.
+
+  * For each additional network interface, use the next unused network card index, device index `0`, for EFA-only network interface, and/or device index `1` for ENA network interface depending on your usecase, such as ENA bandwidth requirements or IP address space. For example use cases, see EFA configuration for a P5 and P5e instances.
@@ -31 +33,3 @@ Instance launch
-  3. For the primary network interface (**Network interface 1**), select **Network card index = 0** , **Device index = 0** , and **Interface type = EFA with ENA**.
+  3. For the primary network interface (network card index `0`, device index `0`), create an ENA interface. You can't use an EFA-only network interface as the primary network interface.
+
+  4. If the network card index 0 supports EFA, create an EFA-only network interface for network card index `0`, device index `1`.
@@ -33 +37 @@ Instance launch
-  4. For each additional network interface required, choose **Add network interface**. For **Network card index** select the next unused index, and then select **Device index = 1** , and **Interface type = EFA with ENA** or **EFA-only**.
+  5. For each additional network interface, use the next unused network card index, device index `0`, for EFA-only network interface, and/or device index `1` for ENA network interface depending on your usecase, such as ENA bandwidth requirements or IP address space. For example use cases, see EFA configuration for a P5 and P5e instances.
@@ -40 +44 @@ Instance launch
-For `--network-interfaces`, specify the required number of network interfaces. For the primary network interface, specify `NetworkCardIndex=0`, `DeviceIndex=0`, and `InterfaceType=efa`. For any additional network interfaces, for `NetworkCardIndex` specify the next unused index, `DeviceIndex=1`, and `InterfaceType=efa` or `efa-only`.
+For `--network-interfaces`, specify the required number of network interfaces. For the primary network interface, specify `NetworkCardIndex=0`, `DeviceIndex=0`, and `InterfaceType=interface`. If the network card index 0 supports EFA, specify `NetworkCardIndex=0`, `DeviceIndex=1`, and `InterfaceType=efa-only`. For any additional network interfaces, for `NetworkCardIndex` specify the next unused index, `DeviceIndex=0` for `InterfaceType=efa-only`, and/or `DeviceIndex=1` for `InterfaceType=interface`.
@@ -50,32 +54,33 @@ The following example command snippet shows a request with 32 EFA devices and on
-     --network-interfaces "NetworkCardIndex=**0** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa** " \
-    "NetworkCardIndex=**1** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**2** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**3** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**4** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**5** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**6** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**7** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**8** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**9** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**10** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**11** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**12** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**13** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**14** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**15** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**16** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**17** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**18** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**19** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**20** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**21** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**22** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**23** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**24** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**25** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**26** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**27** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**28** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**29** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**30** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** " \
-    "NetworkCardIndex=**31** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa or efa-only** "
+     --network-interfaces "NetworkCardIndex=**0** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**interface** " \
+    "NetworkCardIndex=**0** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**1** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**2** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**3** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**4** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**5** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**6** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**7** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**8** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**9** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**10** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**11** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**12** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**13** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**14** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**15** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**16** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**17** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**18** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**19** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**20** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**21** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**22** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**23** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**24** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**25** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**26** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**27** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**28** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**29** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**30** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**31** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** "
@@ -91 +96,3 @@ Launch templates
-  2. To add the primary network interface (Network interface 1), choose **Add network interface** and then select **Network card index = 0** , **Device index = 0** , and **Interface type = EFA with ENA**.
+  2. For the primary network interface (network card index `0`, device index `0`), create an ENA interface. You can't use an EFA-only network interface as the primary network interface.
+
+  3. If the network card index 0 supports EFA, create an EFA-only network interface for network card index `0`, device index `1`.
@@ -93 +100 @@ Launch templates
-  3. To add additional network interfaces, choose **Add network interface**. For **Network card index** , select the next unused index, and then select **Device index = 1** , and **Interface type = EFA with ENA** or **EFA-only**.
+  4. For each additional network interface, use the next unused network card index, device index `0`, for EFA-only network interface, and/or device index `1` for ENA network interface depending on your usecase, such as ENA bandwidth requirements or IP address space. For example use cases, see EFA configuration for a P5 and P5e instances. 
@@ -100 +107 @@ Launch templates
-For `NetworkInterfaces`, specify the required number of network interfaces. For the primary network interface, specify `NetworkCardIndex=0`, `DeviceIndex=0`, and `InterfaceType=efa`. For any additional network interfaces, for `NetworkCardIndex` specify the next unused index, `DeviceIndex=1`, and `InterfaceType=efa` or `efa-only`.
+For `NetworkInterfaces`, specify the required number of network interfaces. For the primary network interface, specify `NetworkCardIndex=0`, `DeviceIndex=0`, and `InterfaceType=interface`. If the network card index 0 supports EFA, specify `NetworkCardIndex=0`, `DeviceIndex=1`, and `InterfaceType=efa-only`. For any additional network interfaces, for `NetworkCardIndex` specify the next unused index, `DeviceIndex=0` for `InterfaceType=efa-only`, and/or `DeviceIndex=1` for `InterfaceType=interface`.
@@ -109 +116 @@ The following snippet shows an example with 3 network interfaces out of the poss
-      "InterfaceType": "**efa** ",
+      "InterfaceType": "**interface** ",
@@ -117 +124 @@ The following snippet shows an example with 3 network interfaces out of the poss
-      "NetworkCardIndex": **1** ,
+      "NetworkCardIndex": **0** ,
@@ -119 +126,11 @@ The following snippet shows an example with 3 network interfaces out of the poss
-      "InterfaceType": "**efa or efa-only** ",
+      "InterfaceType": "**efa-only** ",
+      "AssociatePublicIpAddress":false,
+      "Groups":[
+        "security_group_id"
+      ],
+      "DeleteOnTermination":true
+    },
+    {
+      "NetworkCardIndex": **1** ,
+      "DeviceIndex": **0** ,
+      "InterfaceType": "**efa-only** ",
@@ -128,2 +145,2 @@ The following snippet shows an example with 3 network interfaces out of the poss
-      "DeviceIndex": **1** ,
-      "InterfaceType": "**efa or efa-only** ",
+      "DeviceIndex": **0** ,
+      "InterfaceType": "**efa-only** ",
@@ -138,2 +155,2 @@ The following snippet shows an example with 3 network interfaces out of the poss
-      "DeviceIndex": **1** ,
-      "InterfaceType": "**efa or efa-only** ",
+      "DeviceIndex": **0** ,
+      "InterfaceType": "**efa-only** ",
@@ -155 +172,3 @@ This configuration provides up to 3200 Gbps of EFA networking bandwidth and up t
-  * For the primary network interface (network card index 0, device index 0), use an EFA (EFA with ENA) network interface.
+  * For the primary network interface (network card index 0, device index 0), use an ENA interface.
+
+  * For network card index 0, device index 1, create an EFA-only network interface.
@@ -157 +176 @@ This configuration provides up to 3200 Gbps of EFA networking bandwidth and up t
-  * For the remaining network interfaces (network card indexes 1-31, device index 1), use EFA-only network interfaces.
+  * For the remaining network interfaces (network card indexes 1-31, device index 0), use EFA-only network interfaces.
@@ -166 +185 @@ This configuration provides up to 3200 Gbps of EFA networking bandwidth and up t
-  * For the primary network interface (network card index 0, device index 0), use an EFA (EFA with ENA) network interface.
+  * For the primary network interface (network card index 0, device index 0), use an ENA network interface.
@@ -170 +189 @@ This configuration provides up to 3200 Gbps of EFA networking bandwidth and up t
-    * Specify EFA-only network interfaces on network card indexes 1, 2, and 3, and use device index 1.
+    * Specify EFA-only network interfaces on network card index 0 device index 1, and for network card indexes 1, 2, and 3, use device index 0.
@@ -172 +191 @@ This configuration provides up to 3200 Gbps of EFA networking bandwidth and up t
-    * Specify one EFA (EFA with ENA) network interface and three EFA-only network interfaces **in each** of the following network card index subsets, and use device index 1 for all of them:
+    * Specify one ENA network interface and four EFA-only network interfaces **in each** of the following network card index subsets, and use device index 1 for ENA network interface and device index 0 for EFA-only network interfaces:
@@ -199,32 +218,40 @@ The following example illustrates this configuration:
-     --network-interfaces "NetworkCardIndex=**0** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa** " \
-    "NetworkCardIndex=**1** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**2** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**3** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**4** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa** " \
-    "NetworkCardIndex=**5** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**6** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**7** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**8** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa** " \
-    "NetworkCardIndex=**9** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**10** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**11** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**12** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa** " \
-    "NetworkCardIndex=**13** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**14** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**15** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**16** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa** " \
-    "NetworkCardIndex=**17** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**18** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**19** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**20** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa** " \
-    "NetworkCardIndex=**21** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**22** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**23** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**24** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa** " \
-    "NetworkCardIndex=**25** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**26** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**27** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**28** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa** " \
-    "NetworkCardIndex=**29** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**30** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
-    "NetworkCardIndex=**31** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** "
+     --network-interfaces "NetworkCardIndex=**0** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**interface** " \
+    "NetworkCardIndex=**0** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**1** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**2** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**3** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**4** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**interface** " \
+    "NetworkCardIndex=**4** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**5** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**6** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**7** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**8** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**interface** " \
+    "NetworkCardIndex=**8** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**9** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**10** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**11** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**12** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**interface** " \
+    "NetworkCardIndex=**12** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**13** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**14** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**15** ,DeviceIndex=**0** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**efa-only** " \
+    "NetworkCardIndex=**16** ,DeviceIndex=**1** ,Groups=security_group_id,SubnetId=subnet_id,InterfaceType=**interface** " \