Say I use these two commands to create a file system "data.dd":
dd if=/dev/zero of=./data.dd bs=1M count=5
mkfs.ext2 ./data.dd
It seems like it should be straightforward but despite many hours of trying different parameters and options I couldn't find a direct way to import a disk as an EBS volume using either
ec2-import-volume
aws ec2 import-snapshot
Anyone know if this it can be done?