Attach EBS volume as root to EC2 instance Amazon


Amazon EBS Device Naming Conventiona

Attach the volume to the existing instance by following these steps:

  1. Stop Your Instance.
  2. Create a snapshot of the root volume.
  3. Create a new volume using the snapshot. [In case of ubuntu name it /dev/sda1]
  4. Detach Amazon EBS old root volume from already stopped instance, by right clicking on old EBS volume.
  5. Reattach the new Amazon EBS volumes to the instance.
  6. Start your Instance.

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-add-volume-to-instance.html

Advertisements

I am Senior Software Engineer. I love reading, writing, sharing,developing, hiking, movies, trips, mountains, brooks, hills etc.

Tagged with: , , ,
Posted in amazon, EBS (Elastic Block Storage)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

StackOverFlow
Categories
Archives
%d bloggers like this: