Overriding AWS AMI volume device names?

Hi there.

I have an AMI that was taken from an instance with two EBS volumes, attached to devices /dev/sda1 and xvdb.

I want to override the volume device names, and put volumes on (say) xvda and xvdf. (and xvdg, xvdh…). I would still like to use the AMI’s root volume (name and snapshot), but all the rest I want to replace with empty volumes.

I vaguely remember reading somewhere that this is possible, but I’m having trouble figuring it out. I keep getting a new instance with /dev/sda1 and xvdb as well as the new volumes I am creating and attaching xvdf etc.

Using ec2_vol.

Regards, K.