I have an EBS AMI which I want to publish in AWS Market Place. The AMI was created with data in /mnt. The snapshop includes both /dev/sda1 and /dev/sdb devices : Block Devices: /dev/sda1=snap-xxxxxx:8:true:standard, /dev/sdb=ephemeral0
My problem is that when I create an instance-store root device instance (with ephemeral device /dev/sdb) the /mnt folder is empty.
I know this is due to the fact that ephemeral disk are not copied for instance-store root device. So, what I would like to know is how can I create an AMI, that :
- can generate all type of instances (from micro to X Large)
- with principal storage device mounted as /mnt
- no data loss in /mnt directory during launch of an instance
Thanks for replying,