How to make OpenWrt running on AWS EC2?

I have tried two methods to upload openwrt x86_64 image to AWS AMI and run on EC2, but both failed.

The image I built runs ok on VirutalBox and vmware.

The first method - vm_import/export.
I tried vm_import/export tools of AWS. It failed ans said "Not found initrd in Grub" at last.

The second method - ec2-bundle-image/ec2-upgrade-image
I tried this way, and it can upload image files and metadata files to S3, and I could make a new AMI, and launch EC2 too. But EC2 instance was not be booted correctly it stop at the grub>, which I got from instance system log.

Could any one help me? Thanks.

1 Like

See here: