I have an EBS backed Amazon EC2 instance. I would like to change the root device on this instance. Can you please advise the best way to go about this?
I only find documentation on changing several attributes of block devices, but they don’t seem to include setting it as the root device.
Yep, it’s dead easy:
/dev/sda1or/dev/xvda(based on AMI used)This presupposes that your alternate EBS volume is bootable, of course – it has to contain the bootable OS image.