Issues running virtual box on on multiple instances

0

We were trying to setup Virtual Box on multiple instances of AWS but keep getting errors.

We have tried this on multiple instances such as C6I, M6I, M5, and currently C5AD.8XLarge but we keep getting the same errors. We expected bare metal to work but it didn’t.

Once we get Virtual Box installed, we run into this error while trying to install the Linux distros. If anyone can please help and/or point us in the right direction that would be much appreciated.

ERROR: The native API dll was not found (C:\Windows\system32\WinHvPlatform.dll) (VERR_NEM_NOT_AVAILABLE). AMD-V is not available (VERR_SVM_NO_SVM).

Result Code: E_FAIL (0X80004005) Component: ConsoleWrap Interface: IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}

asked a year ago409 views
2 Answers
0

Unless you have a bare metal instance I do not believe you are able to run nested virtualisation.

Your question is imposing that your are trying to run a virtual machine inside another virtual machine.

Ec2’s do not expose the CPU features for virtualisation because the ec2 is already virtual.

Virtual box requires hyper v and this error I believe is because it’s not available due to nested virtualisation.

Try one of these. m5.metal, m5d.metal, r5.metal, r5d.metal, and z1d.metal.

profile picture
EXPERT
answered a year ago
profile pictureAWS
EXPERT
reviewed a year ago
-1

Hi, did you try a different path: export your VirtualBox image as an .OVA file and then use EC2 VM import to load it onto EC2- See https://aws.amazon.com/ec2/vm-import/

Export as OVA: https://www.maketecheasier.com/import-export-ova-files-in-virtualbox/

The full import process is described here: https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html

profile pictureAWS
EXPERT
answered a year 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