Error :Instance does not have a volume attached at root (/dev/sda1)
The error occurs when either a boot volume is missing or mapped to wrong device name. In this case EC2 instance is expecting the boot device name /dev/sda1 to be connected to the EC2 instance and unable to find it
The step is valid for EC2 instances is backed by EBS volumes i.e EBS is used for boot volumes rather than Instance Store
Note: To Understand more about Instance backed store and EBS backed store
refer this article Amazon EC2 Root Device Volume
To attach a root volume follow these steps.
The error occurs when either a boot volume is missing or mapped to wrong device name. In this case EC2 instance is expecting the boot device name /dev/sda1 to be connected to the EC2 instance and unable to find it
The step is valid for EC2 instances is backed by EBS volumes i.e EBS is used for boot volumes rather than Instance Store
Note: To Understand more about Instance backed store and EBS backed store
refer this article Amazon EC2 Root Device Volume
To attach a root volume follow these steps.
- Once EBS volume is created , right click and select Attach Volume
- Select the EC2 instance in second textbox and enter the device name as "/dev/sda1"
- Click Attach and restart the EC2 instance