Does Graviton 3 support nested virtualization?

0

Hi,

I tried to run a KVM based VM on a Graviton EC2 instance. However I couldn't see /dev/kvm on a c7g.xlarge instance. I confirmed the VM works on a a1.metal which is a bit costly I feel. So I'd like to know Graviton 3 (or future Graviton) has support of nested virtualization added in Armv8.3-A (https://developer.arm.com/documentation/102142/0100/Nested-virtualization).

Regards, Soju

soju
已提問 10 個月前檢視次數 500 次
4 個答案
0

Only bare metal[1,2] EC2 instances provide direct access to cpu of the underlying server and its' features like Intel VT-x required to run your own hypervisor. The other types of instances does not expose the hardware requirements to install and run another virtualization layer on top of an EC2 instance which itself is a virtual machine.

profile picture
專家
已回答 10 個月前
0

Thank you for answering this.

If my understanding is correct, ARMv8.3 or above has a support of nested virtualization in architecture level while Intel requires optional CPU feature, VT-x. It sounds to me that the answer of a post below implies nested virtualization would be available once Graviton has ARMv8.3 or above architecture. These are why I had a hope of running VM on a non-metal Graviton instance. Nested virtualization on Graviton, https://repost.aws/questions/QUEoabj2ZERq2P5QFL6d6-RQ/nested-virtualization-on-graviton

soju
已回答 9 個月前
0

The answer is no, EC2 VMs do not support nested virtualization for any architecture. To run your own hypervisor on EC2, you have to use *.metal instances. From there you could do nested virtualization, but at that point there's no need as you have the entire machine to work with.

GeoffB
已回答 8 個月前
0

Thank you for clarifying the conclusion. We have a concrete reason to need nested VMs running on EC2. Hopefully AWS will continue to provide a1.metal for a long time as it's relatively reasonable price among all metal instances.

soju
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南