Enhanced Networking on AWS EC2

Key Points

Enhanced Networking Overview

Types of Enhanced Networking

  1. Elastic Network Adapter (ENA)
  2. Intel Virtual Function (VF)

Elastic Fabric Adapter (EFA)

The main differences between Elastic Network Adapter (ENA) and Elastic Fabric Adapter (EFA) in EC2 are:

Feature ENA EFA
Traditional IP Networking Provides traditional IP networking features for VPC networking Provides all the same traditional IP networking features as ENA, plus additional capabilities
OS-Bypass Support Not supported Supports OS-bypass, allowing applications to communicate directly with network interface hardware for lower latency (beneficial for HPC and machine learning workloads)
API and Applications Works transparently over TCP/UDP without application changes Uses the Libfabric API for applications to leverage OS-bypass capabilities; supported applications include MPI and NCCL
Communication Scope Intra-AZ communication (within the same subnet) Limited to instances within the same subnet
Workload Optimization Designed for traditional networking applications using TCP/UDP Optimized for tightly coupled parallel workloads
Instance Types and Programming Models Available on various instance types Specific instance types and programming models based on intended use

Exam Tips