Elastic Fabric Adapter
Compute · Advanced, most people never need it
A special network card for EC2 that lets many servers talk to each other extremely fast.
Swapping a queue at the post office for a hatch between two adjoining rooms. The message goes straight across, no counter in between.
What it actually does
EFA is a network interface option on certain EC2 instance types. It lets applications bypass the operating system's networking and talk directly between machines, which matters for MPI and for spreading model training across GPUs. Your software has to be written for it, a normal web app gains nothing. Instances using EFA must sit in the same subnet and ideally the same placement group.
Reach for it when
- MPI simulations across many nodes
- Distributed GPU training with NCCL
- Any job where nodes exchange data constantly
Do not reach for it when
- Ordinary application traffic, plain networking is fine
- Independent jobs that never talk, it adds nothing
- Instance types that do not support it, check first
One small example
A 64-node fluid dynamics run finishes in a third of the time once EFA replaces standard networking.
How you pay
No charge for EFA itself. The cost is being forced onto larger, pricier instance types that support it, and keeping the cluster together in one placement group.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.