By using AWS re:Post, you agree to the Terms of Use

PCIe device passthrough on bare-metal EC2 instances



I am trying to run some experiments which require passing one or more of the local NVMe SSDs on a bare-metal EC2 instance into a VM. I am running Linux as the host OS and would normally leverage kvm and vfio-pci to get this done. On my EC2 instance however I see no IOMMU groups or vfio kernel module. I have heard that PCIe passthrough is possible on EC2 bare-metal. Can I get some details on how to do that? I would prefer to use Ubuntu 22.04 as my bare-metal OS but if I need to use something else Linux based I can.



profile picture
asked 23 days ago24 views
1 Answer

As an update I have tried adding intel_iommu=on to my GRUB and rebooting. That causes my instance to hang! So I suspect some very nasty interaction between the AWS Nitro system and the Intel IOMMU is occuring?

profile picture
answered 23 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions