Real life problems solved

Advert

Mount EBS Volume on EC2

To mount a Elastic Block Store to your EC2 Instance open up your AWS Console at https://console.aws.amazon.com

Click on “Volumes” and right click on an available Volume. Then attach this to the instance you want to use. It will ask you for a device name, you are prob using Linux so choose one you aren’t using from /dev/sdf through to /dev/sdp (we are going to use /dev/sdf for the rest of this article)

It will now attach itself to the Instance, however we can’t access it yet.

Boot up your favourite SSH client, Putty in our case, and log in as root. When you get to bash type the following, replacing /mnt/name with where you want to access your drive:

mount /dev/sdf /mnt/name

  • http://www.facebook.com/shahidmau Mohammad Shahid

    thanks for the article.. i have similar type of problem.. please give me solution

    1) I had an instance and sudo commands were not working do to some mistakes on this instance so i had to create a new instance.
    2) I want to use old EBS volume with new instance and to stop old instance.
    3) I created a new instance (New EBS Volume is created automatically with new instance)
    4) I created snapshot of old volume and attached with  new instance.
    5) So two EBS volumes are attached with new instance.
    6) When i login using SSH into new instance, i don’t see old data anywhere.
    7) I want every old data on new instance.

    my question is
    how i can use old volume with new instance?

    please help me.. i am trying it from last 10 hours continuously :(..

Adsense