Skip to content

vmdk

Run EC2 VMDK image in Oracle VirtualBox on EC2 Metal Instance

All the scripts in this article are bash scripts

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

mkdir -p ~/tmp/vmdk-on-ec2
cd ~/tmp/vmdk-on-ec2

Start an EC2 Metal Instance

Start an AWS c5.metal instance: