User`s guide
1 Cloud Computing
1-28
3
Create a volume from your snapshot:
a
Click Actions > Create Volume.
b
Set the Availability Zone to match that of your instance. You can accept the
defaults for the other settings.
c
A confirmation indicates that the volume was successfully created. Note the
volume ID, for example, vol-8a9d6642).
Wait until the state of your volume is Available.
4
In the left-side navigation pane of the EC2 Dashboard, select Elastic Block Store >
Volumes.
5
Select the volume you created in step 3.
6
Click Actions > Attach Volume.
7
In the Attach Volume dialog box:
• In the Instance field, enter the ID of the instance to attach the volume to.
• In the Device field, enter something in the range of /dev/sd[f-p]. For Linux/
UNIX instances, recommended device names are /dev/sdf through /dev/sdp.
• Click Attach to attach the volume to the instance.
For more information on AWS Block Device Mapping, see https://docs.aws.amazon.com/
AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
For more information on EBS volumes, see
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html.
Mount Volume for Access
Make the volume available for use from the instance.
1
Connect to your instance using SSH.
2
Use the lsblk command to view your available disk devices and their mount points
to help you determine the correct device name to use. (Most likely xvdf.) Note: Do
not create a new file system.
3
Create a mount point directory for the volume. The mount point is where the volume
is located in the file system tree and where you read and write files to after you
mount the volume. Substitute a location for mount_point, such as /data.
~$ sudo mkdir mount_point