Elastic Fabric Adapter (EFA)

Home » AWS Cheat Sheets » AWS Compute Services » Compute Related Notes » Elastic Fabric Adapter (EFA)

Elastic Fabric Adapter (EFA)

Last updated on June 23, 2023

Elastic Fabric Adapter (EFA) Cheat Sheet

  • An Elastic Fabric Adapter (EFA) is a network device that you can attach to your Amazon EC2 instance to accelerate High Performance Computing (HPC) and machine learning applications.
  • An EFA is an Elastic Network Adapter (ENA) with an additional OS-bypass functionality. 
  • How It Works
  • Tutorials dojo strip

Elastic Fabric Adapter

  • EFA integrates with 
    • Libfabric 1.9.0 and it supports Open MPI 4.0.2 and Intel MPI 2019 Update 6 for HPC applications, and 
    • Nvidia Collective Communications Library (NCCL) for machine learning applications.

Elastic Fabric Adapter

  • With an EFA, HPC applications use Intel Message Passing Interface (MPI) or Nvidia Collective Communications Library (NCCL) to interface with the Libfabric API. The Libfabric API bypasses the operating system kernel and communicates directly with the EFA device to place packets on the network.
  • Supported operating systems
    • Amazon Linux 2
    • RHEL 7 and RHEL 8
    • CentOS 7
    • Rocky Linux 8 and 9
    • OpenSUSE Leap 15.4 and later
    • SUSE Linux Enterprise 15 SP2 and later
    • Ubuntu 18.04, 20.04, and 22.04
  • Examples of HPC Applications
    • computational fluid dynamics (CFD)
    • crash simulations
    • weather simulations

Elastic Fabric Adapter Limitations

    • You can attach only one EFA per instance for instances that don’t support multiple network cards.
    • You can attach one EFA per network card for instances that support multiple network cards (e.g., c6in.32xlarge, dl1.24xlarge, hpc6id.32xlarge)
    • EFA OS-bypass traffic is limited to a single subnet. EFA traffic cannot be sent from one subnet to another. Normal IP traffic from the EFA can be sent from one subnet to another.
    • EFA is not supported on AWS Outposts.
    • EFA OS-bypass traffic is not routable. Normal IP traffic from the EFA remains routable.
    • The EFA must be a member of a security group that allows all inbound and outbound traffic to and from the security group itself.

Elastic Fabric Adapter (EFA) Pricing

EFA is available as an optional EC2 networking feature that you can enable on any supported EC2 instance at no additional cost.

 

Elastic Fabric Adapter Cheat Sheet References:

https://aws.amazon.com/hpc/efa/
https://aws.amazon.com/hpc/faqs/
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html

Tutorials Dojo portal

Be Inspired and Mentored with Cloud Career Journeys!

Tutorials Dojo portal

Enroll Now – Our Azure Certification Exam Reviewers

azure reviewers tutorials dojo

Enroll Now – Our Google Cloud Certification Exam Reviewers

Tutorials Dojo Exam Study Guide eBooks

tutorials dojo study guide eBook

FREE AWS Exam Readiness Digital Courses

Subscribe to our YouTube Channel

Tutorials Dojo YouTube Channel

FREE Intro to Cloud Computing for Beginners

FREE AWS, Azure, GCP Practice Test Samplers

Recent Posts

Written by: Jon Bonso

Jon Bonso is the co-founder of Tutorials Dojo, an EdTech startup and an AWS Digital Training Partner that provides high-quality educational materials in the cloud computing space. He graduated from Mapúa Institute of Technology in 2007 with a bachelor's degree in Information Technology. Jon holds 10 AWS Certifications and is also an active AWS Community Builder since 2020.

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, YouTube, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!

View Our AWS, Azure, and GCP Exam Reviewers Check out our FREE courses

Our Community

~98%
passing rate
Around 95-98% of our students pass the AWS Certification exams after training with our courses.
200k+
students
Over 200k enrollees choose Tutorials Dojo in preparing for their AWS Certification exams.
~4.8
ratings
Our courses are highly rated by our enrollees from all over the world.

What our students say about us?