How do I mount an EBS root volume to a windows instance in Amazon EC2

So basically, I created a large windows server for development, and then I created a micro windows server for production. I set up everything how I wanted it on my development server, and then i unmounted the drives, and mounted them to my micro server.

Now I'm trying to get back into my large windows development server, and I'm getting the error.

Invalid value 'i-4896ce28' for instanceId. Instance does not have a volume attached at root (/dev/sda1)

this error pops up when I try to start my large windows server. I've remounted the drives to the large development server, and I still get this message.

I'm not really sure what to do, I've read other posts and everyone is giving these almost like command line arguments and talking about other tools, and I really have no clue what any of that means, or where I even have an option to enter any commands without be logged into a specific instance.


Solution 1:

Make sure the EBS-drive has the name /dev/sda1 in the EC2-Console.

Solution 2:

You can try /dev/xvda. When you attach a volume to the instance -> select the particular instance then enter /dev/xvda for the mount point.

Solution 3:

Make sure all of your volumes are detached before re-attaching. In my case I had a volume attached to an earlier snapshot. Once i detached that I was allowed to attach my new volume.