Run EC2 VMDK image in Oracle VirtualBox on EC2 Metal Instance
All the scripts in this article are
bashscripts
Create VMDK image
Clone the aws-ec2-ami-packer repository and follow the instructions in the README to create a Virtual Machine Disk (VMDK) from an EC2 Instance.
Then follow the steps bellow to run the VMDK in VirtualBox in an EC2 Metal instance.
Create working directory
Start an EC2 Metal Instance
Start an AWS c5.metal instance: