Skip to main content
Knowledge Base

How do I attach Elastic Network Interfaces (ENI) to EKS Managed Workers?

Answer

A customer asked: > Is there a method here to add ENI to managed worker nodes, i.e. create an ENI and attach it to a worker node?

To attach Elastic Network Interfaces (ENI) to EKS Managed Workers you will have to use a [launch template](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_template) with [custom network configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_template#network_interface_id). See the [`eks-cluster-managed-workers`](https://github.com/gruntwork-io/terraform-aws-eks/blob/master/examples/eks-cluster-managed-workers/main.tf) example for an example of how to use launch templates with Managed Node Groups.